signal clicked()
Toussis Manolis
manolis at koppermind.homelinux.org
Sun Jan 18 20:00:09 CET 2009
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
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20090118/2a78e027/attachment.htm
More information about the Plasma-devel
mailing list