qlaserdata.h
Go to the documentation of this file.
1 #ifndef QLASERDATA_H
2 #define QLASERDATA_H
3 
4 #include "qtv.h"
5 
6 class QLaserData : public QObject, public QGraphicsItem
7 {
8  Q_OBJECT
9 
10 public:
11  QLaserData(LDP ld);
12 
13  QPainterPath createCountour();
14 
15  QRectF boundingRect() const;
16  QPainterPath shape() const;
17  void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
18  QWidget *widget);
19 
20 protected:
21  void timerEvent(QTimerEvent *event);
22 
23 private:
25  QPainterPath countour;
26 };
27 
28 #endif
QPainterPath countour
Definition: qlaserdata.h:25
QLaserData(LDP ld)
Definition: qlaserdata.cpp:9
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Definition: qlaserdata.cpp:44
QRectF boundingRect() const
Definition: qlaserdata.cpp:17
QPainterPath shape() const
Definition: qlaserdata.cpp:22
Definition: options.h:49
void timerEvent(QTimerEvent *event)
Definition: qlaserdata.cpp:72
QPainterPath createCountour()
Definition: qlaserdata.cpp:27


csm
Author(s): Andrea Censi
autogenerated on Tue May 11 2021 02:18:23