<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[what does topLevelItem in QTreeWidget means?]]></title><description><![CDATA[<p dir="auto">what does topLevelItem in QTreeWidget means?<br />
i read the doc, but still don't understand what it really mean...</p>
]]></description><link>https://forum.qt.io/topic/52632/what-does-toplevelitem-in-qtreewidget-means</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 20:34:25 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/52632.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 27 Mar 2015 02:39:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to what does topLevelItem in QTreeWidget means? on Fri, 27 Mar 2015 10:01:31 GMT]]></title><description><![CDATA[<p dir="auto">so u mean when i write like this: pRootItem = new QTreeWidgetItem(this);<br />
pRootItem is just top_level_1, and not invisible_root...<br />
why do Qt add an invisible_root here?<br />
and what things will the top_level related API make easier?</p>
]]></description><link>https://forum.qt.io/post/267222</link><guid isPermaLink="true">https://forum.qt.io/post/267222</guid><dc:creator><![CDATA[opengpu2]]></dc:creator><pubDate>Fri, 27 Mar 2015 10:01:31 GMT</pubDate></item><item><title><![CDATA[Reply to what does topLevelItem in QTreeWidget means? on Fri, 27 Mar 2015 05:10:58 GMT]]></title><description><![CDATA[<p dir="auto">Top level items in a QTreeWidget do not have parent items.<br />
Take a look on the pictures <a href="http://doc.qt.io/qt-5/qtreewidget.html#details" target="_blank" rel="noopener noreferrer nofollow ugc">in QTreeWidget description</a><br />
The most left items on each image are the top level items.<br />
Not sure if forum will show my drawing correctly</p>
<pre><code>invisible_root
    top_level_1
            not_top_level_1
            not_top_level_2
    top_level_2
            not_top_level_1
            not_top_level_2
</code></pre>
<p dir="auto">Invisible_root is not visible in QTreeWidget and is accessible by <a href="http://doc.qt.io/qt-5/qtreewidget.html#invisibleRootItem" target="_blank" rel="noopener noreferrer nofollow ugc">QTreeWidget::invisibleRootItem()</a></p>
]]></description><link>https://forum.qt.io/post/267174</link><guid isPermaLink="true">https://forum.qt.io/post/267174</guid><dc:creator><![CDATA[andreyc]]></dc:creator><pubDate>Fri, 27 Mar 2015 05:10:58 GMT</pubDate></item></channel></rss>