PropertyEmbeddedFile(void)
virtual ~PropertyEmbeddedFile(void)
Base::String _filepath
Definition: PropertyEmbeddedFile.h:35
void setValue(const QByteArray &content)
bool setValueFromVariant(const Core::Variant &value)
virtual bool isEqual(const Property *) const
compare properties
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
MD5 _md5
Definition: PropertyEmbeddedFile.h:37
void copyValue(Core::Property *p)
bool _saveInline
Definition: PropertyEmbeddedFile.h:38
Definition: Persistence.h:13
Base::String getValue() const
QByteArray _content
Definition: PropertyEmbeddedFile.h:36
Definition: AbstractXMLReader.h:7
virtual void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
This method is used to restore properties from an XML document.
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.
Definition: PropertyEmbeddedFile.h:9
Core::Variant getVariant(void) const
LX_CORE_EXPORT Version & version
Definition: Property.h:72
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...
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:18
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
DECLARE_PROPERTY_FACTORY(PropertyAxis1_Factory, Core::PropertyAxis1)
Base::String getFileName()
void setFilename(const Base::String &filepath)