forked from M-Labs/thermostat
Add tooltip to settings buttons
This commit is contained in:
parent
1f0e74bf9f
commit
34ed3cf39a
|
@ -154,6 +154,9 @@
|
|||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Thermostat Settings</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
|
@ -263,6 +266,9 @@
|
|||
<widget class="QToolButton" name="plot_settings">
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
<property name="toolTip">
|
||||
<string>Plot Settings</string>
|
||||
</property>
|
||||
</property>
|
||||
<property name="popupMode">
|
||||
<enum>QToolButton::InstantPopup</enum>
|
||||
|
|
|
@ -225,9 +225,11 @@ class Ui_MainWindow(object):
|
|||
self.ch0_t_graph.setTitle(_translate("MainWindow", "Channel 0 Temperature"))
|
||||
self.ch0_i_graph.setTitle(_translate("MainWindow", "Channel 0 Current"))
|
||||
self.ch1_i_graph.setTitle(_translate("MainWindow", "Channel 1 Current"))
|
||||
self.bottom_settings_group.setToolTip(_translate("MainWindow", "Thermostat Settings"))
|
||||
self.connect_btn.setText(_translate("MainWindow", "Connect"))
|
||||
self.status_lbl.setText(_translate("MainWindow", "Disconnected"))
|
||||
self.plot_settings.setText(_translate("MainWindow", "..."))
|
||||
self.plot_settings.setToolTip(_translate("MainWindow", "Plot Settings"))
|
||||
self.report_lbl.setText(_translate("MainWindow", "Poll every: "))
|
||||
self.report_refresh_spin.setSuffix(_translate("MainWindow", " s"))
|
||||
self.report_box.setText(_translate("MainWindow", "Report"))
|
||||
|
|
Loading…
Reference in New Issue