bool setValueFromVariant(const Core::Variant &value)
virtual void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
This method is used to restore properties from an XML document.
virtual Core::Property * copy(void) const override
Returns a new copy of the property (mainly for Undo/Redo and transactions). The copy has no container...
Core::Variant getVariant(void) const
Definition: PropertyPen.h:9
virtual void save(Base::AbstractWriter &writer, Base::PersistenceVersion &save_version)
This method is used to save properties or very small amounts of data to an XML document.
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
virtual bool isEqual(const Property *) const
compare properties
QPen _pen
Definition: PropertyPen.h:27
Definition: Persistence.h:13
Definition: AbstractXMLReader.h:7
const QPen & getValue() const
LX_CORE_EXPORT Version & version
Definition: Property.h:72
void copyValue(Core::Property *p)
void setValue(const QPen &pen)
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
DECLARE_PROPERTY_FACTORY(PropertyAxis1_Factory, Core::PropertyAxis1)