plasma components ContextMenu
Marco Martin
notmart at gmail.com
Tue Aug 14 19:26:30 UTC 2012
On Tuesday 14 August 2012, Gregor Tätzner wrote:
> >
> > the plasmoid right menu should trigger only if no of the child element
> > manages the right mouse click event on its own
>
> excellent :)
>
> One last issue: What would be the best approach to align the context menu
> popup to the mouse pointer? As it stands now the menu pops below the
> visualParent of the ContextMenu (in my case a list entry)
>
if you use mouseeventlistener from org.kde.qtextracomponents in place of
mousearea you can have screen coordinates, then you can do popup(x,y)
--
Marco Martin
More information about the Plasma-devel
mailing list