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

Last change on this file since 13 was 10, checked in by Sanahuja Guillaume, 8 years ago

lic

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