At the beginning of the project, the bar wasn't necessary, but now they told me to do it. So I have a QWidget with all the project in.
At the beginning of the project, the bar wasn't necessary, but now they told me to do it. So I have a QWidget with all the project in.
Create a QMainWindow and use your QWidget as centralWidget.
A camel can go 14 days without drink,
I can't!!!
Like mcosta said, using QMainWindow is a good choice.
But if you insisting using QWidget to add menu bar, this post may be helpful to you: Qt QWidget add menu bar
Bookmarks