Push Button.
More...
Push Button.
Import Statement
- Version
- 2.0
◆ ButtonMode
Enumerator |
---|
PressRelease | The onValue is written when the button is pressed down, the offValue is written when releasing it, respectively.
|
Event | An event is generated, based on EventCondition and EventAction settings.
|
◆ EventAction
Enumerator |
---|
IncrementValue | The value of the process variable is incremented.
|
SetOnValue | The onValue is written to the process variable.
|
ToggleValue | The offValue is written to the process if the last value was the onValue.
Otherwise the onValue is written to the process.
|
◆ EventCondition
Enumerator |
---|
OnClicked | Event generated by QPushButton's clicked() signal (button is pressed and released, while the cursor is inside the button area.
|
OnPressed | Event generated by QPushButton's pressed() signal (button just pressed down).
|
OnReleased | Event generated by QPushButton's released() signal (button released, regardless of cursor being inside the button area).
Consider using #OnClicked.
|
◆ triggerEvent()
void de::igh::pd::PdPushButton::triggerEvent |
( |
| ) |
|
◆ buttonMode
int de::igh::pd::PdPushButton::buttonMode |
|
read |
◆ connection
alias de::igh::pd::PdPushButton::connection |
|
read |
◆ eventAction
int de::igh::pd::PdPushButton::eventAction |
|
read |
◆ eventCondition
int de::igh::pd::PdPushButton::eventCondition |
|
read |
◆ offValue
int de::igh::pd::PdPushButton::offValue |
|
read |
type:int The value to be written, when the button is released.
◆ onValue
int de::igh::pd::PdPushButton::onValue |
|
read |
type:int The value to be written, when the button is pressed.
◆ path
alias de::igh::pd::PdPushButton::path |
|
read |
type:var convinience connection to the process path see PdCheckBox
◆ variable
alias de::igh::pd::PdPushButton::variable |
|
read |
type:var connection to the process variable see PdCheckBox
The documentation for this class was generated from the following file: