signal clicked()

David Baron d_baron at 012.net.il
Mon Jan 19 12:47:17 CET 2009


>On Sunday 18 January 2009 12:12:49 Toussis Manolis wrote:
>>> On Sunday 18 January 2009 09:34:49 David Baron wrote:
>> > void MyApplet::mousePressEvent ( QGraphicsSceneMouseEvent *ev ) {
>> >     if  ( signalsBlocked() ) {
>> >         Plasma::Applet::mousePressEvent( ev );
>> >         return;
>> >     }..........
>>
>> I tried what you proposed... but the above doesn't work with drag/move
>> operations... :-(
>> If I click and hold on the applet , instead of moving my popup menu
>> appears...
>
>I cannot vouch for when and if the signalsBocked will return true.
>Mouse pressed is not really a click -- this would be press & release. 
>However, 
>this is all we have.

I notice that some applets/icons will change there color/birghtness a bit on 
hover. The device-monitor applet does this as do any shortcuts or folders I 
placed on the panel. How do I do this?



More information about the Plasma-devel mailing list