AYON Bin Bridge Client  0.1.0
Loading...
Searching...
No Matches
ayon_bin_distro.gui.progress_ui.ProgressDialog Class Reference
Inheritance diagram for ayon_bin_distro.gui.progress_ui.ProgressDialog:
Collaboration diagram for ayon_bin_distro.gui.progress_ui.ProgressDialog:

Public Member Functions

def __init__ (self, worker.Controller controller, bool delete_progress_bar_on_finish=True, bool close_on_finish=False, float auto_close_timeout=0.5, str title="", int ui_update_interval=100)
 
def start (self)
 

Private Member Functions

def _update_progress_elements (self)
 

Constructor & Destructor Documentation

◆ __init__()

def ayon_bin_distro.gui.progress_ui.ProgressDialog.__init__ (   self,
worker.Controller  controller,
bool   delete_progress_bar_on_finish = True,
bool   close_on_finish = False,
float   auto_close_timeout = 0.5,
str   title = "",
int   ui_update_interval = 100 
)
Class to display the progress of the worker.Controller to a user.

Args:
    controller (worker.Controller): controller that should be monitored
    delete_progress_bar_on_finish (bool): to allow for progress bars to be deleted when they finished
    close_on_finish (bool): to decided if the Gui needs to be closed manually
    auto_close_timeout (float): timeout value for how long the GUI should exist after all process bars have finished
    title (str): GUI window title
    ui_update_interval (int): defines the interval that is used to ask the `worker.Controller` for the current state of the tasks
Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ _update_progress_elements()

def ayon_bin_distro.gui.progress_ui.ProgressDialog._update_progress_elements (   self)
private
calls the MultiProgressWidget to update the process bars, or closes the GUI if all work has finished (sleeps the current thread until timeout has been reached to close the GUI).
Here is the caller graph for this function:

◆ start()

def ayon_bin_distro.gui.progress_ui.ProgressDialog.start (   self)
starts the controller and directly displays the GUI on the current thread
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: