]> Shamusworld >> Repos - architektonas/blob - src/forms/blockdialog.h
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / blockdialog.h
1 #ifndef __BLOCKDIALOG_H__
2 #define __BLOCKDIALOG_H__
3
4 #include "ui_blockdialog.h"
5 #include "block.h"
6
7 class BlockList;
8
9 class BlockDialog : public QDialog
10 {
11         Q_OBJECT
12
13         public:
14                 BlockDialog(QWidget * parent = 0, Qt::WindowFlags flags = 0);
15                 ~BlockDialog();
16
17                 BlockData getBlockData();
18
19         public slots:
20                 void setBlockList(BlockList * l);
21                 void validate();
22                 void cancel();
23
24         protected:
25                 BlockList * blockList;
26
27         private:
28                 Ui::BlockDialog ui;
29 };
30
31 #endif  // __BLOCKDIALOG_H__