Re: Plasmoid activation signal

2009-10-21 Thread Matteo Agostinelli
Mmmh so I did it the wrong way because I implemented the event on my applet class and not on the graphicsWidget(). I'll fix this soon. Thanks. Matteo On Tue, Oct 20, 2009 at 18:34, Aaron J. Seigo wrote: > On October 20, 2009, Matteo Agostinelli wrote: >> On Monday 19 October 2009 21:23:13 Aaron

Re: Plasmoid activation signal

2009-10-20 Thread Aaron J. Seigo
On October 20, 2009, Matteo Agostinelli wrote: > On Monday 19 October 2009 21:23:13 Aaron J. Seigo wrote: > > hi Matteo .. > > > > please keep plasma issues on this list; cross-posting to kde-devel will > > just make it more confusing to follow the resulting thread(s) :) > > > > On October 19, 200

Re: Plasmoid activation signal

2009-10-20 Thread Matteo Agostinelli
On Monday 19 October 2009 21:23:13 Aaron J. Seigo wrote: > hi Matteo .. > > please keep plasma issues on this list; cross-posting to kde-devel will > just make it more confusing to follow the resulting thread(s) :) > > On October 19, 2009, Matteo Agostinelli wrote: > > So my question is if there

Re: Plasmoid activation signal

2009-10-20 Thread Matteo Agostinelli
On Monday 19 October 2009 17:07:48 Thomas Lübking wrote: > No idea whether Plasma provides a signal on this, but usually you'd > reimplement the ::changeEvent(QEvent *) and catch QEvent::ActivationChange > or installEventFilter() to your widget and catch it there (in former case > don't forget to c

Re: Plasmoid activation signal

2009-10-19 Thread Aaron J. Seigo
hi Matteo .. please keep plasma issues on this list; cross-posting to kde-devel will just make it more confusing to follow the resulting thread(s) :) On October 19, 2009, Matteo Agostinelli wrote: > So my question is if there already is a signal that is emitted when > either of the previously st

Plasmoid activation signal

2009-10-19 Thread Matteo Agostinelli
Hello, recently I've been request to add a new feature on my qalculator plasmoid: to automatically give focue to the input line edit when the plasmoid is activated. By "activated" I mean: 1) the user clicks on the plasmoid icon in the taskbar (since it is a PopupApplet) 2) the user clicks anywhere