23 #ifndef PD_PUSHBUTTON_H 24 #define PD_PUSHBUTTON_H 26 #include <QPushButton> 29 #include <QtPdCom1/ScalarSubscriber.h> 40 public QPushButton,
public QtPdCom::ScalarSubscriber
45 READ getButtonMode WRITE setButtonMode RESET resetButtonMode)
47 READ getEventCondition WRITE setEventCondition
48 RESET resetEventCondition)
50 READ getEventAction WRITE setEventAction RESET resetEventAction)
51 Q_PROPERTY(
int onValue
52 READ getOnValue WRITE setOnValue RESET resetOnValue)
53 Q_PROPERTY(
int offValue
54 READ getOffValue WRITE setOffValue RESET resetOffValue)
71 ButtonMode getButtonMode()
const;
72 void setButtonMode(ButtonMode);
73 void resetButtonMode();
87 EventCondition getEventCondition()
const;
88 void setEventCondition(EventCondition);
89 void resetEventCondition();
102 EventAction getEventAction()
const;
103 void setEventAction(EventAction);
104 void resetEventAction();
106 int getOnValue()
const;
107 void setOnValue(
int);
110 int getOffValue()
const;
111 void setOffValue(
int);
112 void resetOffValue();
123 PD_PRIVATE void changeEvent(QEvent *)
override;
124 PD_PRIVATE void newValues(std::chrono::nanoseconds)
override;
#define PD_PRIVATE
Definition: Export.h:28
#define PD_PUBLIC
Definition: Export.h:33