<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">The Qt documentation ( <a href="https://doc.qt.io/qt-5/qapplication.html#desktop">https://doc.qt.io/qt-5/qapplication.html#desktop</a> ) says this about QDesktopWidget:</div><div dir="ltr"><br></div></div><div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On X11, it is also possible to draw on the desktop.</blockquote><div><br></div><div>However, I've not been able to understand how this can be done.</div><div>I found a very old C++ example ( <a href="https://doc.qt.io/archives/3.3/desktop-example.html">https://doc.qt.io/archives/3.3/desktop-example.html</a> ) but I couldn't port it.</div><div>Installing an eventFilter on the returned QDesktopWidget won't get any QPaintEvent (only PolishRequest and Polish events), and subclassing QApplication to return a subclassed QDesktopWidget won't do anything too.</div><div><br></div><div>Does anybody know anything about this?</div><div><br></div><div>Thanks,</div><div>Maurizio</div></div><div dir="ltr"><div dir="ltr"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">È difficile avere una convinzione precisa quando si parla delle ragioni del cuore. - "Sostiene Pereira", Antonio Tabucchi<br><a href="http://www.jidesk.net" target="_blank">http://www.jidesk.net</a></div></div></div></div></div>