Disable dialog fullscreen
This commit is contained in:
@@ -100,7 +100,8 @@ MainWindow::MainWindow(QWidget* parent) :
|
|||||||
}
|
}
|
||||||
msgDialog->showExitButton();
|
msgDialog->showExitButton();
|
||||||
msgDialog->stopLoading();
|
msgDialog->stopLoading();
|
||||||
msgDialog->showFullScreen();
|
// msgDialog->showFullScreen();
|
||||||
|
msgDialog->show();
|
||||||
});
|
});
|
||||||
connect(EventCenter::Default(), &EventCenter::InvokeOperationStart, [=](QObject*, QObject* msg) {
|
connect(EventCenter::Default(), &EventCenter::InvokeOperationStart, [=](QObject*, QObject* msg) {
|
||||||
if (!msgDialog) msgDialog = new GUIMessageDialog(this);
|
if (!msgDialog) msgDialog = new GUIMessageDialog(this);
|
||||||
@@ -114,7 +115,8 @@ MainWindow::MainWindow(QWidget* parent) :
|
|||||||
}
|
}
|
||||||
msgDialog->hideExitButton();
|
msgDialog->hideExitButton();
|
||||||
msgDialog->startLoading();
|
msgDialog->startLoading();
|
||||||
msgDialog->showFullScreen();
|
// msgDialog->showFullScreen();
|
||||||
|
msgDialog->show();
|
||||||
});
|
});
|
||||||
connect(EventCenter::Default(), &EventCenter::InvokeOperationProgress, [=](QObject*, QObject* msg) {
|
connect(EventCenter::Default(), &EventCenter::InvokeOperationProgress, [=](QObject*, QObject* msg) {
|
||||||
if (!msgDialog) msgDialog = new GUIMessageDialog(this);
|
if (!msgDialog) msgDialog = new GUIMessageDialog(this);
|
||||||
@@ -127,7 +129,8 @@ MainWindow::MainWindow(QWidget* parent) :
|
|||||||
msgDialog->hideMessage();
|
msgDialog->hideMessage();
|
||||||
}
|
}
|
||||||
msgDialog->hideExitButton();
|
msgDialog->hideExitButton();
|
||||||
msgDialog->showFullScreen();
|
// msgDialog->showFullScreen();
|
||||||
|
msgDialog->show();
|
||||||
});
|
});
|
||||||
connect(EventCenter::Default(), &EventCenter::InvokeOperationEnd, [=]() {
|
connect(EventCenter::Default(), &EventCenter::InvokeOperationEnd, [=]() {
|
||||||
if (!msgDialog) return;
|
if (!msgDialog) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user