]> Shamusworld >> Repos - architektonas/blob - src/forms/textoptions.h
Start of bringing back missing forms/dialogs
[architektonas] / src / forms / textoptions.h
1 #ifndef __TEXTOPTIONS_H__
2 #define __TEXTOPTIONS_H__
3
4 #include "ui_textoptions.h"
5
6 class RS_ActionInterface;
7 class RS_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(RS_ActionInterface * a, bool update);
20                 void updateText();
21                 void updateAngle();
22
23         protected:
24                 RS_ActionDrawText * action;
25
26         private:
27                 Ui::TextOptions ui;
28 };
29
30 #endif  // __TEXTOPTIONS_H__