]> Shamusworld >> Repos - architektonas/blob - src/forms/textoptions.h
Initial import
[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
9 class TextOptions: public QWidget
10 {
11         Q_OBJECT
12
13         public:
14                 TextOptions(QWidget * parent = 0, Qt::WindowFlags flags = 0);
15                 ~TextOptions();
16
17         public slots:
18                 void setAction(RS_ActionInterface * a, bool update);
19                 void updateText();
20                 void updateAngle();
21
22         protected:
23                 RS_ActionDrawText * action;
24
25         private:
26                 Ui::TextOptions ui;
27 };
28
29 #endif  // __TEXTOPTIONS_H__