Hi guys! I was trying to show mainwindow after to hide that, but I couldn`t do that.
First I hide the mainwindow in the pushbutton action and open a dialog window:
Qt Code:
void MainWindow::on_NewTest_clicked() { this->hide(); NewTest newtest; newtest.setModal(true); newtest.exec(); }To copy to clipboard, switch view to plain text mode
Then in this dialog window I would like to add a button to return to the mainwindow, but I searched and I didn`t found anything about it. Thanks guys!
Bookmarks