[Qt-interest] QTree

Alex Strickland sscc at mweb.co.za
Fri Jan 21 18:13:53 CET 2011


On 2011/01/21 05:21 PM, Xiaolei Shang wrote:

>           parentItem->appendRow(items);
>           parentItem = items.at(0);

> Hope this helps.

It does, thank you.

May I ask *why* it works? I now realise I did not know how the first 
example worked either. How is the chain of pointers connected up so that 
the QStandardItemModel can traverse them (c++ 101 I know).

-- 
Alex



More information about the Qt-interest-old mailing list