source: flair-src/trunk/tools/FlairGCS/src/CheckBox.h @ 10

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

lic

File size: 711 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 CHECKBOX_H
6#define CHECKBOX_H
7
8#include "FormLayout.h"
9
10class Layout;
11class QCheckBox;
12
13class CheckBox: public FormLayout
14{
15    Q_OBJECT
16
17    public:
18        CheckBox(Layout* parent,int row, int col,QString name,bool value);
19        ~CheckBox();
20
21
22    private:
23        QCheckBox* checkbox;
24        bool checkbox_value;
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(bool value);
34};
35
36#endif // CHECKBOX_H
Note: See TracBrowser for help on using the repository browser.