mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
moved progress methos to top
This commit is contained in:
parent
8c0392e34b
commit
08703fbae3
1 changed files with 8 additions and 4 deletions
|
|
@ -995,6 +995,14 @@ class PublishOverlayFrame(QtWidgets.QFrame):
|
|||
self.refresh_btn = refresh_btn
|
||||
self.publish_btn = publish_btn
|
||||
|
||||
def set_progress_range(self, max_value):
|
||||
# TODO implement triggers for this method
|
||||
self.progress_widget.setMaximum(max_value)
|
||||
|
||||
def set_progress(self, value):
|
||||
# TODO implement triggers for this method
|
||||
self.progress_widget.setValue(value)
|
||||
|
||||
def _on_instance_change(self, context, instance):
|
||||
if instance is None:
|
||||
new_name = (
|
||||
|
|
@ -1021,8 +1029,4 @@ class PublishOverlayFrame(QtWidgets.QFrame):
|
|||
self.plugin_label.setText(plugin_name)
|
||||
QtWidgets.QApplication.processEvents()
|
||||
|
||||
def set_progress_range(self, max_value):
|
||||
self.progress_widget.setMaximum(max_value)
|
||||
|
||||
def set_progress(self, value):
|
||||
self.progress_widget.setValue(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue