]> Shamusworld >> Repos - architektonas/blob - src/forms/textoptions.h
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / textoptions.h
1 #ifndef __TEXTOPTIONS_H__
2 #define __TEXTOPTIONS_H__
3
4 #include "ui_textoptions.h"
5
6 class ActionInterface;
7 class ActionDrawText;
8 class QToolBar;
9
10 class TextOptions: public QWidget
11 {
12         Q_OBJECT
13
14         public:
15                 TextOptions(QToolBar * parent = 0, Qt::WindowFlags flags = 0);
16                 ~TextOptions();
17
18         public slots:
19                 void setAction(ActionInterface * a, bool update);
20                 void updateText();
21                 void updateAngle();
22
23         protected:
24                 ActionDrawText * action;
25
26         private:
27                 Ui::TextOptions ui;
28 };
29
30 #endif  // __TEXTOPTIONS_H__