[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: plasma components ContextMenu
From:       Marco Martin <notmart () gmail ! com>
Date:       2012-08-14 19:26:30
Message-ID: 201208142126.31406.notmart () gmail ! com
[Download RAW message or body]

On Tuesday 14 August 2012, Gregor T=E4tzner 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
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic