From 3c1228e8a8b13fc8048619188ed879e1029841b9 Mon Sep 17 00:00:00 2001 From: atse Date: Mon, 9 Sep 2024 12:09:50 +0800 Subject: [PATCH] Remove report mode box --- pytec/pytec/gui/view/tec_qt.ui | 27 +-------------------------- pytec/tec_qt.py | 5 ----- 2 files changed, 1 insertion(+), 31 deletions(-) diff --git a/pytec/pytec/gui/view/tec_qt.ui b/pytec/pytec/gui/view/tec_qt.ui index 8b20fd9..6c7f6c6 100644 --- a/pytec/pytec/gui/view/tec_qt.ui +++ b/pytec/pytec/gui/view/tec_qt.ui @@ -369,7 +369,7 @@ 0 - + 6 @@ -435,31 +435,6 @@ - - - - - 0 - 0 - - - - - 80 - 16777215 - - - - - 80 - 0 - - - - Report - - - diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index c9c896a..fa78e45 100755 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -160,7 +160,6 @@ class MainWindow(QtWidgets.QMainWindow): case ThermostatConnectionState.DISCONNECTED: self.connect_btn.setText("Connect") self.status_lbl.setText("Disconnected") - self.report_box.setChecked(False) @pyqtSlot(int, PIDAutotuneState) def _on_pid_autotune_state_changed(self, _ch, _state): @@ -214,10 +213,6 @@ class MainWindow(QtWidgets.QMainWindow): ThermostatConnectionState.DISCONNECTED ) - @asyncSlot(int) - async def on_report_box_stateChanged(self, enabled): - await self._thermostat.set_report_mode(enabled) - async def coro_main(): args = get_argparser().parse_args()