Plasma.ToolButton and menu

Thomas Olsen tanghus at gmail.com
Sat Nov 20 10:39:31 CET 2010


On Saturday 20 November 2010 09:34:01 Thomas Olsen wrote:
> On Saturday 20 November 2010 01:05:16 Aaron J. Seigo wrote:
> > 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)
> 
> Aha - a work around. To the BatMobile - eh, the docs ;-) Thanks.

And it was an brilliant and easy work around:

 http://imagebin.ca/view/RDGB1zm.html

Thanks!

-- 
Best regards / med venlig hilsen

Thomas Olsen

Dropbox and my thumb drive had an epic battle. Dropbox won. 
http://db.tt/T0p6d6L
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101120/afc8a658/attachment-0001.sig 


More information about the Plasma-devel mailing list