title: Set the right-arrow icon of a specific QMenu in Qt
body: <p>I am trying to change the icon of a QMenu's right arrow. The following QSS rule works</p>
  <pre><code>QMenu::right-arrow {
      image: url(icons:icon_name.svg);
  }
  </code></pre>
  <p>However, it changes the right arrows of all QMenus. I want to select only QMenus that have some property/name. I tried the following things:</p>
  <pre><code>/* shouldHide is a boolean property set to true */
  QMenu[shouldHide=&quot;true&quot;]::right-arrow {
      image: url(icons:icon_name.svg);
  }
  </code></pre>
  <pre><code>QMenu::right-arrow[shouldHide=&quot;true&quot;] {
      image: url(icons:icon_name.svg);
  }
  </code></pre>
  <p>I also tried wrapping the QMenu in a hidden QWidget and setting the stylesheet on the parent</p>
  <pre><code>container-&gt;setStyleSheet(&quot;QMenu::right-arrow: {image: url(icons:icon_name.svg); }&quot;);
  </code></pre>
  <p>I also attempted to set the style sheet on the menu itself in the following ways:</p>
  <pre><code>menu-&gt;setStyleSheet(&quot;QMenu::right-arrow: {image: url(icons:icon_name.svg); }&quot;);
  </code></pre>
  <pre><code>menu-&gt;setStyleSheet(&quot;*::right-arrow: {image: url(icons:icon_name.svg); }&quot;);
  </code></pre>
  <p>... and none of them work.</p>