mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
added helper methods to know on which tab we are
This commit is contained in:
parent
996bd4897b
commit
430f30c05e
1 changed files with 12 additions and 0 deletions
|
|
@ -539,6 +539,18 @@ class PublisherWindow(QtWidgets.QDialog):
|
||||||
def _go_to_report_tab(self):
|
def _go_to_report_tab(self):
|
||||||
self._set_current_tab("report")
|
self._set_current_tab("report")
|
||||||
|
|
||||||
|
def _is_on_create_tab(self):
|
||||||
|
self._is_current_tab("create")
|
||||||
|
|
||||||
|
def _is_on_publish_tab(self):
|
||||||
|
self._is_current_tab("publish")
|
||||||
|
|
||||||
|
def _is_on_details_tab(self):
|
||||||
|
self._is_current_tab("details")
|
||||||
|
|
||||||
|
def _is_on_report_tab(self):
|
||||||
|
self._is_current_tab("report")
|
||||||
|
|
||||||
def _set_publish_overlay_visibility(self, visible):
|
def _set_publish_overlay_visibility(self, visible):
|
||||||
if visible:
|
if visible:
|
||||||
widget = self._publish_overlay
|
widget = self._publish_overlay
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue