1#ifndef H_EXTENSIONS_CUTEHMI_GUI_1_INCLUDE_CUTEHMI_GUI_PALETTE_HPP
2#define H_EXTENSIONS_CUTEHMI_GUI_1_INCLUDE_CUTEHMI_GUI_PALETTE_HPP
4#include "internal/common.hpp"
30 Q_PROPERTY(
QColor background READ background WRITE setBackground NOTIFY backgroundChanged)
40 Q_PROPERTY(
cutehmi::gui::ColorSet * warning READ warning WRITE setWarning NOTIFY warningChanged RESET resetWarning)
45 Q_PROPERTY(
cutehmi::gui::ColorSet * active READ active WRITE setActive NOTIFY activeChanged RESET resetActive)
50 Q_PROPERTY(
cutehmi::gui::ColorSet * inactive READ inactive WRITE setInactive NOTIFY inactiveChanged RESET resetInactive)
55 Q_PROPERTY(
cutehmi::gui::ColorSet * neutral READ neutral WRITE setNeutral NOTIFY neutralChanged RESET resetNeutral)
61 void setBackground(
QColor background);
83 void setInactive(
ColorSet * inactive);
113 static ColorSet & DefaultInactive();
130 background(INITIAL_BACKGROUND),
131 alarm(& DefaultAlarm()),
132 warning(& DefaultWarning()),
133 active(& DefaultActive()),
134 inactive(& DefaultInactive()),
135 neutral(& DefaultNeutral())
Color set.
Definition: ColorSet.hpp:18
Palette.
Definition: Palette.hpp:22