Walls And Holes  1
TileTemplatePropertyManager Class Reference

#include <tiletemplatepropertymanager.h>

Inheritance diagram for TileTemplatePropertyManager:
Collaboration diagram for TileTemplatePropertyManager:

Public Member Functions

 TileTemplatePropertyManager (TileTemplate *tileTemplate)
 
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. 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...
 
- Public Member Functions inherited from AbstractPropertyManager
 AbstractPropertyManager ()
 

Additional Inherited Members

- Signals inherited from 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...
 

Constructor & Destructor Documentation

◆ TileTemplatePropertyManager()

TileTemplatePropertyManager::TileTemplatePropertyManager ( TileTemplate tileTemplate)

Member Function Documentation

◆ properties()

QVector< QVector< QVariant > > TileTemplatePropertyManager::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.

Here is the call graph for this function:

◆ propertyEdited()

void TileTemplatePropertyManager::propertyEdited ( QString  propertyName,
QVariant  value 
)
overridevirtual

propertyEdited Called from PropertyBrowser when a property is edited. Should be handled, and modify the source data as expected.

Parameters
propertyName
value

Implements AbstractPropertyManager.

Here is the call graph for this function:

The documentation for this class was generated from the following files: