]> Shamusworld >> Repos - architektonas/blob - src/forms/layerdialog.h
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / layerdialog.h
1 #ifndef __LAYERDIALOG_H__
2 #define __LAYERDIALOG_H__
3
4 #include "ui_layerdialog.h"
5
6 class Layer;
7 class LayerList;
8
9 class LayerDialog: public QDialog
10 {
11         Q_OBJECT
12
13         public:
14                 LayerDialog(QWidget * parent = NULL, Qt::WindowFlags fl = 0);
15                 ~LayerDialog();
16
17         public slots:
18                 void setLayer(Layer * l);
19                 void setLayerList(LayerList * ll);
20                 void setEditLayer(bool el);
21                 void updateLayer();
22                 void validate();
23
24         protected:
25                 Layer * layer;
26                 LayerList * layerList;
27                 QString layerName;
28                 bool editLayer;
29
30         private:
31                 Ui::LayerDialog ui;
32 };
33
34 #endif  // __LAYERDIALOG_H__