forked from M-Labs/thermostat
ConnectionBtn + StatusLbl
This commit is contained in:
parent
6d518560df
commit
382e5d916f
|
@ -146,13 +146,13 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||
)
|
||||
|
||||
case ThermostatConnectionState.CONNECTING:
|
||||
self.status_lbl.setText("Connecting...")
|
||||
self.connect_btn.setText("Stop")
|
||||
self.status_lbl.setText("Connecting...")
|
||||
|
||||
case ThermostatConnectionState.DISCONNECTED:
|
||||
self.connect_btn.setText("Connect")
|
||||
|
||||
self.status_lbl.setText("Disconnected")
|
||||
|
||||
self.background_task_lbl.setText("Ready.")
|
||||
self.loading_spinner.hide()
|
||||
self.loading_spinner.stop()
|
||||
|
|
Loading…
Reference in New Issue