Walls And Holes  1
templatematerialselector.h
Go to the documentation of this file.
1 #ifndef TEMPLATEMATERIALSELECTOR_H
2 #define TEMPLATEMATERIALSELECTOR_H
3 
5 #include "tiletemplate.h"
6 
7 #include <QWidget>
8 #include <QLabel>
9 
10 class TemplateMaterialSelector : public QWidget
11 {
12  Q_OBJECT
13 
14 public:
16 
17 private slots:
18  void topMaterialChanged(TileMaterial *material);
19 
20  void sideMaterialChanged(TileMaterial *material);
21 
22  void checkBoxToggled(bool state);
23 
24 private:
25  TileTemplate *mTileTemplate;
26 
27  QLabel *mTopMaterialLabel;
28  QLabel *mSideMaterialLabel;
29 
30  TileMaterialSelectionBar *mSideMaterialSelectionBar;
31 };
32 
33 #endif // TEMPLATEMATERIALSELECTOR_H
Definition: tilematerialselectionbar.h:9
TemplateMaterialSelector(TileTemplate *tileTemplate)
Definition: templatematerialselector.cpp:7
Definition: templatematerialselector.h:10
Definition: tiletemplate.h:13
Definition: tilematerial.h:8