The progress module contains a progress bar usable with Myokit gui’s.
- class myokit.gui.progress.ProgressBar(parent, message)¶
ProgressReporterfor his progress bar.
Pythonic version of Qt class.
- class myokit.gui.progress.ProgressBarReporter(pd)¶
This method will be called when the job that provides progress updates is started.
An optional description of the job to run can be passed in at construction time as
Called when a job is finished and the progress reports should stop.
This method will be called to provides updates about the current progress. This is indicated using the floating point value
progress, which will have a value in the range
The return value of this update can be used to signal a job should be cancelled: Return
Trueto keep going,