Last change
on this file since 276 was 269, checked in by Sanahuja Guillaume, 6 years ago |
flairgcs:
speed up processing time when receiving datas from uav
triger watchdog while receiving datas from uav
(avoids connection lost in uav)
|
File size:
639 bytes
|
Rev | Line | |
---|
[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 CHECKBOX_H
|
---|
| 6 | #define CHECKBOX_H
|
---|
| 7 |
|
---|
| 8 | #include "FormLayout.h"
|
---|
| 9 |
|
---|
| 10 | class Layout;
|
---|
| 11 | class QCheckBox;
|
---|
| 12 |
|
---|
[15] | 13 | class CheckBox : public FormLayout {
|
---|
| 14 | Q_OBJECT
|
---|
[9] | 15 |
|
---|
[15] | 16 | public:
|
---|
| 17 | CheckBox(Layout *parent, int row, int col, QString name, bool value);
|
---|
| 18 | ~CheckBox();
|
---|
[9] | 19 |
|
---|
[15] | 20 | private:
|
---|
| 21 | QCheckBox *checkbox;
|
---|
| 22 | bool checkbox_value;
|
---|
| 23 | void SetUptodate(void);
|
---|
| 24 | void Reset(void);
|
---|
[269] | 25 | void LoadEvent(QDomElement *dom);
|
---|
[9] | 26 |
|
---|
[15] | 27 | void ui_to_var(void);
|
---|
| 28 | void ui_to_xml(void);
|
---|
[9] | 29 |
|
---|
[15] | 30 | private slots:
|
---|
| 31 | void valuechanged(bool value);
|
---|
[9] | 32 | };
|
---|
| 33 |
|
---|
| 34 | #endif // CHECKBOX_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.