main

Main function, to be called to start the GUI interface

camelot.view.main.main(application_admin)[source]

shortcut main function, call this function to start the GUI interface with minimal hassle and without the need to construct a main action object.

If you need to customize the initialization process, use the main_action() function an supply the custom action object.

Parameters:application_admin – a camelot.admin.application_admin.ApplicationAdmin object that specifies the look of the GUI interface
camelot.view.main.main_action(action)[source]

Construct a QtWidgets.QApplication, start the event loop and run a camelot.admin.action.base.Action object.

Use this function for complete customization of a Camelot application. The typical use case is to call this function with a subclass of camelot.admin.action.application.Application. But it can be used with any action object.