Set windows as Dialogs instead of MainWindows.
This commit is contained in:
parent
b7d5afc0ca
commit
8fb689d163
4 changed files with 12 additions and 3 deletions
|
@ -10,7 +10,10 @@ SettingsWindow::SettingsWindow (QWidget *parent) : QMainWindow (parent)
|
|||
setWindowIcon (QIcon (":icon.png"));
|
||||
#endif
|
||||
setWindowTitle ("Promoe - Settings window");
|
||||
|
||||
setWindowFlags (Qt::Dialog);
|
||||
setWindowModality (Qt::ApplicationModal);
|
||||
setAttribute (Qt::WA_DeleteOnClose);
|
||||
|
||||
resize (400, 500);
|
||||
|
||||
QWidget *dummy = new QWidget (this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue