<div dir="ltr">Hi, <br><br>For example, the context menu shown by folderview when right clicking on a file icon doesn&#39;t have menu items like &quot;Remove this folder view&quot; and &quot;Desktop options&quot;. Folderview achieves this by reimplementing mousePressEvent.<br>
<br>But in an AppletScript subclass, there is no mousePressEvent to reimplement. Also I feel reimplementing mousePressEvent to handle customized context menu is a little overkill. I am thinking modifying contextualActions in Applet and AppletScript from QList&lt;QAction*&gt; contextualActions() to QList&lt;QAction*&gt; contextualActions(bool *appendable). If contexualActions set &quot;appendable&quot; flag to false, then the caller should not append more actions.<br>
<br>How do you think about it?<br><br>--<br>Tiger<br><br><br></div>