|
QtPdWidgets
2.3.4
|
Digital display and touch edit. More...
#include <TouchEdit.h>


Classes | |
| struct | Impl |
Public Member Functions | |
| TouchEdit (QWidget *parent=0) | |
| Constructor. More... | |
| virtual | ~TouchEdit () |
| Destructor. More... | |
| double | getLowerLimit () const |
| void | setLowerLimit (double) |
| Sets the lowerLimit. More... | |
| void | resetLowerLimit () |
| Resets the lowerLimit. More... | |
| double | getUpperLimit () const |
| void | setUpperLimit (double) |
| Sets the upperLimit. More... | |
| void | resetUpperLimit () |
| Resets the upperLimit. More... | |
| bool | getEditing () const |
Public Member Functions inherited from Pd::Digital | |
| Digital (QWidget *parent=0) | |
| Constructor. More... | |
| virtual | ~Digital () |
| Destructor. More... | |
| void | clearData () |
| double | getValue () const |
| Qt::Alignment | getAlignment () const |
| void | setAlignment (Qt::Alignment) |
| Sets the text alignment. More... | |
| void | resetAlignment () |
| Resets the number of decimals. More... | |
| quint32 | getDecimals () const |
| void | setDecimals (quint32) |
| Sets the number of decimals. More... | |
| void | resetDecimals () |
| Resets the number of decimals. More... | |
| QString | getSuffix () const |
| void | setSuffix (const QString &) |
| Sets the suffix to display after the value. More... | |
| void | resetSuffix () |
| Resets the suffix to display after the value. More... | |
| TimeDisplay | getTimeDisplay () const |
| void | setTimeDisplay (TimeDisplay) |
| Sets the timeDisplay method. More... | |
| void | resetTimeDisplay () |
| Resets the timeDisplay method. More... | |
| int | getBase () const |
| void | setBase (int) |
| Sets the number base. More... | |
| void | resetBase () |
| Resets the number base. More... | |
| QString | getValueString () const |
| QSize | sizeHint () const override |
| Gives a hint aboute the optimal size. More... | |
Protected Member Functions | |
| bool | event (QEvent *) override |
| Eventhandler. More... | |
Protected Member Functions inherited from Pd::Digital | |
| bool | event (QEvent *) override |
| Event function. More... | |
| void | paintEvent (QPaintEvent *) override |
| Paint function. More... | |
Properties | |
| double | lowerLimit |
| double | upperLimit |
| bool | editing |
Properties inherited from Pd::Digital | |
| Qt::Alignment | alignment |
| quint32 | decimals |
| QString | suffix |
| TimeDisplay | timeDisplay |
| int | base |
Private Member Functions | |
| PD_PRIVATE void | changeEvent (QEvent *) override |
| React to state changes. More... | |
Private Attributes | |
| struct PD_PRIVATE | Impl |
| std::unique_ptr< Impl > | impl |
Additional Inherited Members | |
Public Types inherited from Pd::Digital | |
| enum | TimeDisplay { None, Seconds, Minutes, Hours } |
Digital display and touch edit.
| TouchEdit::TouchEdit | ( | QWidget * | parent = 0 | ) |
|
virtual |
Destructor.
|
overrideprivate |
|
overrideprotected |
| bool TouchEdit::getEditing | ( | ) | const |
References impl.
| double TouchEdit::getLowerLimit | ( | ) | const |
References impl.
| double TouchEdit::getUpperLimit | ( | ) | const |
References impl.
| void TouchEdit::resetLowerLimit | ( | ) |
Resets the lowerLimit.
References DEFAULT_LOWERLIMIT, and setLowerLimit().
| void TouchEdit::resetUpperLimit | ( | ) |
Resets the upperLimit.
References DEFAULT_UPPERLIMIT, and setUpperLimit().
| void TouchEdit::setLowerLimit | ( | double | limit | ) |
| void TouchEdit::setUpperLimit | ( | double | limit | ) |
|
private |
Referenced by TouchEdit().
|
private |
Referenced by changeEvent(), event(), getEditing(), getLowerLimit(), getUpperLimit(), setLowerLimit(), and setUpperLimit().
|
read |
|
readwrite |
|
readwrite |