![]() |
NDEVR
API Documentation
|
The primary logic for initializing an application within the NDEVR engine by calling module functions in the appropriate order and initializing any common resources or services. More...
Public Member Functions | |
| WidgetInitialization () | |
| Constructs a WidgetInitialization with default settings. | |
| WidgetInitialization (int argc, char **argv) | |
| Constructs a WidgetInitialization with command-line arguments. | |
| virtual void | errorHandlingInit () |
| Initializes error and crash handling. | |
| virtual NDEVRApplication * | initializeApplication () |
| Creates and returns the NDEVRApplication instance. | |
| virtual int | launch () |
| Launches the application event loop. | |
| virtual void | registerMetatypes () |
| Registers Qt metatypes from loaded modules. | |
| virtual void | setupAll () |
| Runs all setup steps in the correct order. | |
| virtual void | setUpdateChecker () |
| Registers the software update checker from loaded modules. | |
| virtual void | setupFactories () |
| Registers I/O and other factories from loaded modules. | |
| virtual void | setupFileStructure () |
| Creates required directories and unpacks resources from loaded modules. | |
| virtual void | setupFonts () |
| Loads and configures application fonts. | |
| virtual void | setupLanguages () |
| Sets up language translations from loaded modules. | |
| virtual void | setupManuals () |
| Registers help manuals from loaded modules. | |
| virtual void | setupModules () |
| Loads and initializes all modules. | |
| virtual void | setupUI () |
| Initializes the user interface from loaded modules. | |
| virtual void | setupUIThemes () |
| Registers UI icon and color themes from loaded modules. | |
| virtual void | setupUnits () |
| Configures unit systems from loaded modules. | |
| virtual void | setupUserOptions () |
| Registers user-configurable options from loaded modules. | |
Public Attributes | |
| NDEVRApplication * | app = nullptr |
| The application instance. | |
| int | argc |
| The command-line argument count. | |
| char ** | argv |
| The command-line argument values. | |
| bool | auto_restart = true |
| Whether to auto-restart the application on crash. | |
| bool | disable_auto_screen_factor = true |
| Whether to disable automatic screen scale factor. | |
| QTWindowManager * | gui = nullptr |
| The window manager instance. | |
| bool | launch_model_manager = true |
| Whether to launch the QTModelManager. | |
| std::function< void()> | load_modules_callback |
| Optional callback invoked after modules are loaded. | |
| bool | load_user_settings = true |
| Whether to load saved user settings. | |
| String | main_module_name |
| The name of the primary application module. | |
| QTModelManager * | manager = nullptr |
| The model manager instance. | |
| bool | qt_allow_virtual_keyboard = false |
| Whether to enable the Qt virtual keyboard. | |
| bool | qt_enable_high_dpi_scaling = true |
| Whether to enable Qt high-DPI scaling. | |
| bool | qt_use_high_dpi_bitmaps = true |
| Whether to use high-DPI bitmaps. | |
| bool | setup_error_handling = true |
| Whether to initialize error handling. | |
| bool | setup_factories = true |
| Whether to register I/O factories. | |
| bool | setup_file_structure = true |
| Whether to create required directories. | |
| bool | setup_fonts = true |
| Whether to load and configure fonts. | |
| bool | setup_language = true |
| Whether to initialize language translations. | |
| bool | setup_modules = true |
| Whether to load and initialize modules. | |
| bool | validate_file_structure = true |
| Whether to validate the file structure on startup. | |
The primary logic for initializing an application within the NDEVR engine by calling module functions in the appropriate order and initializing any common resources or services.
Definition at line 15 of file WidgetInitialization.h.
| WidgetInitialization::WidgetInitialization | ( | int | argc, |
| char ** | argv ) |
Constructs a WidgetInitialization with command-line arguments.
|
virtual |
Creates and returns the NDEVRApplication instance.
|
virtual |
Launches the application event loop.
Reimplemented in ApplicationSetup.