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

List:       kde-panel-devel
Subject:    Re: plasma::applet painter
From:       Toussis Manolis <manolis () koppermind ! homelinux ! org>
Date:       2009-02-21 16:53:16
Message-ID: 200902211853.16521.manolis () koppermind ! homelinux ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thank you very much on answering my question.


On Saturday 21 February 2009 18:34:27 Aaron J. Seigo wrote:
> On Saturday 21 February 2009, Toussis Manolis wrote:
> > I want to add some effect to an applet
>
> what effect are you trying to achieve? because while you ask how to get a
> pixmap of your widget, depending on what effect you are trying to achieve
> that may not be what you actually want to be doing.
>

I was thinking of implementing a fadout effect of the old snapshot of the 
applet.
I need the QPixmap to draw it with Opacity degrading from 1.0 to 0.0 ... So it 
will not be visible any more, and the new painting is shown 100%.
On animation end, a new "screenshot" of the QPixmap is stored for the next 
update of the applet contents.
I don't know how it will look, but couldn't find any way to implement it.
Any proposals are appreciated... :-)






[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" \
"http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" \
content="1" /><style type="text/css">p, li { white-space: pre-wrap; \
}</style></head><body style=" font-family:'Arial'; font-size:11pt; font-weight:400; \
font-style:normal;">Thank you very much on answering my question.<br> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p><p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>On \
Saturday 21 February 2009 18:34:27 Aaron J. Seigo wrote:<br> &gt; On Saturday 21 \
February 2009, Toussis Manolis wrote:<br> &gt; &gt; I want to add some effect to an \
applet<br> &gt;<br>
&gt; what effect are you trying to achieve? because while you ask how to get a<br>
&gt; pixmap of your widget, depending on what effect you are trying to achieve<br>
&gt; that may not be what you actually want to be doing.<br>
&gt;<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"><br></p>I was thinking of implementing a fadout effect of the old \
snapshot of the applet.<br> I need the QPixmap to draw it with Opacity degrading from \
1.0 to 0.0 ... So it will not be visible any more, and the new painting is shown \
100%.<br> On animation end, a new "screenshot" of the QPixmap is stored for the next \
update of the applet contents.<br> I don't know how it will look, but couldn't find \
any way to implement it.<br> Any proposals are appreciated... :-)<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"><br></p><p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"><br></p><p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p><p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p><p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"><br></p></body></html>



_______________________________________________
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