[Qt-interest] Hide the first column of QTableView about line number

Israel Brewster israel at frontierflying.com
Fri Jul 17 18:22:09 CEST 2009


On Jul 16, 2009, at 4:26 PM, Andreas Pakulat wrote:

> On 16.07.09 13:59:34, Israel Brewster wrote:
>> Another option (which I personally prefer, because I think it gives
>> me a cleaner look) is to use a QTreeView instead of a QTableView to
>> display your model. It sounds somewhat counter-intuitive if you have
>> a table to display, but it works well.
>
> Well, it works as long as your data doesn't grow too much, a tableview
> can do certain optimizations that a treeview cannot do (due to the  
> fact
> that a tableview has no hierarchy).

Did not know that. Good information to have. Thanks :)

-----------------------------------------------
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
>
> Andreas
>
> -- 
> Domestic happiness and faithful friends.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Israel Brewster.vcf
Type: text/directory
Size: 397 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090717/e3392e98/attachment.bin 


More information about the Qt-interest-old mailing list