28 #include <QtPdCom1/ScalarSubscriber.h> 45 public QFrame,
public QtPdCom::ScalarSubscriber
48 Q_PROPERTY(QPixmap defaultPixmap READ getDefaultPixmap
49 WRITE setDefaultPixmap RESET resetDefaultPixmap)
50 Q_PROPERTY(qreal angle READ getAngle WRITE setAngle RESET resetAngle)
51 Q_PROPERTY(
bool scaledContents READ hasScaledContents
52 WRITE setScaledContents RESET resetScaledContents)
55 Image(QWidget *parent = 0);
71 const QPixmap &getDefaultPixmap() const;
72 void setDefaultPixmap(const QPixmap &);
73 void resetDefaultPixmap();
75 qreal getAngle() const;
79 bool hasScaledContents() const;
80 void setScaledContents(
bool);
81 void resetScaledContents();
83 void clearTransformations();
84 void translate(qreal, qreal);
89 const PdCom::Selector &selector = {},
90 const QtPdCom::Transmission & = QtPdCom::event_mode,
101 const PdCom::Selector &selector = {},
102 const QtPdCom::Transmission & = QtPdCom::event_mode,
112 const PdCom::Selector &selector = {},
113 const QtPdCom::Transmission & = QtPdCom::event_mode,
121 PdCom::Process *process,
123 const PdCom::Selector &selector = {},
124 const QtPdCom::Transmission & = QtPdCom::event_mode,
133 bool event(QEvent *)
override;
134 void paintEvent(QPaintEvent *)
override;
140 PD_PRIVATE void newValues(std::chrono::nanoseconds)
override;
#define PD_PRIVATE
Definition: Export.h:28
#define PD_PUBLIC
Definition: Export.h:33
Axis
Definition: Image.h:85
QHash< int, QPixmap > PixmapHash
Pixmap hash type.
Definition: Image.h:68
The vertical axis.
Definition: XYGraph.cpp:47
std::unique_ptr< Impl > impl
Definition: Image.h:138
The Horizontal axis.
Definition: XYGraph.cpp:46
Image display widget.
Definition: Image.h:44