<?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[Style of Window]]></title><description><![CDATA[<p dir="auto">How can i with or without QSS change style of Window: buttons of closing, min and max, title area and other<br />
Advance many thanks for your help!</p>
]]></description><link>https://forum.qt.io/topic/7121/style-of-window</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 17:14:42 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/7121.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Jun 2011 11:38:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Style of Window on Mon, 04 Jul 2011 16:02:15 GMT]]></title><description><![CDATA[<p dir="auto">This can be found in the "docs":<a href="http://doc.qt.nokia.com/4.7/index.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.nokia.com/4.7/index.html</a> and "main window examples":<a href="http://doc.qt.nokia.com/4.7/examples-mainwindow.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.nokia.com/4.7/examples-mainwindow.html</a> . If you want to add a menu bar or a tool bar to a "normal" qwidget,. you have to add it amnually to a layout like all other widgets.</p>
]]></description><link>https://forum.qt.io/post/95968</link><guid isPermaLink="true">https://forum.qt.io/post/95968</guid><dc:creator><![CDATA[giesbert]]></dc:creator><pubDate>Mon, 04 Jul 2011 16:02:15 GMT</pubDate></item><item><title><![CDATA[Reply to Style of Window on Mon, 04 Jul 2011 14:25:32 GMT]]></title><description><![CDATA[<p dir="auto">Then, write please code how can i set QToolBar or QMenuBar to QWidget or dont attached al all(if it is posible)</p>
]]></description><link>https://forum.qt.io/post/95958</link><guid isPermaLink="true">https://forum.qt.io/post/95958</guid><dc:creator><![CDATA[Ruzik]]></dc:creator><pubDate>Mon, 04 Jul 2011 14:25:32 GMT</pubDate></item><item><title><![CDATA[Reply to Style of Window on Mon, 04 Jul 2011 14:02:17 GMT]]></title><description><![CDATA[<p dir="auto">Yes, but they are part of the client area. The title bar and the title bar buttons are at the non client area.</p>
<p dir="auto">The NonClient area is (AFAIK always) part of the OS, the content is part of the application.</p>
]]></description><link>https://forum.qt.io/post/95956</link><guid isPermaLink="true">https://forum.qt.io/post/95956</guid><dc:creator><![CDATA[giesbert]]></dc:creator><pubDate>Mon, 04 Jul 2011 14:02:17 GMT</pubDate></item><item><title><![CDATA[Reply to Style of Window on Mon, 04 Jul 2011 13:27:12 GMT]]></title><description><![CDATA[<p dir="auto">But QMenuBar and QToolBar attached to QMainWindow, is it?</p>
]]></description><link>https://forum.qt.io/post/95948</link><guid isPermaLink="true">https://forum.qt.io/post/95948</guid><dc:creator><![CDATA[Ruzik]]></dc:creator><pubDate>Mon, 04 Jul 2011 13:27:12 GMT</pubDate></item><item><title><![CDATA[Reply to Style of Window on Mon, 04 Jul 2011 11:41:03 GMT]]></title><description><![CDATA[<p dir="auto">I did  not get your question.<br />
What is the problem?</p>
<p dir="auto">If you modify the header style it has no influence on the client widgets. Use them as normal.</p>
]]></description><link>https://forum.qt.io/post/95926</link><guid isPermaLink="true">https://forum.qt.io/post/95926</guid><dc:creator><![CDATA[giesbert]]></dc:creator><pubDate>Mon, 04 Jul 2011 11:41:03 GMT</pubDate></item><item><title><![CDATA[Reply to Style of Window on Mon, 04 Jul 2011 06:17:33 GMT]]></title><description><![CDATA[<p dir="auto">How can i use QToolBar and QMenuBar in this modif window?</p>
]]></description><link>https://forum.qt.io/post/95874</link><guid isPermaLink="true">https://forum.qt.io/post/95874</guid><dc:creator><![CDATA[Ruzik]]></dc:creator><pubDate>Mon, 04 Jul 2011 06:17:33 GMT</pubDate></item><item><title><![CDATA[Reply to Style of Window on Wed, 29 Jun 2011 13:06:33 GMT]]></title><description><![CDATA[<p dir="auto">Also: users of window systems that allow you to adapt the layout of these buttons and frames (KDE comes to mind) will probably hate you for tampering with this. They expect their applications to follow <em>their</em> preference, instead of having to follow the preferences of the application's author.</p>
]]></description><link>https://forum.qt.io/post/95141</link><guid isPermaLink="true">https://forum.qt.io/post/95141</guid><dc:creator><![CDATA[andre]]></dc:creator><pubDate>Wed, 29 Jun 2011 13:06:33 GMT</pubDate></item><item><title><![CDATA[Reply to Style of Window on Wed, 29 Jun 2011 12:17:13 GMT]]></title><description><![CDATA[<p dir="auto">If you create an own title bar on Windows OS, you loos some other windows features like maximizing != Fullscreen, menu in the task bar etc.</p>
<p dir="auto">If you want to keep that, you must write OS specific code and overwrite WM_NCPAINT etc...</p>
]]></description><link>https://forum.qt.io/post/95126</link><guid isPermaLink="true">https://forum.qt.io/post/95126</guid><dc:creator><![CDATA[giesbert]]></dc:creator><pubDate>Wed, 29 Jun 2011 12:17:13 GMT</pubDate></item><item><title><![CDATA[Reply to Style of Window on Wed, 29 Jun 2011 11:54:57 GMT]]></title><description><![CDATA[<p dir="auto">The titlebar belongs to the OS and, so Qt does not have control over it and it is hence not possible to modify it using Qt. The following "FAQ":<a href="http://developer.qt.nokia.com/faq/answer/how_can_i_handle_events_in_the_titlebar_and_change_its_color_etc" target="_blank" rel="noopener noreferrer nofollow ugc">http://developer.qt.nokia.com/faq/answer/how_can_i_handle_events_in_the_titlebar_and_change_its_color_etc</a> contains information on how you can create your own titlebar though and an example on how to do it.</p>
]]></description><link>https://forum.qt.io/post/95120</link><guid isPermaLink="true">https://forum.qt.io/post/95120</guid><dc:creator><![CDATA[sigrid]]></dc:creator><pubDate>Wed, 29 Jun 2011 11:54:57 GMT</pubDate></item><item><title><![CDATA[Reply to Style of Window on Wed, 29 Jun 2011 11:53:13 GMT]]></title><description><![CDATA[<p dir="auto">AFAIK you can't do it with Qt only. You need to draw your own decorations and use non-decorated window flag. Maybe there are also some solutions in WinAPI, but I don't know</p>
]]></description><link>https://forum.qt.io/post/95119</link><guid isPermaLink="true">https://forum.qt.io/post/95119</guid><dc:creator><![CDATA[DenisKormalev]]></dc:creator><pubDate>Wed, 29 Jun 2011 11:53:13 GMT</pubDate></item></channel></rss>