Hi,
I have finalized an app as a QWidget. I want to add a menu and wonder which is the easiest way to do this.
Can I convert QWidget to QMainWindow easy?
/Thomas
Hi,
I have finalized an app as a QWidget. I want to add a menu and wonder which is the easiest way to do this.
Can I convert QWidget to QMainWindow easy?
/Thomas
Sure, you can! Just change your widget parent class / superclass from QWidget to QMainWindow. Don't forget to change your constructor too.Can I convert QWidget to QMainWindow easy?
Ok thanks!
But how do I change the constructor?
/Thomas
That is optional. If your constructor calling QWidgetconstructor, you have to change it.
~ We are nothing in this universe ~
Bookmarks