API Documentation
|
Initializes the engine for most applications. Applications using the default workspace should call this function to layout and initialize the application. Calls all relevant module functions in the correct order. More...
#include <ApplicationSetup.h>
Public Types | |
enum | UIMode { e_no_ui , e_window_manager , e_3D_window_manager } |
Public Member Functions | |
ApplicationSetup () | |
ApplicationSetup (int argc, char **argv) | |
int | launch () override |
void | registerMetatypes () override |
void | setupFactories () override |
void | setupUI () override |
void | setupUserOptions () override |
Public Member Functions inherited from WidgetInitialization | |
virtual void | errorHandlingInit () |
virtual NDEVRApplication * | initializeApplication () |
virtual void | requestPermissions () |
virtual void | setupAll () |
virtual void | setUpdateChecker () |
virtual void | setupFileStructure () |
virtual void | setupFonts () |
virtual void | setupLanguages () |
virtual void | setupManuals () |
virtual void | setupModules () |
virtual void | setupUIThemes () |
virtual void | setupUnits () |
WidgetInitialization () | |
WidgetInitialization (int argc, char **argv) | |
Public Attributes | |
std::function< void(QWidget *)> | main_window_created_callback |
UIMode | ui_mode = e_3D_window_manager |
Public Attributes inherited from WidgetInitialization | |
NDEVRApplication * | app = nullptr |
int | argc |
char ** | argv |
bool | auto_restart = true |
bool | disable_auto_screen_factor = true |
bool | disable_os_keyboard = false |
QTWindowManager * | gui = nullptr |
bool | launch_model_manager = true |
std::function< void()> | load_modules_callback |
bool | load_user_settings = true |
String | main_module_name |
QTModelManager * | manager = nullptr |
bool | qt_allow_virtual_keyboard = false |
bool | qt_enable_high_dpi_scaling = true |
bool | qt_use_high_dpi_bitmaps = true |
bool | setup_error_handling = true |
bool | setup_factories = true |
bool | setup_file_structure = true |
bool | setup_fonts = true |
bool | setup_language = true |
bool | setup_modules = true |
bool | validate_file_structure = true |
Initializes the engine for most applications. Applications using the default workspace should call this function to layout and initialize the application. Calls all relevant module functions in the correct order.
enum UIMode |
ApplicationSetup | ( | ) |
ApplicationSetup | ( | int | argc, |
char ** | argv ) |
|
overridevirtual |
Reimplemented from WidgetInitialization.
|
overridevirtual |
Reimplemented from WidgetInitialization.
|
overridevirtual |
Reimplemented from WidgetInitialization.
|
overridevirtual |
Reimplemented from WidgetInitialization.
|
overridevirtual |
Reimplemented from WidgetInitialization.
std::function<void(QWidget*)> main_window_created_callback |
UIMode ui_mode = e_3D_window_manager |