#include <mappropertymanager.h>
|
| MapPropertyManager (TileMap *tileMap) |
|
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. More...
|
|
QVector< QVector< QVariant > > | properties () override |
| properties Returns a vector of all the properties. It must be ordered as follows: Must have at least three elements: 0 - A QString which is the name of the property 1 - The initial value of the property. Values can be of the types handled in propertybrowser.h 2 - A bool which says whether or not the value can be edited. There can be as many more elements as needed by the given type, for instance, a value of type float produces a spin box. Elements 3 and 4 will be considered the min and max of the box, respectivly, if they are present. Explore propertybrowser.h for more details on how different types are handled. More...
|
|
| AbstractPropertyManager () |
|
|
void | propertyChanged (QString propertyName, QVariant value) |
| propertyChanged Should be emited whenever the source data is changed from a place other than the property browser. More...
|
|
void | blankProperty (QString propertyName) |
| blankProperty More...
|
|
◆ MapPropertyManager()
MapPropertyManager::MapPropertyManager |
( |
TileMap * |
tileMap | ) |
|
◆ properties()
QVector< QVector< QVariant > > MapPropertyManager::properties |
( |
| ) |
|
|
overridevirtual |
properties Returns a vector of all the properties. It must be ordered as follows: Must have at least three elements: 0 - A QString which is the name of the property 1 - The initial value of the property. Values can be of the types handled in propertybrowser.h 2 - A bool which says whether or not the value can be edited. There can be as many more elements as needed by the given type, for instance, a value of type float produces a spin box. Elements 3 and 4 will be considered the min and max of the box, respectivly, if they are present. Explore propertybrowser.h for more details on how different types are handled.
- Returns
Implements AbstractPropertyManager.
◆ propertyEdited()
void MapPropertyManager::propertyEdited |
( |
QString |
propertyName, |
|
|
QVariant |
value |
|
) |
| |
|
overridevirtual |
The documentation for this class was generated from the following files: