Longer duration tooltip for zero limits warning

This commit is contained in:
atse 2023-11-01 11:48:26 +08:00
parent 111742b809
commit d119fd2275
2 changed files with 6 additions and 1 deletions

View File

@ -253,7 +253,11 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="limits_warning"/> <widget class="QLabel" name="limits_warning">
<property name="toolTipDuration">
<number>1000000000</number>
</property>
</widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="background_task_lbl"> <widget class="QLabel" name="background_task_lbl">

View File

@ -128,6 +128,7 @@ class Ui_MainWindow(object):
self.plot_settings.setObjectName("plot_settings") self.plot_settings.setObjectName("plot_settings")
self.settings_layout.addWidget(self.plot_settings) self.settings_layout.addWidget(self.plot_settings)
self.limits_warning = QtWidgets.QLabel(parent=self.bottom_settings_group) self.limits_warning = QtWidgets.QLabel(parent=self.bottom_settings_group)
self.limits_warning.setToolTipDuration(1000000000)
self.limits_warning.setObjectName("limits_warning") self.limits_warning.setObjectName("limits_warning")
self.settings_layout.addWidget(self.limits_warning) self.settings_layout.addWidget(self.limits_warning)
self.background_task_lbl = QtWidgets.QLabel(parent=self.bottom_settings_group) self.background_task_lbl = QtWidgets.QLabel(parent=self.bottom_settings_group)