[Qt-interest] QTreeWidget

NARCISO, Rui RUI.NARCISO at airbus.com
Wed Apr 1 14:13:51 CEST 2009


Hi all,

I have a QTreeWidget populqted with QTreeWidgetItems.

I would like to "paint" every other line.
When I add a series of lines and run the paint routine by means of a QTreeWidgetItemIterator he does paint every other line but then the sorting comes into effect and all of the painted lines become mixed...

How to make sure that I only iterate over the lines after the sorting has been done so as to get what I want ?

Rui


The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other then the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.





More information about the Qt-interest-old mailing list