<?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[ContextMenu with QWidgetAction]]></title><description><![CDATA[<p dir="auto">Hello there,<br />
I have a QMenu and actions are of my own class derived from QWidgetAction.<br />
The issue is that, the default checkbox for the Menu items are no longer appearing.</p>
<p dir="auto">Notes:</p>
<ul>
<li>Inside my action class, I have a main-widget( say X ), inside which there is a HLayout that contains many other widgets.</li>
<li>What I notice is that the checkbox from the Menu disappears, when I call setDefaultWidget(X).</li>
</ul>
<p dir="auto">Do I need to handle my own checkbox ( if there is a custom widget), or am I doing some blunder?<br />
Many thanks in advance....</p>
]]></description><link>https://forum.qt.io/topic/122376/contextmenu-with-qwidgetaction</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Apr 2026 01:37:40 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/122376.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 Jan 2021 13:51:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ContextMenu with QWidgetAction on Tue, 05 Jan 2021 21:02:54 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Can you provide a minimal example that shows your issue ?</p>
<p dir="auto">Which version of Qt are you using ?<br />
On which platform ?</p>
]]></description><link>https://forum.qt.io/post/636049</link><guid isPermaLink="true">https://forum.qt.io/post/636049</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 05 Jan 2021 21:02:54 GMT</pubDate></item></channel></rss>