Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Draw children with offset
-
Hi, I'm a newbie, I would like to draw my widgets' children twice:
once regularly and again with an offset, I'm guessing I should override paintEvent(), perform a translation on QPainter and iterate the children. Can anyone please give me an example for drawing the children?
-
I'm using c++ QWidget
-
Hi,
Can you show an illustration of what you want to achieve ?
Each widget is responsible for its own painting thus you can't paint a widget from another one.