Progress bar

The progress module contains a progress bar usable with Myokit gui’s.

Implementation

class myokit.gui.progress.ProgressBar(parent, message)

Progress bar dialog for Myokit. Has a method reporter() that will return a myokit.ProgressReporter for interfacing with simulations and other tasks implementing the ProgressReporter interface.

reporter()

Returns a ProgressReporter for his progress bar.

was_cancelled()

Pythonic version of Qt class.

class myokit.gui.progress.ProgressBarReporter(pd)

A myokit.ProgressReporter that sends updates to a ProgressBar. To use, create a ProgressBar and then call its reporter() method to obtain a linked ProgressBarReporter.