bgdev.ui.progress_bar

ProgressBar class to use in Maya.

Todo

Convert to PySide and move to bgdev.ui.widget

created

23/05/2018

author

Benoit Gielly <benoit.gielly@gmail.com>

class ProgressBar[source]

Bases: object

ProgressBar class.

__init__()[source]

Constructor.

end()[source]

Finish the process.

is_cancelled()[source]

Check if progress was cancelled (esc. key pressed).

start(status='Begin operation...', value=100)[source]

Start the process.

property status

Update the status of the progressBar.

Type

str

step(step=1)[source]

Increase progress step by one.

class ProgressBar2[source]

Bases: object

ProgressBar class.

__init__()[source]

Constructor.

end()[source]

Finish the process.

start(status='Begin operation...', maximum=100)[source]

Start the process.

property status

Update the status of the progressBar.

Type

str

step()[source]

Increase progress step by one.