how to show a window in same window not new page
M4RZB4Ni last edited by
i have 3 window and with below code second window show in a new page.
i want to when i pressed a button for open new page,new page dont show in new window and show in same window.
how i must do this?
Secretary *dialog = new Secretary; dialog->showMaximized();
Then do not use QDialog.
You can use QTabWidget.
QStackedwidget is also good for a design where you want a mainwindow