]> Shamusworld >> Repos - architektonas/blob - src/forms/dlghatch.h
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / dlghatch.h
1 #ifndef __DLGHATCH_H__
2 #define __DLGHATCH_H__
3
4 #include "ui_dlghatch.h"
5
6 class EntityContainer;
7 class Pattern;
8 class Hatch;
9
10 class DlgHatch: public QDialog
11 {
12         Q_OBJECT
13
14         public:
15                 DlgHatch(QWidget * parent = 0, Qt::WindowFlags flags = 0);
16                 ~DlgHatch();
17
18         public slots:
19                 void polish();
20                 void showEvent(QShowEvent * e);
21                 void setHatch(Hatch & h, bool isNew);
22                 void updateHatch();
23                 void setPattern(const QString & p);
24                 void resizeEvent(QResizeEvent *);
25                 void updatePreview();
26                 void updatePreview(Pattern *);
27
28         private:
29                 EntityContainer * preview;
30                 bool isNew;
31                 Pattern * pattern;
32                 Hatch * hatch;
33
34         private:
35                 Ui::DlgHatch ui;
36 };
37
38 #endif  // __DLGHATCH_H__