main(application_admin,
initialization=<function <lambda> at 0xbb7880c>,
pre_initialization=<function <lambda> at 0xbb78b1c>)
| source code
|
shortcut main function, call this function to start the GUI interface with minimal hassle
and without the need to construct an Application object. If you need to customize the initialization
process, construct an Application subclass and use it's main method.
@param application_admin: object of type ApplicationAdmin (as defined in application_admin.py)
that specifies the look of the GUI interface
@param initialization: function that will be called during the appearance of the splash
screen, put all time consuming initialization here. this function will be called after the
model thread has been started.
@param pre-initialization: function that will be called before the model thread has been started,
but after the QApplication has been created. This function can be used to run a configuration
wizard before a connection to the database was made or any gui element has been constructed.
|