Changeset 15 in flair-src for trunk/tools/FlairGCS/src/Picture.h


Ignore:
Timestamp:
Apr 8, 2016, 3:40:57 PM (5 years ago)
Author:
Bayard Gildas
Message:

sources reformatted with flair-format-dir script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/FlairGCS/src/Picture.h

    r10 r15  
    1717class QVBoxLayout;
    1818
    19 class Picture: public DataRemote
    20 {
    21     Q_OBJECT
     19class Picture : public DataRemote {
     20  Q_OBJECT
    2221
    23     public:
    24         Picture(Layout* parent,int row, int col,QString name,uint16_t width, uint16_t height,bool enabled,int period);
    25         ~Picture();
     22public:
     23  Picture(Layout *parent, int row, int col, QString name, uint16_t width,
     24          uint16_t height, bool enabled, int period);
     25  ~Picture();
    2626
    27     protected:
    28         void mousePressEvent(QMouseEvent *event);
     27protected:
     28  void mousePressEvent(QMouseEvent *event);
    2929
    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;
     30private:
     31  QGroupBox *box;
     32  QLabel *label;
     33  QVBoxLayout *layout;
     34  QVector<QRgb> color_table;
     35  uint16_t im_width;
     36  uint16_t im_height;
    3737
    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);
    4341};
    4442
Note: See TracChangeset for help on using the changeset viewer.