1 #ifndef H_EXTENSIONS_CUTEHMI_GUI_0_INCLUDE_CUTEHMI_GUI_THEME_HPP
2 #define H_EXTENSIONS_CUTEHMI_GUI_0_INCLUDE_CUTEHMI_GUI_THEME_HPP
4 #include "internal/common.hpp"
25 Q_PROPERTY(
Palette * palette READ palette WRITE setPalette NOTIFY paletteChanged RESET resetPalette)
27 Q_PROPERTY(
Units * units READ units WRITE setUnits NOTIFY unitsChanged RESET resetUnits)
29 Q_PROPERTY(
Fonts * fonts READ fonts WRITE setFonts NOTIFY fontsChanged RESET resetFonts)
35 void setPalette(
Palette * palette);
39 Units * units() const;
41 void setUnits(
Units * units);
45 Fonts * fonts() const;
47 void setFonts(
Fonts * fonts);
52 void paletteChanged();
59 static
Palette & DefaultPalette();
61 static
Units & DefaultUnits();
63 static
Fonts & DefaultFonts();
66 void establishFontBindings();
75 palette(& DefaultPalette()),
76 units(& DefaultUnits()),
77 fonts(& DefaultFonts())