Walls And Holes  1
tiletemplatepropertymanager.h
Go to the documentation of this file.
1 #ifndef TILETEMPLATEPROPERTYMANAGER_H
2 #define TILETEMPLATEPROPERTYMANAGER_H
3 
5 #include "tiletemplate.h"
6 
8 {
9  Q_OBJECT
10 
11 public:
13 
14  void propertyEdited(QString propertyName, QVariant value) override;
15 
16  QVector<QVector<QVariant>> properties() override;
17 
18 private:
19  TileTemplate *mTileTemplate;
20 };
21 
22 #endif // TILETEMPLATEPROPERTYMANAGER_H
void propertyEdited(QString propertyName, QVariant value) override
propertyEdited Called from PropertyBrowser when a property is edited. Should be handled, and modify the source data as expected.
Definition: tiletemplatepropertymanager.cpp:10
QVector< QVector< QVariant > > properties() override
properties Returns a vector of all the properties. It must be ordered as follows: Must have at least ...
Definition: tiletemplatepropertymanager.cpp:38
TileTemplatePropertyManager(TileTemplate *tileTemplate)
Definition: tiletemplatepropertymanager.cpp:6
Definition: tiletemplatepropertymanager.h:7
Definition: tiletemplate.h:13
The AbstractPropertyManager class Should take some source data in the constructor, and implement the ability to see and modify any properties of the core object.
Definition: abstractpropertymanager.h:13