[Qt-interest] QTreeWidgetItemIterator weird behaviour
NARCISO, Rui
RUI.NARCISO at airbus.com
Mon Oct 19 14:03:34 CEST 2009
I had read in the doc and I understand the order parent-> child.
The question is, what is the order on all of the children of a given parent ....
-----Message d'origine-----
De : qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com]De la part de R. Reucher
Envoyé : lundi 19 octobre 2009 14:00
À : qt-interest at trolltech.com
Objet : Re: [Qt-interest] QTreeWidgetItemIterator weird behaviour
On Mon, 19 Oct 2009 11:51:23 +0200, NARCISO, Rui wrote:
> Is a QTreeWidgetItemIterator supposed to go trhough the items on a
> QTreeWidget by any specific order or is it completely random?
I'm not completely sure about the order it uses to iterate over top-level
items, but the docs state the following, which basically means that it
traverses the tree:
"The iterator will walk the items in a pre-order traversal order, thus
visiting the parent node before it continues to the child nodes."
(http://qt.nokia.com/doc/4.5/qtreewidgetitemiterator.html#details)
So the question is, what does "pre-order traversal order" exactly mean?
HTH, René
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/
"He is now rising from affluence to poverty."
-- Mark Twain
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
This mail has originated outside your organization, either from an external partner or the Global Internet.
Keep this in mind if you answer this message.
The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than 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