mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
added docstrings to host tools
This commit is contained in:
parent
7a50a106e3
commit
33764f6e16
1 changed files with 11 additions and 0 deletions
|
|
@ -220,6 +220,16 @@ class HostToolsHelper:
|
|||
look_assigner_tool.show()
|
||||
|
||||
def get_experimental_tools_dialog(self, parent=None):
|
||||
"""Dialog of experimental tools.
|
||||
|
||||
For some hosts it is not easy to modify menu of tools. For
|
||||
those cases was addded experimental tools dialog which is Qt based
|
||||
and can dynamically filled by experimental tools so
|
||||
host need only single "Experimental tools" button to see them.
|
||||
|
||||
Dialog can be also empty with a message that there are not available
|
||||
experimental tools.
|
||||
"""
|
||||
if self._experimental_tools_dialog is None:
|
||||
from openpype.tools.experimental_tools import (
|
||||
ExperimentalToolsDialog
|
||||
|
|
@ -229,6 +239,7 @@ class HostToolsHelper:
|
|||
return self._experimental_tools_dialog
|
||||
|
||||
def show_experimental_tools_dialog(self, parent=None):
|
||||
"""Show dialog with experimental tools."""
|
||||
dialog = self.get_experimental_tools_dialog(parent)
|
||||
|
||||
dialog.show()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue