QSettingsDialog  1.0.0
A Qt library to easily create a settings dialog for user configurable settings
variantwidgetsregistrator.h
1 #ifndef VARIANTWIDGETSREGISTRATOR_H
2 #define VARIANTWIDGETSREGISTRATOR_H
3 
4 #include "qsettingsdialog_global.h"
5 
7 #define VARIANT_WIDGETS_AUTOLOAD "env_qsettingsdialog_autoload"
8 #define AUTOLOAD_GROUPS 0b1000
10 #define AUTOLOAD_WIDGETS 0b0100
12 #define AUTOLOAD_ENUMS 0b0010
14 #define AUTOLOAD_EXTENDED 0b0001
16 
18 class QSETTINGSDIALOGSHARED_EXPORT VariantWidgetsRegistrator
19 {
20 public:
22  static void registerGroupWidgets();
24  static void registerVariantWidgets();
26  static void registerEnumFactories();
28  static void registerExtendedVariantWidgets();
29 };
30 
31 #endif // VARIANTWIDGETSREGISTRATOR_H
A static class to globally register different types of edit widgets.
Definition: variantwidgetsregistrator.h:18