30 #include "../core/property/Property.h"
31 #include "../core/property/Properties.h"
32 #include "../core/enum/Enums.h"
47 m_properties->
clear();
52 m_properties->addProperty(pro_name);
54 m_properties->setTypeObj(m_type);
virtual Properties * getProperties() const
Reimplemented from Observable.
EnumType * m_type
type of the MVC widget
The Properties class represents a persistent set of properties. The Properties can be saved to a file...
static Enums & getInstance()
It returns a reference to the singleton instance.
An Envelope defines a 2D rectangular region.
virtual ~MapLayerChoiceModel()
virtual void updateProperties(te::layout::Properties *properties)
Reimplemented from Observable.
virtual bool clear()
Clear set of properties of this object.
void setName(std::string name)
Sets the name of this property.
A property acts like a attribute member of a object and stores the state of this attribute. A set of properties stores the state of an object. Any data type, not included in the convertValue method in the class te::layout::Variant, it will be by default "std::string" value.
te::gm::Envelope m_box
bounding rectangle