]> Shamusworld >> Repos - architektonas/blob - src/forms/lineparalleloptions.h
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / lineparalleloptions.h
1 #ifndef __LINEPARALLELOPTIONS_H__
2 #define __LINEPARALLELOPTIONS_H__
3
4 #include <QtGui>
5
6 class ActionDrawLineParallel;
7 class ActionInterface;
8
9 class LineParallelOptions: public QWidget
10 {
11         Q_OBJECT
12
13         public:
14                 LineParallelOptions(QToolBar * parent = 0, Qt::WindowFlags flags = 0);
15                 ~LineParallelOptions();
16
17         public slots:
18                 void setAction(ActionInterface * a, bool update);
19                 void updateDist(const QString & d);
20                 void updateNumber(int n);
21
22         protected:
23                 ActionDrawLineParallel * action;
24
25         private:
26                 QLabel * lDist;
27                 QLineEdit * leDist;
28                 QLabel * lNumber;
29                 QSpinBox * sbNumber;
30 };
31
32 #endif  // __LINEPARALLELOPTIONS_H__