34 I_ASSIGN(m_documentPersistenceCompPtr,
"DocumentPersistence",
"File persistence for the actual document type",
true,
"DocumentPersistence");
35 I_ASSIGN_TO(m_documentPersistenceInfoCompPtr, m_documentPersistenceCompPtr,
false);
36 I_ASSIGN(m_documentManagerCompPtr,
"DocumentManager",
"Manager of the documents in the MDI workspace",
true,
"DocumentManager");
37 I_ASSIGN_TO(m_documentManagerModelCompPtr, m_documentManagerCompPtr,
true);
38 I_ASSIGN(m_documentTypeIdAttrPtr,
"DocumentTypeId",
"ID of the document type used by MDI workspace",
true,
"Default");
39 I_ASSIGN(m_importCommandNameAttrPtr,
"ImportCommandName",
"Name/Text of the import command shown in File menu",
false,
"Import...");
40 I_ASSIGN(m_exportCommandNameAttrPtr,
"ExportCommandName",
"Name/Text of the export command shown in File menu",
false,
"Export...");
73 I_ATTR(QByteArray, m_documentTypeIdAttrPtr);
Interface for a provider of the heriarchical commands.
Base class for component implementation.
Provide set of user actions needed to manage documents in MVC (Model View Controller) concept.
Interface providing loading and saving of data objects.
Provide some information about file loader state.
Common interface for model objects, that supports Model/Observer design pattern.
Basic implementation for a single model observer with binding to concrete data object interface.
Component used for triggering of the document import/export command from the file menu of a document ...
I_TEXTATTR(m_importCommandNameAttrPtr)
virtual void OnComponentCreated() override
iqtgui::CHierarchicalCommand m_exportCommand
virtual void OnComponentDestroyed() override
CDocumentImportExportCommandComp()
virtual void OnUpdate(const istd::IChangeable::ChangeSet &changeSet) override
Called on update of observed model.
iqtgui::CHierarchicalCommand m_rootCommands
virtual const ibase::IHierarchicalCommand * GetCommands() const override
Get list of menu commands.
icomp::CComponentBase BaseClass
virtual void UpdateCommands()
iqtgui::CHierarchicalCommand m_fileCommands
iqtgui::CHierarchicalCommand m_importCommand
I_TEXTATTR(m_exportCommandNameAttrPtr)
Implementation of hierarchical command based on QAction from Qt.
Set of change flags (its IDs).
Common interface to define the hierarchical graph structures.
This package contains Qt implementations related to Document/View concept.