artellapipe.gui.progressbar module

Module that contains widget for progress bar

class artellapipe.gui.progressbar.ArtellaProgressBar(project, parent=None)

Bases: tpQtLib.core.base.BaseWidget, object

set_maximum(max_value)

Sets the maximum value of the progress bar :param max_value: int

set_minimum(min_value)

Sets the minimum value of the progress bar :param min_value: int

set_text(text)

Sets the progress text :param text: str

set_value(value)

Sets the value of the progress bar :param value: int

staticMetaObject = <PySide2.QtCore.QMetaObject object>
ui()

Function that sets up the ui of the widget Override it on new widgets (but always call super)

value()

Returns vaue of the progress bar :return: float