<?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[3 State QPushbutton (solved)]]></title><description><![CDATA[<p dir="auto">I understood Qt Qpushbutton have 2 state: click and unclick. Is it possible to have additional state in QPushbutton?</p>
<p dir="auto">How to achieve the third state?</p>
]]></description><link>https://forum.qt.io/topic/54741/3-state-qpushbutton-solved</link><generator>RSS for Node</generator><lastBuildDate>Sun, 13 Sep 2026 04:49:18 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/54741.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 29 May 2015 20:23:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 3 State QPushbutton (solved) on Mon, 01 Jun 2015 12:54:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jakob">@<bdi>Jakob</bdi></a> that's what is used for QCheckBox internally, it's a good example on how to use nextCheckState</p>
]]></description><link>https://forum.qt.io/post/276238</link><guid isPermaLink="true">https://forum.qt.io/post/276238</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 01 Jun 2015 12:54:10 GMT</pubDate></item><item><title><![CDATA[Reply to 3 State QPushbutton (solved) on Mon, 01 Jun 2015 12:40:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/houmingc">@<bdi>houmingc</bdi></a> Even easier would be to make use of the nextCheckState() function. It allows you to create any number of states, see <a href="http://doc.qt.io/qt-5/qabstractbutton.html#nextCheckState" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/qabstractbutton.html#nextCheckState</a></p>
]]></description><link>https://forum.qt.io/post/276233</link><guid isPermaLink="true">https://forum.qt.io/post/276233</guid><dc:creator><![CDATA[Jakob]]></dc:creator><pubDate>Mon, 01 Jun 2015 12:40:25 GMT</pubDate></item><item><title><![CDATA[Reply to 3 State QPushbutton (solved) on Sun, 31 May 2015 00:29:45 GMT]]></title><description><![CDATA[<p dir="auto">Many thanks for your expertise</p>
]]></description><link>https://forum.qt.io/post/276104</link><guid isPermaLink="true">https://forum.qt.io/post/276104</guid><dc:creator><![CDATA[houmingc]]></dc:creator><pubDate>Sun, 31 May 2015 00:29:45 GMT</pubDate></item><item><title><![CDATA[Reply to 3 State QPushbutton (solved) on Sat, 30 May 2015 21:52:21 GMT]]></title><description><![CDATA[<p dir="auto">You would need to create your own button from QAbstractButton and take some inspiration from QCheckBox. But first, why do you need a tristate push button ? It's not something that follows known guidelines</p>
]]></description><link>https://forum.qt.io/post/276093</link><guid isPermaLink="true">https://forum.qt.io/post/276093</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sat, 30 May 2015 21:52:21 GMT</pubDate></item><item><title><![CDATA[Reply to 3 State QPushbutton (solved) on Sat, 30 May 2015 02:06:14 GMT]]></title><description><![CDATA[<p dir="auto">How can this apply to qpushbutton?</p>
]]></description><link>https://forum.qt.io/post/276036</link><guid isPermaLink="true">https://forum.qt.io/post/276036</guid><dc:creator><![CDATA[houmingc]]></dc:creator><pubDate>Sat, 30 May 2015 02:06:14 GMT</pubDate></item><item><title><![CDATA[Reply to 3 State QPushbutton (solved) on Fri, 29 May 2015 20:46:11 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Do you mean something like QCheckBox's <a href="http://doc.qt.io/qt-5/qcheckbox.html#tristate-prop" target="_blank" rel="noopener noreferrer nofollow ugc">tristate</a> property ?</p>
]]></description><link>https://forum.qt.io/post/276011</link><guid isPermaLink="true">https://forum.qt.io/post/276011</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 29 May 2015 20:46:11 GMT</pubDate></item></channel></rss>