]> Shamusworld >> Repos - architektonas/blob - src/forms/splineoptions.h
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / splineoptions.h
1 #ifndef __SPLINEOPTIONS_H__
2 #define __SPLINEOPTIONS_H__
3
4 #include <QtGui>
5
6 class ActionDrawSpline;
7 class ActionInterface;
8
9 class SplineOptions: public QWidget
10 {
11         Q_OBJECT
12
13         public:
14                 SplineOptions(QToolBar * parent = 0, Qt::WindowFlags fl = 0);
15                 ~SplineOptions();
16
17         public slots:
18                 void setAction(ActionInterface * a, bool update);
19                 void setClosed(bool c);
20                 void undo();
21                 void setDegree(const QString & deg);
22
23         protected:
24                 ActionDrawSpline * action;
25
26         private:
27                 QLabel * lDegree;
28                 QComboBox * cbDegree;
29                 QCheckBox * cbClosed;
30                 QToolButton * bUndo;
31 };
32
33 #endif  // __SPLINEOPTIONS_H__