|
QtPdWidgets
2.3.4
|

Public Member Functions | |
| Impl (Text *parent) | |
| void | updateValueText () |
| Looks up the text to display and calls updateDisplayText(), if necessary. More... | |
| void | updateDisplayText () |
| Updates the widget, if the text changed. More... | |
| void | findCondition () |
| void | retranslate () |
| Retranslate the widget. More... | |
Public Attributes | |
| Text *const | parent |
| Qt::Alignment | alignment |
| Text alignment. More... | |
| QString | prefix |
| Prefix to display before the displayValue text. More... | |
| QString | suffix |
| Suffix to display after the displayValue text. More... | |
| int | processValue |
| The current value from the process. More... | |
| bool | dataPresent |
| There is a process value to display. More... | |
| const Hash * | hash |
| The hash to use. More... | |
| Value | displayValue |
| Value object to display. More... | |
| QString | displayText |
| Display text. More... | |
| QColor | displayColor |
| Display color. More... | |
| QFont | displayFont |
| Display font. More... | |
| QList< TextCondition * > | conditions |
| int | conditionIndex |
| QTimer | conditionTimer |
| bool | conditionActive |
|
inline |
References Pd::Text::Impl::parent.
|
inline |
|
inline |
Retranslate the widget.
References Pd::Text::Impl::parent.
|
inline |
Updates the widget, if the text changed.
References Pd::Text::Value::color, Pd::Text::Impl::conditionActive, Pd::Text::Impl::conditionIndex, Pd::Text::Impl::conditions, Pd::Text::Impl::displayColor, Pd::Text::Impl::displayFont, Pd::Text::Impl::displayText, Pd::Text::Impl::displayValue, Pd::Text::Value::font, Pd::TextCondition::getInvert(), Pd::TextCondition::getText(), Pd::Text::Impl::parent, and Pd::Text::Value::text.
Referenced by Pd::Text::Impl::findCondition(), and Pd::Text::Impl::updateValueText().
|
inline |
Looks up the text to display and calls updateDisplayText(), if necessary.
This method is public, because it has to be called on language changes.
References Pd::Text::Impl::dataPresent, Pd::Text::Impl::displayValue, Pd::Text::Impl::hash, Pd::Text::Impl::prefix, Pd::Text::Impl::processValue, Pd::Text::Impl::suffix, Pd::Text::Value::text, and Pd::Text::Impl::updateDisplayText().
| Qt::Alignment Pd::Text::Impl::alignment |
Text alignment.
| bool Pd::Text::Impl::conditionActive |
Referenced by Pd::Text::Impl::updateDisplayText().
| int Pd::Text::Impl::conditionIndex |
Referenced by Pd::Text::Impl::findCondition(), and Pd::Text::Impl::updateDisplayText().
| QList<TextCondition *> Pd::Text::Impl::conditions |
Referenced by Pd::Text::Impl::findCondition(), and Pd::Text::Impl::updateDisplayText().
| QTimer Pd::Text::Impl::conditionTimer |
Referenced by Pd::Text::Impl::findCondition().
| bool Pd::Text::Impl::dataPresent |
There is a process value to display.
Referenced by Pd::Text::Impl::updateValueText().
| QColor Pd::Text::Impl::displayColor |
Display color.
Referenced by Pd::Text::Impl::updateDisplayText().
| QFont Pd::Text::Impl::displayFont |
Display font.
Referenced by Pd::Text::Impl::updateDisplayText().
| QString Pd::Text::Impl::displayText |
Display text.
Referenced by Pd::Text::Impl::updateDisplayText().
| Value Pd::Text::Impl::displayValue |
Value object to display.
Referenced by Pd::Text::Impl::updateDisplayText(), and Pd::Text::Impl::updateValueText().
| const Hash* Pd::Text::Impl::hash |
The hash to use.
Referenced by Pd::Text::Impl::updateValueText().
| Text* const Pd::Text::Impl::parent |
Referenced by Pd::Text::Impl::Impl(), Pd::Text::Impl::retranslate(), and Pd::Text::Impl::updateDisplayText().
| QString Pd::Text::Impl::prefix |
Prefix to display before the displayValue text.
Referenced by Pd::Text::Impl::updateValueText().
| int Pd::Text::Impl::processValue |
The current value from the process.
Referenced by Pd::Text::Impl::updateValueText().
| QString Pd::Text::Impl::suffix |
Suffix to display after the displayValue text.
Referenced by Pd::Text::Impl::updateValueText().