When the application starts, a login window appears(which is a QDialog) and on successful login, Mainwindow is shown maximized.
Here is what i am trying to do:
MainWindow *mw;
mw = new MainWindow(login, "MainWindow", ((Qt::WType_TopLevel) & (Qt::WStyle_Customize |~Qt::WStyle_SysMenu)));
But, this displays the mainwindow similar to a dialog and is not maximized. It will have only an option to close the window. What i want is after logging in, a mainwindow should be shown(maximized) with only a close option.
Is it correct what i am doing?????
Thank u very much for the fast reply
Bookmarks