<?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[QMainWindow with QDockWidget or some type of sides?]]></title><description><![CDATA[<p dir="auto">I am making a print preview kind of page and want to have some type of different colored sides so the page doesnt take up the whole Window so itll look kind of like MS Word. I currently have a QMainWindow with a QTextEdit as the central widget.</p>
<p dir="auto">Is there a way I can do this?</p>
]]></description><link>https://forum.qt.io/topic/19036/qmainwindow-with-qdockwidget-or-some-type-of-sides</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 04:20:27 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/19036.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Aug 2012 13:32:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QMainWindow with QDockWidget or some type of sides? on Mon, 13 Aug 2012 14:00:00 GMT]]></title><description><![CDATA[<p dir="auto">O I didn't think about using a horizontal spacer, thanks. Do you know anywhere that can show me how to add that in becasue I've never actually coded a spacer?</p>
]]></description><link>https://forum.qt.io/post/147310</link><guid isPermaLink="true">https://forum.qt.io/post/147310</guid><dc:creator><![CDATA[confused]]></dc:creator><pubDate>Mon, 13 Aug 2012 14:00:00 GMT</pubDate></item><item><title><![CDATA[Reply to QMainWindow with QDockWidget or some type of sides? on Mon, 13 Aug 2012 13:35:39 GMT]]></title><description><![CDATA[<p dir="auto">Maybe try to set the size of the textedit and make them fixed? But then you have to catch the signal that the mainwindow is resized and resize your widget also.<br />
Maybe better to use horizontal or vertical spacers with a minimum with.<br />
Sorry, can't give any code, no Qt on this machine.</p>
]]></description><link>https://forum.qt.io/post/147307</link><guid isPermaLink="true">https://forum.qt.io/post/147307</guid><dc:creator><![CDATA[Jeroentjehome]]></dc:creator><pubDate>Mon, 13 Aug 2012 13:35:39 GMT</pubDate></item></channel></rss>