QtPdWidgets  2.3.1
Public Member Functions | Public Attributes | List of all members
Pd::Led::Impl Struct Reference
Collaboration diagram for Pd::Led::Impl:
Collaboration graph
[legend]

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...
 

Constructor & Destructor Documentation

◆ Impl()

Pd::Led::Impl::Impl ( Led parent)
inline

References Pd::Led::Impl::parent.

Member Function Documentation

◆ retranslate()

void Pd::Led::Impl::retranslate ( )
inline

Retranslate the widget.

References Pd::Led::Impl::parent.

◆ updateCurrentOffColor()

void Pd::Led::Impl::updateCurrentOffColor ( )
inline

Member Data Documentation

◆ currentOffColor

QColor Pd::Led::Impl::currentOffColor

Current Off-Color, depending on onColor, offColor and offColorMode.

Referenced by Pd::Led::Impl::updateCurrentOffColor().

◆ invert

bool Pd::Led::Impl::invert

Inversion flag.

This inverts the value returned by ledOn().

◆ offColor

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

OffColorMode Pd::Led::Impl::offColorMode

Determines, which color to use, when the LED is off.

Referenced by Pd::Led::Impl::updateCurrentOffColor().

◆ onColor

QColor Pd::Led::Impl::onColor

The color to display, when the LED is on.

Referenced by Pd::Led::Impl::updateCurrentOffColor().

◆ parent

Led* const Pd::Led::Impl::parent

The documentation for this struct was generated from the following file: