<?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[QTreeWidget resize width similar to in QtCreator]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have a QTreeWidget and QTextEdit in a QHBoxLayout. I used designer form.ui to do this.<br />
In the left pane ie on QTreeWidget I show some files and right pane ie QTextEdit I show source code. This app is similar to QtCreator. I want my app also to be moved horizontally with mouse click similar to QtCreator.</p>
<p dir="auto">Please share your views. Appreciate your help in this regard.</p>
<p dir="auto">Thanks,<br />
Haney</p>
]]></description><link>https://forum.qt.io/topic/29790/qtreewidget-resize-width-similar-to-in-qtcreator</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 13:08:40 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/29790.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Jul 2013 11:31:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QTreeWidget resize width similar to in QtCreator on Tue, 30 Jul 2013 09:54:48 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Please read the documentation of the class QSplitter.</p>
]]></description><link>https://forum.qt.io/post/188512</link><guid isPermaLink="true">https://forum.qt.io/post/188512</guid><dc:creator><![CDATA[dbzhang800]]></dc:creator><pubDate>Tue, 30 Jul 2013 09:54:48 GMT</pubDate></item><item><title><![CDATA[Reply to QTreeWidget resize width similar to in QtCreator on Tue, 30 Jul 2013 09:44:45 GMT]]></title><description><![CDATA[<p dir="auto">I tried the following:</p>
<p dir="auto">@<br />
this-&gt;Internals-&gt;treeWidget-&gt;header()-&gt;setStretchLastSection(false);<br />
this-&gt;Internals-&gt;treeWidget-&gt;header()-&gt;setResizeMode(0,                       QHeaderView::ResizeToContents);</p>
<p dir="auto">@</p>
<p dir="auto">Doing this, only QTreeWidget header is moving but not actual treewidget. How can I make QTreeWidget, QTextEdit move horizontally like in QtCreator.</p>
<p dir="auto">Please share your views.</p>
]]></description><link>https://forum.qt.io/post/188510</link><guid isPermaLink="true">https://forum.qt.io/post/188510</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 30 Jul 2013 09:44:45 GMT</pubDate></item></channel></rss>