Changeset 15 in flair-src for trunk/tools/FlairGCS/src/Picture.h
- Timestamp:
- 04/08/16 15:40:57 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/FlairGCS/src/Picture.h
r10 r15 17 17 class QVBoxLayout; 18 18 19 class Picture: public DataRemote 20 { 21 Q_OBJECT 19 class Picture : public DataRemote { 20 Q_OBJECT 22 21 23 public: 24 Picture(Layout* parent,int row, int col,QString name,uint16_t width, uint16_t height,bool enabled,int period); 25 ~Picture(); 22 public: 23 Picture(Layout *parent, int row, int col, QString name, uint16_t width, 24 uint16_t height, bool enabled, int period); 25 ~Picture(); 26 26 27 28 27 protected: 28 void mousePressEvent(QMouseEvent *event); 29 29 30 31 QGroupBox*box;32 33 34 35 36 30 private: 31 QGroupBox *box; 32 QLabel *label; 33 QVBoxLayout *layout; 34 QVector<QRgb> color_table; 35 uint16_t im_width; 36 uint16_t im_height; 37 37 38 bool eventFilter(QObject *, QEvent *); 39 void BufEvent(char** buf,int *buf_size,uint16_t period,bool big_endian); 40 void XmlEvent(QDomElement dom); 41 42 38 bool eventFilter(QObject *, QEvent *); 39 void BufEvent(char **buf, int *buf_size, uint16_t period, bool big_endian); 40 void XmlEvent(QDomElement dom); 43 41 }; 44 42
Note:
See TracChangeset
for help on using the changeset viewer.