mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
added public method to change timer stopped attribute
This commit is contained in:
parent
4c8ae9d8a9
commit
bc1ad2b7d2
1 changed files with 4 additions and 0 deletions
|
|
@ -107,6 +107,10 @@ class WidgetUserIdle(QtWidgets.QWidget):
|
|||
self.setMaximumSize(QtCore.QSize(self.SIZE_W+100, self.SIZE_H+100))
|
||||
self.setStyleSheet(style.load_stylesheet())
|
||||
|
||||
def set_timer_stopped(self):
|
||||
self._timer_stopped = True
|
||||
self._refresh_context()
|
||||
|
||||
def _update_countdown_label(self):
|
||||
self.lbl_rest_time.setText(str(self._countdown))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue