26 const TQVariant &value,
bool save,
bool readOnly):
27 m_type(type), m_name(name), m_description(description), m_value(value), m_save(save),
28 m_readOnly(readOnly), m_visible(true)
33 const TQString &description,
const TQVariant &value,
bool save,
bool readOnly):
34 valueList(v_valueList), m_type(ValueFromList), m_name(name),
35 m_description(description), m_value(value), m_save(save), m_readOnly(readOnly),
49bool Property::operator<(
const Property &prop)
const
123 if (m_oldValue.isNull())
virtual bool readOnly() const
Tells if the property is read only.
virtual bool visible() const
Tells if the property is visible.
virtual TQString name() const
TQStringVariantMap valueList
The string-to-value correspondence list of the property.
virtual TQString description() const
virtual bool allowSaving() const
Tells if the property can be saved to a stream, xml, etc.
virtual void setValue(const TQVariant &value, bool rememberOldValue=true)
Sets the value of the property.
virtual void setType(int type)
Sets the type of the property.
Property()
Constructs empty property.
virtual void setDescription(const TQString &description)
Sets the description of the property.
virtual TQVariant oldValue() const
Gets the previous property value.
virtual void setVisible(const bool visible)
Set the visibility.
virtual TQVariant value() const
virtual void setValueList(const TQStringVariantMap &list)
Sets the string-to-value correspondence list of the property.
virtual void setName(const TQString &name)
Sets the name of the property.
Namespace which contain property editing classes.
Contains PropertyLib::Property class and PropertyLib::Property::PropertyType enum.