[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: signal clicked()
From: Alexis_Ménard <menard () kde ! org>
Date: 2009-01-17 9:31:17
Message-ID: 81941aea0901170131t237ddddr443ee5cdf59dbc72 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Overload the mousePressEvent method...And take a look to the documentation
of Qt, QGraphicsWidget/QGraphicsItem since the Applet class inherits from
them. Everything is explain about event propagation.
2009/1/17 Toussis Manolis <manolis@koppermind.homelinux.org>
> I want my plasma to react on left click on it.
> What signal/object should I connect to my slot?
> I tried MyApplet::clicked() , but there is no such signal...
>
>
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
[Attachment #5 (text/html)]
Overload the mousePressEvent method...And take a look to the documentation of Qt, \
QGraphicsWidget/QGraphicsItem since the Applet class inherits from them. Everything \
is explain about event propagation.<br><br><br><div class="gmail_quote"> 2009/1/17 \
Toussis Manolis <span dir="ltr"><<a \
href="mailto:manolis@koppermind.homelinux.org">manolis@koppermind.homelinux.org</a>></span><br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> <div style="font-family: 'Arial'; font-size: \
11pt; font-weight: 400; font-style: normal;">I want my plasma to react on left click \
on it.<br> What signal/object should I connect to my slot?<br>
I tried MyApplet::clicked() , but there is no such signal...<br>
<p style="margin: 0px; text-indent: \
0px;"><br></p></div><br>_______________________________________________<br> \
Plasma-devel mailing list<br> <a \
href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br> <a \
href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
<br></blockquote></div><br>
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic