]> Shamusworld >> Repos - architektonas/blob - src/forms/insertoptions.h
Fixed problem with MDI activation.
[architektonas] / src / forms / insertoptions.h
1 #ifndef __INSERTOPTIONS_H__
2 #define __INSERTOPTIONS_H__
3
4 #include <QtGui>
5
6 class ActionBlocksInsert;
7 class ActionInterface;
8
9 class InsertOptions: public QWidget
10 {
11         Q_OBJECT
12
13         public:
14                 InsertOptions(QToolBar * parent = 0, Qt::WindowFlags flags = 0);
15                 ~InsertOptions();
16
17         public slots:
18                 void setAction(ActionInterface * a, bool update);
19                 void updateData();
20
21         protected:
22                 ActionBlocksInsert * action;
23
24         private:
25                 QLabel * lAngle;
26                 QLineEdit * leAngle;
27                 QLabel * lFactor;
28                 QLineEdit * leFactor;
29                 QFrame * sep1;
30                 QLabel * lArray;
31                 QSpinBox * sbColumns;
32                 QSpinBox * sbRows;
33                 QLabel * lSpacing;
34                 QLineEdit * leColumnSpacing;
35                 QLineEdit * leRowSpacing;
36 };
37
38 #endif  // __INSERTOPTIONS_H__