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