Plasma.ToolButton and menu

Aaron J. Seigo aseigo at kde.org
Sat Nov 20 01:05:16 CET 2010


On Friday, November 19, 2010, Thomas Olsen wrote:
> how you made the context menu work. Is it because it is a child of the
> Applet?

because it isn't done using a QGraphicsProxyWidget.

a work around is to just popup a normal QMenu at the location provided by 
Corona::popupPosition(const QGraphicsItem *item, const QSize &size)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101119/cb758207/attachment.sig 


More information about the Plasma-devel mailing list