<?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[Layering two widgets while retaining layout capacities]]></title><description><![CDATA[<p dir="auto">Hi, here is my problem, I would like to layer two image on top of each other while retaining resizable window capacity.. but I can't use a stacked widget because both images must be visible always... how can I do that??</p>
]]></description><link>https://forum.qt.io/topic/42076/layering-two-widgets-while-retaining-layout-capacities</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 04:03:47 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/42076.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 02 Jun 2014 03:17:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Layering two widgets while retaining layout capacities on Mon, 02 Jun 2014 05:54:09 GMT]]></title><description><![CDATA[<p dir="auto">I did something similar to that by editing .ui file outside of Qt Creator/Designer.</p>
<ol>
<li>Create a grid layout and place your images in two different cells and give each of them their own layout.</li>
<li>Open .ui file in some other text editor.</li>
<li>Edit row / column values.</li>
</ol>
<p dir="auto">The grid layout should look something like this:<br />
@<br />
&lt;item row="0" column="0"&gt;<br />
&lt;layout containing 1st image&gt;<br />
&lt;/item&gt;<br />
&lt;item row="1" column="0"&gt;<br />
&lt;layout containing 2nd image&gt;<br />
&lt;/item&gt;<br />
@</p>
<p dir="auto">simply change to:<br />
@<br />
&lt;item row="0" column="0"&gt;<br />
&lt;layout containing 1st image&gt;<br />
&lt;/item&gt;<br />
&lt;item row="0" column="0"&gt;<br />
&lt;layout containing 2nd image&gt;<br />
&lt;/item&gt;<br />
@</p>
]]></description><link>https://forum.qt.io/post/230678</link><guid isPermaLink="true">https://forum.qt.io/post/230678</guid><dc:creator><![CDATA[thebeast44]]></dc:creator><pubDate>Mon, 02 Jun 2014 05:54:09 GMT</pubDate></item></channel></rss>