30 #include "../core/property/Property.h"
31 #include "../core/property/Properties.h"
32 #include "../core/enum/Enums.h"
46 m_properties->
clear();
51 m_properties->addProperty(pro_name);
53 m_properties->setTypeObj(m_type);
65 m_property = property;
80 if(m_property.isNull())
83 if(m_property.containsSubProperty(subProperty))
85 m_property.removeSubProperty(subProperty);
86 m_property.addSubProperty(subProperty);
EnumType * m_type
type of the MVC widget
virtual Property getOutsideProperty()
The Properties class represents a persistent set of properties. The Properties can be saved to a file...
virtual void setOutsideProperty(Property property)
static Enums & getInstance()
It returns a reference to the singleton instance.
virtual void updateOutsideSubProperty(Property subProperty)
virtual void updateProperties(te::layout::Properties *properties)
Reimplemented from Observable.
virtual bool containsSubProperty(Property subProperty)
virtual Properties * getProperties() const
Reimplemented from Observable.
virtual bool clear()
Clear set of properties of this object.
void setName(std::string name)
Sets the name of this property.
virtual te::layout::Property containsOutsideSubProperty(std::string name)
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.
virtual ~TextGridSettingsModel()