10#include <QtCore/QObject>
45 virtual void SetComponentNote(
const QByteArray& componentName,
const QString& componentNote);
49 const QByteArray& elementId,
51 bool ensureElementCreated =
true);
52 virtual bool RenameElement(
const QByteArray& oldElementId,
const QByteArray& newElementId);
60 typedef QMap<icomp::CComponentAddress, IconPtr>
IconMap;
64 QByteArray& componentName,
70 const QByteArray& elementId,
75 bool m_serializeUserData;
Definition of position or mathematical vector on 2D plane.
QMap< icomp::CComponentAddress, IconPtr > IconMap
virtual void SetComponentNote(const QByteArray &componentName, const QString &componentNote)
Add a note componentNote to the component with the given name componentName.
@ MI_CANNOT_CREATE_ELEMENT
virtual std::unique_ptr< icomp::IRegistryElement > CreateRegistryElement(const QByteArray &elementId, const icomp::CComponentAddress &address) const
Called to create instance of registry element.
virtual bool RenameElement(const QByteArray &oldElementId, const QByteArray &newElementId)
Rename an registry element.
bool SerializeComponentInfo(iser::IArchive &archive, QByteArray &componentName, i2d::CVector2d &position, QString ¬e)
virtual icomp::IRegistry * InsertEmbeddedRegistry(const QByteArray ®istryId)
Insert embedded registry with specified ID.
virtual bool SerializeComponentsLayout(iser::IArchive &archive)
icomp::CRegistry BaseClass
virtual bool SerializeRegistry(iser::IArchive &archive)
virtual bool Serialize(iser::IArchive &archive)
Load or store state of this object as a archive stream.
std::unique_ptr< QIcon > IconPtr
imod::TModelWrap< istd::TChangeDelegator< CVisualRegistryElement > > Element
virtual ElementInfo * InsertElementInfo(const QByteArray &elementId, const icomp::CComponentAddress &address, bool ensureElementCreated=true)
Insert new attribute info object to collection of attributes.
virtual QString GetComponentNote(const QByteArray &componentName)
Get the note text to the component with the given name componentName.
virtual bool SerializeUserData(iser::IArchive &archive)
Interface for management of notes in the component registry.
Represents global address of component.
Standard implementation of registry.
Interface representing information stored in component registry.
This model wrapper provides a simple connection between a concrete istd::IChangeable implementation a...
Represent input/output persistence archive.
This package contains (Qt based) implementations of compositor components.
Describe information stored with each element.