classes used in progress pages from first run wizard
Bases: PyQt4.QtGui.QWidget
Bases: PyQt4.QtGui.QWizardPage, leap.gui.progress.WithStepsMixIn
Bases: object
Data model for sequential steps to be used in a progress page in connection wizard
Bases: object
a container for ProgressSteps objects access data in the internal dict
Bases: PyQt4.QtGui.QTableWidget
initializes a TableWidget suitable for our display purposes, like removing header info and grid display
Bases: PyQt4.QtGui.QWizardPage, leap.gui.progress.WithStepsMixIn
class to be used as an intermediate between two pages in a wizard. shows feedback to the user and goes back if errors, goes forward if ok. initializePage triggers a one shot timer that calls do_checks. Derived classes should implement _do_checks and _do_validation
Bases: object
This Class is a mixin that can be inherited by InlineValidation pages (which will display a progress steps widget in the same page as the form) or by Validation Pages (which will only display the progress steps in the page, below a progress bar widget)
adds a new status line and mark the next-to-last item as done
main entry point for checks. it calls _do_checks in derived classes, and it expects it to be a generator yielding a tuple in the form ((“message”, progress_int), checkfunction)
return failed state and send error notification as a nice side effect. this function is called from the _do_checks check functions returned in the generator.
consume steps queue and pass messages to the ui updater functions
mark the last item as done
should be called from the init method of the derived classes
utility functions to work with gui objects
Triggers a function or slot with a small delay. this is a mainly a hack to get responsiveness in the ui in cases in which the event loop freezes and the task is not heavy enough to setup a processing queue.
return a generator with all widgets in a layout