From fabd8e40a326f21aee32135a040fbe474b991f7a Mon Sep 17 00:00:00 2001 From: chrin Date: Thu, 7 Mar 2024 20:30:00 +0100 Subject: [PATCH] devl --- src/gui.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/gui.py b/src/gui.py index 08c9944..8b0f764 100644 --- a/src/gui.py +++ b/src/gui.py @@ -89,7 +89,9 @@ class AppGui(QWidget): 0, QLabel(" Shift Type:")) self.gui_frame.operator_parameters_group.layout().insertWidget( 1, shift_type) - + self.gui_frame.operator_parameters_group.setFixedHeight(150) + self.gui_frame.measurement_tab_wgt.setFixedHeight(220) + self.gui_frame.results_wgt.setFixedWidth(1400) self.gui_frame.results_wgt.setFixedHeight(860) self.gui_frame.results_wgt.setLayout(self.gui_frame.results_layout) @@ -944,7 +946,7 @@ class AppGui(QWidget): # updates of SOL also update PWR, and vice-versa # Do not click if already on standby!! - with self.lock(): + with self.lock: update_enabled = is_update_enabled() if update_enabled: @@ -976,11 +978,11 @@ class AppGui(QWidget): # Disable because _table.set_standby_values() enables it if not update_enabled: - with self.lock(): + with self.lock: self.table_pwr_dict[sector].init_value_button.setEnabled(False) table.init_value_button.setEnabled(False) - + def on_sector_restore(self): target = self.sender() sector = target.sector