From 2c36b3b2023a5905328b53742a0c629cafa1a21d Mon Sep 17 00:00:00 2001 From: njdaoyehu Date: Sun, 24 Nov 2024 01:28:21 +0800 Subject: [PATCH] fixed --- .idea/detect-gui.iml | 2 +- .idea/misc.xml | 2 +- widget/task_list.py | 1 + widget/task_run.py | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.idea/detect-gui.iml b/.idea/detect-gui.iml index 80f67ae..a1b377a 100644 --- a/.idea/detect-gui.iml +++ b/.idea/detect-gui.iml @@ -4,7 +4,7 @@ - + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 66b3d02..9f2e3a2 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,5 +3,5 @@ - + \ No newline at end of file diff --git a/widget/task_list.py b/widget/task_list.py index 1322764..c77a8d6 100644 --- a/widget/task_list.py +++ b/widget/task_list.py @@ -138,6 +138,7 @@ class TaskListWidget(QWidget): try: param_json = json.loads(task[3]) self.run_dialog = TaskRunDialog(param_json) + self.run_dialog.setGeometry(0,0,1920,1080) dialog_result = self.run_dialog.exec_() if dialog_result == 0: c = 0 diff --git a/widget/task_run.py b/widget/task_run.py index 4bc1ee9..8837681 100644 --- a/widget/task_run.py +++ b/widget/task_run.py @@ -19,7 +19,7 @@ class TaskRunDialog(QDialog): self.setWindowModality(Qt.ApplicationModal) self.setAttribute(Qt.WA_DeleteOnClose) self.setWindowTitle("检测窗口") - self.showFullScreen() + # self.showFullScreen() self.bim_widget = None self.check_widget = None