26 #include <QtPdCom1/Transmission.h> 28 #include <pdcom5/Variable.h> 29 #include <pdcom5/Subscription.h> 45 Q_PROPERTY(QString background
46 READ getBackground WRITE setBackground RESET resetBackground)
47 Q_PROPERTY(QString rotor
48 READ getRotor WRITE setRotor RESET resetRotor)
49 Q_PROPERTY(QString foreground
50 READ getForeground WRITE setForeground RESET resetForeground)
51 Q_PROPERTY(QPointF rotorCenter
52 READ getRotorCenter WRITE setRotorCenter RESET resetRotorCenter)
53 Q_PROPERTY(
double globalAngle
54 READ getGlobalAngle WRITE setGlobalAngle RESET resetGlobalAngle)
60 QSize sizeHint()
const;
62 QString getBackground()
const;
63 void setBackground(
const QString &);
64 void resetBackground();
66 QString getRotor()
const;
67 void setRotor(
const QString &);
70 QString getForeground()
const;
71 void setForeground(
const QString &);
72 void resetForeground();
74 QPointF getRotorCenter()
const;
75 void setRotorCenter(QPointF);
76 void resetRotorCenter();
78 double getGlobalAngle()
const;
79 void setGlobalAngle(
double);
80 void resetGlobalAngle();
84 void setSpeedVariable(
86 const PdCom::Selector &selector = {},
87 const QtPdCom::Transmission & = QtPdCom::event_mode,
95 void setSpeedVariable(
96 PdCom::Process *process,
98 const PdCom::Selector &selector = {},
99 const QtPdCom::Transmission & = QtPdCom::event_mode,
107 void clearSpeedVariable();
114 PD_PRIVATE void resizeEvent(QResizeEvent *)
override;
115 PD_PRIVATE void paintEvent(QPaintEvent *)
override;
std::unique_ptr< Impl > impl
Definition: Rotor.h:111
#define PD_PRIVATE
Definition: Export.h:28
#define PD_PUBLIC
Definition: Export.h:33