Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I am writing a class that will handle the events found in QWindow, should my class inherit QWindow or QWidget?
I ask because when I added the class using Qt Creator there was no option to base the class on QWindow.
Then subclass QWidget or if you need OpenGL features QOpenGLWidget.
Hi,
It depends on what you want to do with it.
Can your explain ?
I want to add handlers for resizeEvent so when the window is resized I can manage the controls inside it.
I meant what will be the purpose of that thing ? Do you need the widgets features ?
Yes, most definitely.
Thank you