source: flair-src/trunk/tools/FlairGCS/src/SpinBox.h@ 11

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

lic

File size: 737 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 SPINBOX_H
6#define SPINBOX_H
7
8#include "FormLayout.h"
9
10class Layout;
11class QSpinBox;
12
13class SpinBox: public FormLayout
14{
15 Q_OBJECT
16
17 public:
18 SpinBox(Layout* parent,int row, int col,QString name,QString suffix,int value,int min,int max,int step);
19 ~SpinBox();
20
21 private:
22 QSpinBox* spinbox;
23 int spinbox_value;
24 void SetUptodate(void);
25 void Reset(void);
26 void LoadEvent(QDomElement dom);
27
28 void ui_to_var(void);
29 void ui_to_xml(void);
30
31 private slots:
32 void valuechanged(int value);
33};
34
35#endif // SPINBOX_H
Note: See TracBrowser for help on using the repository browser.