<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Fade label&#x27;s pixmap from current to another]]></title><description><![CDATA[<p dir="auto">What is the best way to achieve this?</p>
<p dir="auto">I can fade out the label, change the image when fading is complete, and then fade in with the new image.</p>
<p dir="auto">What I wish to achieve is fade the old image immediately to the new one.</p>
<p dir="auto">What is the best way to achieve this?</p>
]]></description><link>https://forum.qt.io/topic/30674/fade-label-s-pixmap-from-current-to-another</link><generator>RSS for Node</generator><lastBuildDate>Wed, 23 Sep 2026 10:37:58 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/30674.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 Aug 2013 16:52:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fade label&#x27;s pixmap from current to another on Wed, 14 Aug 2013 11:37:19 GMT]]></title><description><![CDATA[<p dir="auto">Yes, I have already implemented it with the second solution that you mentioned on your post, but I hoped for something better.</p>
<p dir="auto">Thanks a lot :)</p>
]]></description><link>https://forum.qt.io/post/191004</link><guid isPermaLink="true">https://forum.qt.io/post/191004</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Wed, 14 Aug 2013 11:37:19 GMT</pubDate></item><item><title><![CDATA[Reply to Fade label&#x27;s pixmap from current to another on Wed, 14 Aug 2013 07:06:41 GMT]]></title><description><![CDATA[<p dir="auto">You can subclass QWidget/QFrame and do the painting yourself. On every time you set an pixmap to your widget start a QPropertyAnimation which updates a value and triggers an update() on your widget. In the paint method then use the value to first draw the old pixmap and then the new pixmap with an calculated opacity.</p>
<p dir="auto">Second solution would be to use 2 QLabels (one with the old pixmap and one with the new pixmap) and again use a QPropertyAnimation to animate a QOpacityGraphicsEffect's (set on the labels) "opacity" property.</p>
]]></description><link>https://forum.qt.io/post/190942</link><guid isPermaLink="true">https://forum.qt.io/post/190942</guid><dc:creator><![CDATA[raven-worx]]></dc:creator><pubDate>Wed, 14 Aug 2013 07:06:41 GMT</pubDate></item></channel></rss>