<?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[Need more Info on QSplitter &amp; how it is replacing QLayouts.]]></title><description><![CDATA[<p dir="auto">I've seen that QSplitter can be an alternate for QLayouts but i din't find more information on how splitter deals with laying out widgets.<br />
I'm aware of it's advantages like being able to resize child widgets inside a splitter but i want to know more details about how it replaces layouts like,</p>
<ul>
<li>Does it respect sizepolicies &amp; sizehints as layouts</li>
<li>Does it have a default sizepolicy as a layout (in which case it won't respect child widget sizepolicies i think)</li>
</ul>
<p dir="auto">Also, i'm interested in knowing how splitter handles child widgets which already have layouts. Does it recieve QEvent::LayoutRequest &amp; passes it on to child widgets.?</p>
]]></description><link>https://forum.qt.io/topic/72796/need-more-info-on-qsplitter-how-it-is-replacing-qlayouts</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 00:54:53 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/72796.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 28 Oct 2016 17:13:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Need more Info on QSplitter &amp; how it is replacing QLayouts. on Mon, 31 Oct 2016 20:15:38 GMT]]></title><description><![CDATA[<p dir="auto">Layouts are used to setup how the elements of your complex widgets are positioned.</p>
<p dir="auto">A splitter is a "container", it won't do any special handling of what can be found inside the widgets you put in it.</p>
]]></description><link>https://forum.qt.io/post/357283</link><guid isPermaLink="true">https://forum.qt.io/post/357283</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 31 Oct 2016 20:15:38 GMT</pubDate></item><item><title><![CDATA[Reply to Need more Info on QSplitter &amp; how it is replacing QLayouts. on Mon, 31 Oct 2016 18:38:46 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for responding <a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> ,</p>
<p dir="auto">Can you elaborate on what you meant by "QSplitter doesn't replace a layout. You just have widgets side by side or on top of each other but thats all".<br />
I know that when i use a splitter inside a widget, i can use it as a layout. Do you mean i still need a layout (even though i have a splitter).?</p>
<p dir="auto">My use case is that i have some widgets with layouts installed on them. But i want to include splitters on top of that widget so that i can add more widgets to a single splitter &amp; also have nested splitters inside a splitter.</p>
]]></description><link>https://forum.qt.io/post/357268</link><guid isPermaLink="true">https://forum.qt.io/post/357268</guid><dc:creator><![CDATA[qtProgrammer]]></dc:creator><pubDate>Mon, 31 Oct 2016 18:38:46 GMT</pubDate></item><item><title><![CDATA[Reply to Need more Info on QSplitter &amp; how it is replacing QLayouts. on Fri, 28 Oct 2016 21:23:11 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">QSplitter doesn't replace a layout. You just have widgets side by side or on top of each other but thats all.</p>
<p dir="auto">What is your use case ?</p>
]]></description><link>https://forum.qt.io/post/356956</link><guid isPermaLink="true">https://forum.qt.io/post/356956</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 28 Oct 2016 21:23:11 GMT</pubDate></item></channel></rss>