]> Shamusworld >> Repos - architektonas/blob - src/forms/dimoptions.h
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / dimoptions.h
1 #ifndef __DIMOPTIONS_H__
2 #define __DIMOPTIONS_H__
3
4 #include <QtGui>
5
6 class ActionDimension;
7 class ActionInterface;
8
9 class DimOptions: public QWidget
10 {
11         Q_OBJECT
12
13         public:
14                 DimOptions(QToolBar * parent = 0, Qt::WindowFlags flags = 0);
15                 ~DimOptions();
16
17         public slots:
18                 virtual void setAction(ActionInterface * a, bool update);
19                 virtual void updateLabel();
20                 virtual void insertSign(const QString & c);
21
22         protected:
23                 ActionDimension * action;
24
25         private:
26                 QLabel * lLabel;
27                 QToolButton * bDiameter;
28                 QLineEdit * leLabel;
29                 QComboBox * cbSymbol;
30                 QLabel * lTol1;
31                 QLineEdit * leTol1;
32                 QLabel * lTol2;
33                 QLineEdit * leTol2;
34 };
35
36 #endif  // __DIMOPTIONS_H__