From d119fd22758d033beb286726d5d6baba4510789f Mon Sep 17 00:00:00 2001 From: atse Date: Wed, 1 Nov 2023 11:48:26 +0800 Subject: [PATCH] Longer duration tooltip for zero limits warning --- pytec/tec_qt.ui | 6 +++++- pytec/ui_tec_qt.py | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pytec/tec_qt.ui b/pytec/tec_qt.ui index 326d785..b00c405 100644 --- a/pytec/tec_qt.ui +++ b/pytec/tec_qt.ui @@ -253,7 +253,11 @@ - + + + 1000000000 + + diff --git a/pytec/ui_tec_qt.py b/pytec/ui_tec_qt.py index 909c89f..73c1455 100644 --- a/pytec/ui_tec_qt.py +++ b/pytec/ui_tec_qt.py @@ -128,6 +128,7 @@ class Ui_MainWindow(object): self.plot_settings.setObjectName("plot_settings") self.settings_layout.addWidget(self.plot_settings) self.limits_warning = QtWidgets.QLabel(parent=self.bottom_settings_group) + self.limits_warning.setToolTipDuration(1000000000) self.limits_warning.setObjectName("limits_warning") self.settings_layout.addWidget(self.limits_warning) self.background_task_lbl = QtWidgets.QLabel(parent=self.bottom_settings_group)