]> Shamusworld >> Repos - architektonas/blob - lineparallelthroughoptions.h
506453bb49af8ab7c98d8b7b339dfb2dddcf1bb5
[architektonas] / lineparallelthroughoptions.h
1 #ifndef __LINEPARALLELTHROUGHOPTIONS_H__
2 #define __LINEPARALLELTHROUGHOPTIONS_H__
3
4 #include <QtGui>
5
6 class ActionDrawLineParallelThrough;
7 class ActionInterface;
8
9 class LineParallelThroughOptions: public QWidget
10 {
11         Q_OBJECT
12
13         public:
14                 LineParallelThroughOptions(QToolBar * parent = 0, Qt::WindowFlags flags = 0);
15                 ~LineParallelThroughOptions();
16
17         public slots:
18                 void setAction(ActionInterface * a, bool update);
19                 void updateNumber(int n);
20
21         protected:
22                 ActionDrawLineParallelThrough * action;
23
24         private:
25                 QLabel * lNumber;
26                 QSpinBox * sbNumber;
27 };
28
29 #endif  // __LINEPARALLELTHROUGHOPTIONS_H__