source: flair-src/trunk/tools/FlairGCS/src/ComboBox.h@ 437

Last change on this file since 437 was 437, checked in by Sanahuja Guillaume, 5 months ago

prepare for graphs buffering

File size: 681 bytes
RevLine 
[10]1// %flair:license{
[15]2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
[10]4// %flair:license}
[9]5#ifndef COMBOBOX_H
6#define COMBOBOX_H
7
8#include "FormLayout.h"
9
10class QComboBox;
11class Layout;
12
[15]13class ComboBox : public FormLayout {
14 Q_OBJECT
[9]15
[15]16public:
[437]17 ComboBox(Layout *parent, int row, int col, QString name, uint16_t value);
[15]18 ~ComboBox();
[9]19
[15]20private:
21 QComboBox *combobox;
[437]22 uint16_t combobox_value;
[269]23 void XmlEvent(QDomElement *dom);
[15]24 void SetUptodate(void);
25 void Reset(void);
[269]26 void LoadEvent(QDomElement *dom);
[9]27
[15]28 void ui_to_var(void);
29 void ui_to_xml(void);
[9]30
[15]31private slots:
32 void valuechanged(int value);
[9]33};
34
35#endif // COMBOBOX_H
Note: See TracBrowser for help on using the repository browser.