Walls And Holes  1
mappropertymanager.h
Go to the documentation of this file.
1 #ifndef MAPPROPERTYMANAGER_H
2 #define MAPPROPERTYMANAGER_H
3 
5 #include "tilemap.h"
6 
8 {
9  Q_OBJECT
10 
11 public:
12  MapPropertyManager(TileMap *tileMap);
13 
14  void propertyEdited(QString name, QVariant value) override;
15 
16  QVector<QVector<QVariant>> properties() override;
17 
18 private:
19  TileMap *mTileMap;
20 };
21 
22 #endif // MAPPROPERTYMANAGER_H
MapPropertyManager(TileMap *tileMap)
Definition: mappropertymanager.cpp:3
Definition: mappropertymanager.h:7
void propertyEdited(QString name, QVariant value) override
propertyEdited Called from PropertyBrowser when a property is edited. Should be handled, and modify the source data as expected.
Definition: mappropertymanager.cpp:7
QVector< QVector< QVariant > > properties() override
properties Returns a vector of all the properties. It must be ordered as follows: Must have at least ...
Definition: mappropertymanager.cpp:20
Definition: tilemap.h:14
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