API Documentation
Loading...
Searching...
No Matches
WidgetInitialization.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/NDEVRApplication.h>
4#include <NDEVR/String.h>
5#include <functional>
6namespace NDEVR
7{
8 class String;
9 class QTModelManager;
10 class QTWindowManager;
12 {
13 public:
15 WidgetInitialization(int argc, char** argv);
16 virtual void setupLanguages();
17 virtual void setupUnits();
18 virtual void setupFonts();
19 virtual void setupUI();
20 virtual void registerMetatypes();
21 virtual void setupFileStructure();
22 virtual void setupFactories();
23 virtual void setupManuals();
24 virtual void errorHandlingInit();
25 virtual void setUpdateChecker();
26 virtual void setupUIThemes();
27 virtual void requestPermissions();
28 virtual void setupModules();
29 virtual void setupUserOptions();
30 virtual NDEVRApplication* initializeApplication();
31 virtual void setupAll();
32 virtual int launch();
33
34 int argc;
35 char** argv;
36 std::function<void()> load_modules_callback;
38 bool setup_language = true;
39 bool validate_file_structure = true;
40 bool setup_fonts = true;
41 bool setup_factories = true;
42 bool setup_error_handling = true;
43 bool setup_file_structure = true;
44 bool launch_model_manager = true;
45 bool qt_enable_high_dpi_scaling = true;
46 bool qt_use_high_dpi_bitmaps = true;
47 bool qt_allow_virtual_keyboard = false;
48 bool auto_restart = true;
49 bool setup_modules = true;
50 bool disable_os_keyboard = false;
51 bool disable_auto_screen_factor = true;
52 bool load_user_settings = true;
53 NDEVRApplication* app = nullptr;
54 QTModelManager* manager = nullptr;
55 QTWindowManager* gui = nullptr;
56
57 };
58}
#define NDEVR_WIDGETS_API
Definition DLLInfo.h:81
Definition NDEVRApplication.h:7
Definition QTModelManager.h:94
Definition String.h:40
Definition WidgetInitialization.h:12
std::function< void()> load_modules_callback
Definition WidgetInitialization.h:36
String main_module_name
Definition WidgetInitialization.h:37
int argc
Definition WidgetInitialization.h:34
char ** argv
Definition WidgetInitialization.h:35
Definition ACIColor.h:37