26 #include <QtPdCom1/Transmission.h> 28 #include <pdcom5/Variable.h> 29 #include <pdcom5/Subscription.h> 49 Q_PROPERTY(QString background
50 READ getBackground WRITE setBackground RESET resetBackground)
51 Q_PROPERTY(QString rotor
52 READ getRotor WRITE setRotor RESET resetRotor)
53 Q_PROPERTY(QString foreground
54 READ getForeground WRITE setForeground RESET resetForeground)
56 Q_PROPERTY(QPointF rotorCenter
57 READ getRotorCenter WRITE setRotorCenter RESET resetRotorCenter)
58 Q_PROPERTY(
double globalAngle
59 READ getGlobalAngle WRITE setGlobalAngle RESET resetGlobalAngle)
65 QSize sizeHint()
const;
67 QString getBackground()
const;
68 void setBackground(
const QString &);
69 void resetBackground();
71 QString getRotor()
const;
72 void setRotor(
const QString &);
75 QString getForeground()
const;
76 void setForeground(
const QString &);
77 void resetForeground();
79 QPointF getRotorCenter()
const;
80 void setRotorCenter(QPointF);
81 void resetRotorCenter();
83 double getGlobalAngle()
const;
84 void setGlobalAngle(
double);
85 void resetGlobalAngle();
89 void setSpeedVariable(
91 const PdCom::Selector &selector = {},
92 const QtPdCom::Transmission & = QtPdCom::event_mode,
100 void setSpeedVariable(
101 PdCom::Process *process,
103 const PdCom::Selector &selector = {},
104 const QtPdCom::Transmission & = QtPdCom::event_mode,
112 void clearSpeedVariable();
119 PD_PRIVATE void resizeEvent(QResizeEvent *)
override;
120 PD_PRIVATE void paintEvent(QPaintEvent *)
override;
std::unique_ptr< Impl > impl
Definition: Rotor.h:116
#define PD_PRIVATE
Definition: Export.h:28
#define PD_PUBLIC
Definition: Export.h:33