<?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[Repaint child without repainting parent widget]]></title><description><![CDATA[<p dir="auto">I have a parent widget ( QScrollArea ) to which I setWidget my custom QFrame containing some buttons. The QScrollArea has background set with stylesheet and my widget has transparent background. I want to make the QScrollArea not redraw its background each time my widget is moved because this slows down performance very much.</p>
<p dir="auto">What can I do?</p>
]]></description><link>https://forum.qt.io/topic/33139/repaint-child-without-repainting-parent-widget</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 09:10:05 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/33139.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 16 Oct 2013 12:52:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Repaint child without repainting parent widget on Thu, 17 Oct 2013 08:40:12 GMT]]></title><description><![CDATA[<p dir="auto">The Qt::WA_OpaquePaintEvent seems to be what I need but setting this to the scroll area still erase the background before the paintEvent is called.</p>
]]></description><link>https://forum.qt.io/post/199370</link><guid isPermaLink="true">https://forum.qt.io/post/199370</guid><dc:creator><![CDATA[Tsweti]]></dc:creator><pubDate>Thu, 17 Oct 2013 08:40:12 GMT</pubDate></item></channel></rss>