[Qt-interest] EditableTreeMode example crashing with modeltest

Tony Rietwyk tony.rietwyk at rightsoft.com.au
Thu Nov 26 00:02:59 CET 2009


Daniel wrote:

From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Tony Rietwyk
Sent: 24 November 2009 23:55
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] EditableTreeMode example crashing with modeltest

 

Unfortunately, QTreeView is also very ROW based.  For example, it doesn't
allow the background of the parent to extend beneath its visible children.
You can't change the drop indicators that are drawn, etc.  Reimplementing
QTreeView is much easier said than done! 

 

Not true!

 

http://doc.trolltech.com/main-snapshot/stylesheet-examples.html#customizing-
qtreeview

Thanks for the suggestion.  I actually want the child items to appear
stacked on top of the parent item, so the parent visually surrounds the
children on all 4 sides.  Hence the background on any particular row may
change several times going from left to right.  I can't see anything in the
style-sheet for this.  

 

Tony.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091126/96035f57/attachment.html 


More information about the Qt-interest-old mailing list