[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Notify of hovering over icon widget
From:       Shantanu Tushar Jha <jhahoneyk () gmail ! com>
Date:       2011-06-22 17:26:06
Message-ID: BANLkTi=+q2Cy47dBDPPrrQNdXLoMXCJfkA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

On Wed, Jun 22, 2011 at 10:22 PM, Viranch Mehta <viranch.mehta@gmail.com>wrote:

> On Wed, Jun 22, 2011 at 1:00 PM, Aaron J. Seigo <aseigo@kde.org> wrote:
>
>>
>> can you use the onEnter/onExit properties with a MouseArea?
>>
>>
> Well, I want the background of the IconWidget to be painted when hovered
> (by doing drawBackgournd: true). But the problem with putting
>

I recall there was something called Plasma::ItemBackground for that
paint-when-hovered stuff. Not sure if that has been exported to QML or not.


> MouseArea on the IconWidget is, the IconWidget does not detect hovers and
> doesn't paint the background. While if the MouseArea is below the
> IconWidget, I can't get to do other stuff on hover.
>
> Viranch
>
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>


Shantanu Tushar    (UTC +0530)
http://www.shantanutushar.com

[Attachment #5 (text/html)]

Hi,<br><br><div class="gmail_quote">On Wed, Jun 22, 2011 at 10:22 PM, Viranch Mehta \
<span dir="ltr">&lt;<a \
href="mailto:viranch.mehta@gmail.com">viranch.mehta@gmail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;"> <div dir="ltr"><div class="gmail_quote"><div \
class="im">On Wed, Jun 22, 2011 at 1:00 PM, Aaron J. Seigo <span dir="ltr">&lt;<a \
href="mailto:aseigo@kde.org" target="_blank">aseigo@kde.org</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">

<div><br>
</div>can you use the onEnter/onExit properties with a MouseArea?<br>
<div><br></div></blockquote><div><br></div></div><div>Well, I want the background of \
the IconWidget to be painted when hovered (by doing drawBackgournd: true). But the \
problem with putting </div></div></div></blockquote> <div><br>I recall there was \
something called Plasma::ItemBackground for that paint-when-hovered stuff. Not sure \
if that has been exported to QML or not.<br> <br></div><blockquote \
class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, \
204, 204); padding-left: 1ex;"> <div dir="ltr"><div \
class="gmail_quote"><div>MouseArea on the IconWidget is, the IconWidget does not \
detect hovers and doesn&#39;t paint the background. While if the MouseArea is below \
the IconWidget, I can&#39;t get to do other stuff on hover.</div>

<div><br></div><div>Viranch</div><div><br></div></div></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><br clear="all"><div><br></div>Shantanu Tushar    (UTC \
+0530)<br><a href="http://www.shantanutushar.com/" \
target="_blank">http://www.shantanutushar.com</a><br> <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