QtPdWidgets
2.3.1
|
Public Member Functions | |
Impl (Led *parent) | |
void | updateCurrentOffColor () |
Calculates the currentOffColor. More... | |
void | retranslate () |
Retranslate the widget. More... | |
Public Attributes | |
Led *const | parent |
QColor | onColor |
The color to display, when the LED is on. More... | |
QColor | offColor |
The color to display, when the LED is off. More... | |
OffColorMode | offColorMode |
Determines, which color to use, when the LED is off. More... | |
QColor | currentOffColor |
Current Off-Color, depending on onColor, offColor and offColorMode. More... | |
bool | invert |
Inversion flag. More... | |
|
inline |
References Pd::Led::Impl::parent.
|
inline |
Retranslate the widget.
References Pd::Led::Impl::parent.
|
inline |
Calculates the currentOffColor.
References Pd::Led::Impl::currentOffColor, Pd::Led::Impl::offColor, Pd::Led::Impl::offColorMode, Pd::Led::Impl::onColor, Pd::Led::Impl::parent, and Pd::Led::updateColor().
QColor Pd::Led::Impl::currentOffColor |
Current Off-Color, depending on onColor, offColor and offColorMode.
Referenced by Pd::Led::Impl::updateCurrentOffColor().
bool Pd::Led::Impl::invert |
Inversion flag.
This inverts the value returned by ledOn().
QColor Pd::Led::Impl::offColor |
The color to display, when the LED is off.
This is only used, if offColorMode is #ExplicitOffColor.
Referenced by Pd::Led::Impl::updateCurrentOffColor().
OffColorMode Pd::Led::Impl::offColorMode |
Determines, which color to use, when the LED is off.
Referenced by Pd::Led::Impl::updateCurrentOffColor().
QColor Pd::Led::Impl::onColor |
The color to display, when the LED is on.
Referenced by Pd::Led::Impl::updateCurrentOffColor().
Led* const Pd::Led::Impl::parent |
Referenced by Pd::Led::Impl::Impl(), Pd::Led::Impl::retranslate(), and Pd::Led::Impl::updateCurrentOffColor().