how to make a mainwindow as a MDI parent in Qt creator
Asked
Active
Viewed 1,698 times
1 Answers
1
Consider using QMdiArea widget as a central widget of your parent window. Smth like this:
QMainWindow *mainWindow = new QMainWindow;
mainWindow->setCentralWidget(mdiArea);
better example is here: MDI Example
hope this helps, regards

serge_gubenko
- 20,186
- 2
- 61
- 64