Walls And Holes  1
tilematerialselectiondialog.h
Go to the documentation of this file.
1 #ifndef TILEMATERIALSELECTIONDIALOG_H
2 #define TILEMATERIALSELECTIONDIALOG_H
3 
4 #include <QDialog>
5 #include <QListView>
6 
7 class TileMaterialSelectionDialog : public QDialog
8 {
9  Q_OBJECT
10 
11 public:
12  explicit TileMaterialSelectionDialog(QWidget *parent = nullptr);
13 
14  int result() const { return mResult; }
15 
16 private slots:
17  void selectedChanged();
18 
19 private:
20  int mResult = 0; //default material
21 
22  QListView *mMaterialList;
23 };
24 
25 #endif // TILEMATERIALSELECTIONDIALOG_H
TileMaterialSelectionDialog(QWidget *parent=nullptr)
Definition: tilematerialselectiondialog.cpp:8
int result() const
Definition: tilematerialselectiondialog.h:14
Definition: tilematerialselectiondialog.h:7