Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » TreeGrid Control - Update 6
Re: TreeGrid Control - Update 6 [message #45850 is a reply to message #45847] |
Wed, 13 January 2016 13:23   |
slashupp
Messages: 231 Registered: July 2009
|
Experienced Member |
|
|
hi koldo
I spotted one error: Cell::operator=(..) - return-type should be void not Cell&
Did you do a global replace of size_t with int? Why? I'm a bit baffled by this. I know that I sometimes rely on size_t being always >= 0 ... can't remember if I do in this code, more likely than not.
<s>I do use STL quite a lot - mainly because I know it well enough and also because I write modules that I can re-use in non-Upp apps/environments. For the treegrid-package I removed those modules, but you'll find some of them in the sfm-package as an example. As for Upp::String, Upp::Vector, Upp::others.. I'm fine with using them in Upp-UI-environment, but elsewhere?-the jury is still out on that. (on this topic: I normally delete the line "using namespace Upp;" and use Upp::.. - it is the better/conventional practice and it gives back those nice names Upp has used )</s>
edit:
needed to write a custom editor & had to use unicode extensively, and then I found that the String and LineEdit classes already
does everything I need - having had a look at what is required to implement unicode compliance from scratch I can now
truly appreciate the effort that went into creating these classes - so I guess the jury came back all positive for the Upp::*classes
(also am realizing how mush effort & time I wasted on reinventing stuff)
Will soonish republish the refactored ctrl here
[Updated on: Wed, 01 November 2017 12:07] Report message to a moderator
|
|
|
 |
|
TreeGrid Control - Update 6
By: slashupp on Thu, 26 November 2015 12:53
|
 |
|
Re: Tree-Grid-Widget
|
 |
|
Re: Tree-Grid-Widget
By: koldo on Thu, 26 November 2015 14:13
|
 |
|
Re: Tree-Grid-Widget
By: slashupp on Thu, 26 November 2015 14:49
|
 |
|
Re: Tree-Grid-Widget
|
 |
|
Re: Tree-Grid-Widget
By: slashupp on Sat, 12 December 2015 15:09
|
 |
|
Re: Tree-Grid-Widget - Update 3
By: slashupp on Mon, 21 December 2015 09:03
|
 |
|
Re: Tree-Grid-Widget - Update 4
By: slashupp on Tue, 22 December 2015 14:46
|
 |
|
Re: TreeGrid Control - Update 6
By: slashupp on Tue, 29 December 2015 08:16
|
 |
|
Re: TreeGrid Control - Update 6
By: slashupp on Thu, 31 December 2015 15:20
|
 |
|
Re: TreeGrid Control - Update 6
By: koldo on Fri, 01 January 2016 22:56
|
 |
|
Re: TreeGrid Control - Update 6
By: slashupp on Sat, 02 January 2016 11:30
|
 |
|
Re: TreeGrid Control - Update 6
By: Novo on Sat, 02 January 2016 16:58
|
 |
|
Re: TreeGrid Control - Update 6
By: koldo on Sun, 03 January 2016 10:48
|
 |
|
Re: TreeGrid Control - Update 6
By: slashupp on Thu, 07 January 2016 07:14
|
 |
|
Re: TreeGrid Control - Update 6
By: koldo on Thu, 07 January 2016 19:04
|
 |
|
Re: TreeGrid Control - Update 6
By: slashupp on Mon, 11 January 2016 10:10
|
 |
|
Re: TreeGrid Control - Update 6
By: koldo on Mon, 11 January 2016 15:08
|
 |
|
Re: TreeGrid Control - Update 6
By: slashupp on Tue, 12 January 2016 07:58
|
 |
|
Re: TreeGrid Control - Update 6
By: koldo on Tue, 12 January 2016 08:41
|
 |
|
Re: TreeGrid Control - Update 6
By: omari on Tue, 12 January 2016 10:48
|
 |
|
Re: TreeGrid Control - Update 6
By: Novo on Fri, 08 January 2016 04:28
|
 |
|
Re: TreeGrid Control - Update 6
By: slashupp on Sun, 10 January 2016 07:03
|
 |
|
Re: TreeGrid Control - Update 6
By: slashupp on Fri, 08 January 2016 09:07
|
 |
|
Re: TreeGrid Control - Update 6
By: slashupp on Sun, 10 January 2016 07:19
|
 |
|
Re: TreeGrid Control - Update 6
By: slashupp on Tue, 12 January 2016 16:48
|
 |
|
Re: TreeGrid Control - Update 6
By: koldo on Wed, 13 January 2016 08:52
|
 |
|
Re: TreeGrid Control - Update 6
By: slashupp on Wed, 13 January 2016 13:23
|
 |
|
Re: TreeGrid Control - Update 6
By: koldo on Thu, 14 January 2016 08:30
|
 |
|
Re: TreeGrid Control - Update 6
By: slashupp on Tue, 16 August 2016 09:30
|
Goto Forum:
Current Time: Tue Apr 29 00:37:23 CEST 2025
Total time taken to generate the page: 0.01038 seconds
|