<?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[QtCreator GUI Designer exchange widget type]]></title><description><![CDATA[<p dir="auto">The GUI-Designer has the feature for some widget types to exchange it with an other type of widget.<br />
Context-menu of a widget "Morph into".</p>
<p dir="auto">F.e.   QPushButton -&gt; QCheckBox</p>
<p dir="auto">Now, have build my own Widget derive from the basic widget.<br />
E.e.   QPushButton  -&gt;  class AdvPushButton: public QPushButton</p>
<p dir="auto">I want to exchange most Buttons of my projects with the designer.<br />
The only practicalbe way I found to edit the *.ui files by hand in a text editor.<br />
Is there an easy way to do this?<br />
Can I enhance the widget exchange feature of the creator itself ?</p>
]]></description><link>https://forum.qt.io/topic/154975/qtcreator-gui-designer-exchange-widget-type</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Apr 2026 08:53:41 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/154975.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 29 Feb 2024 05:49:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QtCreator GUI Designer exchange widget type on Thu, 29 Feb 2024 05:56:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/andy314">@<bdi>Andy314</bdi></a><br />
To make the exchange feature work, you have to <a href="https://doc.qt.io/qt-6/designer-creating-custom-widgets.html" target="_blank" rel="noopener noreferrer nofollow ugc">write a plug-in for the widget designer</a>, dealing with your custom checkbox.<br />
However, if it’s a mass change, editing the XML is probably easier.<br />
Mind that this doesn’t change any of the slot names, should you have auto created ones.</p>
]]></description><link>https://forum.qt.io/post/791711</link><guid isPermaLink="true">https://forum.qt.io/post/791711</guid><dc:creator><![CDATA[Axel Spoerl]]></dc:creator><pubDate>Thu, 29 Feb 2024 05:56:25 GMT</pubDate></item></channel></rss>