]> Shamusworld >> Repos - architektonas/blob - src/forms/dimlinearoptions.h
In the middle of major refactoring...
[architektonas] / src / forms / dimlinearoptions.h
1 #ifndef __DIMLINEAROPTIONS_H__
2 #define __DIMLINEAROPTIONS_H__
3
4 #include <QtGui>
5
6 class ActionDimLinear;
7 class ActionInterface;
8
9 class DimLinearOptions: public QWidget
10 {
11         Q_OBJECT
12
13         public:
14                 DimLinearOptions(QToolBar * parent = 0, Qt::WindowFlags flags = 0);
15                 ~DimLinearOptions();
16
17         public slots:
18                 void setAction(ActionInterface * a, bool update);
19                 void updateAngle(const QString & a);
20                 void setHor();
21                 void setVer();
22
23         protected:
24                 ActionDimLinear * action;
25
26         private:
27                 QLabel * lAngle;
28                 QLineEdit * leAngle;
29                 QToolButton * bHor;
30                 QToolButton * bVer;
31 };
32
33 #endif  // __DIMLINEAROPTIONS_H__