Select Disabled Actions in QMenu via Stylesheet
<p>In my project I customized a QMenu using stylesheets to have the color and spacing attributes I want. However, upon doing so, disabled actions no longer look any different from enabled actions.</p>

<p>Before:</p>

<p><a href="https://i.stack.imgur.com/6jFfn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6jFfn.png" alt="Before"></a> </p>

<p>After:</p>

<p><a href="https://i.stack.imgur.com/M5RiI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M5RiI.png" alt="After"></a></p>

<p>As you can see, the disabled actions look the exact same as enabled ones, and I can't seem to figure out a way to select disabled actions via stylesheets.</p>

<p>Here is my current stylesheet for the QMenu</p>

<pre><code>QMenu{width: 115px; background: #373f49; color: #bfbfbf; margin: 0px;}
QMenu::item{padding: 4px 18px 4px 30px; border: 0px solid transparent; margin: 0px;}
QMenu::icon{margin-left: 10px;}
QMenu::item:selected{background: #47505c; color: #fff;}
</code></pre>

<p>Thanks for your time.</p>