
Originally Posted by
shamik
what i used to do is i was loading a login dioalog from main. then from login dialog i used to load the edit dialog which contained the QDataTable and hide the login dialog.
In other words you had something like this?
int main(...) {
...
LoginDialog dialog; // modal dialog
dialog.exec(); // dialog shows the main window and exec() returns when user closes that window
...
return app.exec();
}
int main(...) {
QApplication app(...);
...
LoginDialog dialog; // modal dialog
dialog.exec(); // dialog shows the main window and exec() returns when user closes that window
...
return app.exec();
}
To copy to clipboard, switch view to plain text mode
Bookmarks