On Sunday 18 January 2009 20:09:53 Aaron J. Seigo wrote: > On Sunday 18 January 2009, Toussis Manolis wrote: > > On Sunday 18 January 2009 12:52:58 Toussis Manolis wrote: > > > After some messing around I used mouseDoubleClickedEvent() > > > as it is not used by plasma...as a workaround > > > > and the strange thing is the double click doesn't work without your > > code... > > in QGraphicsView, unless you accept the press event, you don't get further > mouse interaction. this allows items to be "mouse transparent" by simply > not implementing any mouse interaction; then items underneath those items > can do the mouse related stuff. > > very neat and very handy when trying to do various interesting things. adds > a small amount of complexity, though not much. > > it's just something to get used to with QGraphicsView This is what I worked on:
http://www.kde- look.org/content/preview.php?preview=1&id=75728&file1=75728-1.png&file2=&file3=&name=plasmatvgr I wanted a pop up menu to select a tv channel instead of pressing <> many times. To just click on applet , seemed a good idea... and a third Pushbutton was to much from a applet's look point of view. So I used double-clicking as a solution .
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel