<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Arial'; font-size:11pt; font-weight:400; font-style:normal;">On Sunday 18 January 2009 20:09:53 Aaron J. Seigo wrote:<br>
> On Sunday 18 January 2009, Toussis Manolis wrote:<br>
> > On Sunday 18 January 2009 12:52:58 Toussis Manolis wrote:<br>
> > > After some messing around I used mouseDoubleClickedEvent()<br>
> > > as it is not used by plasma...as a workaround<br>
> ><br>
> > and the strange thing is the double click doesn't work without your<br>
> > code...<br>
><br>
> in QGraphicsView, unless you accept the press event, you don't get further<br>
> mouse interaction. this allows items to be "mouse transparent" by simply<br>
> not implementing any mouse interaction; then items underneath those items<br>
> can do the mouse related stuff.<br>
><br>
> very neat and very handy when trying to do various interesting things. adds<br>
> a small amount of complexity, though not much.<br>
><br>
> it's just something to get used to with QGraphicsView<br>
This is what I worked on:<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>http://www.kde-look.org/content/preview.php?preview=1&id=75728&file1=75728-1.png&file2=&file3=&name=plasmatvgr<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>I wanted a pop up menu to select a tv channel instead of pressing <> many times.<br>
To just click on applet , seemed a good idea... and a third Pushbutton was to much from a applet's look point of view.<br>
So I used double-clicking as a solution<br>
.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p></body></html>