That's not the right way to do it. Subclass QWidget and there, use the paint event and do your drawings. Then you can use that subclassed widget in your main window constructor.
That's not the right way to do it. Subclass QWidget and there, use the paint event and do your drawings. Then you can use that subclassed widget in your main window constructor.
Bookmarks