]> Shamusworld >> Repos - architektonas/blob - src/forms/dlgoptionsdrawing.h
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / dlgoptionsdrawing.h
1 #ifndef __DLGOPTIONSDRAWING_H__
2 #define __DLGOPTIONSDRAWING_H__
3
4 #include "ui_dlgoptionsdrawing.h"
5
6 class Drawing;
7
8 class DlgOptionsDrawing: public QDialog
9 {
10         Q_OBJECT
11
12         public:
13                 DlgOptionsDrawing(QWidget * parent = 0, Qt::WindowFlags flags = 0);
14                 ~DlgOptionsDrawing();
15
16         public slots:
17                 void setGraphic(Drawing * g);
18                 void validate();
19                 void updateLengthPrecision();
20                 void updateAnglePrecision();
21                 void updatePreview();
22                 void updatePaperSize();
23                 void updateUnitLabels();
24
25         private:
26                 QStringList listPrec1;
27                 Drawing * graphic;
28
29         private:
30                 Ui::DlgOptionsDrawing ui;
31
32 };
33
34 #endif  // __DLGOPTIONSDRAWING_H__