|
| | CVisualRegistryEditorComp () |
| |
| const QFont & | GetElementNameFont () const |
| |
| const QFont & | GetElementDetailFont () const |
| |
| const icomp::IMetaInfoManager * | GetMetaInfoManager () const |
| |
| const IRegistryConsistInfo * | GetRegistryConsistInfo () const |
| |
| bool | TryOpenComponent (const CVisualRegistryElement ®istryElement) |
| | Try to open the composite component's registry in a new window.
|
| |
| void | SetAcceptedMimeTypes (const QStringList &mimeTypes) |
| | Set accepted mime types.
|
| |
| const ibase::IHierarchicalCommand * | GetCommands () const override |
| | Get list of menu commands.
|
| |
| QStringList | GetAcceptedMimeIds () const override |
| | Get the list of the possible mime IDs, which are accepted by the consumer.
|
| |
| void | OnDropFinished (const QMimeData &mimeData, QEvent *eventPtr) override |
| | Notification about drop action finish.
|
| |
| | TGuiComponentBase () |
| |
| virtual QWidget * | GetQtWidget () const |
| |
| | CGuiComponentBase () |
| |
| bool | IsGuiShown () const |
| |
| bool | IsGuiCreated () const override |
| | Inform if GUI was initilized.
|
| |
| bool | CreateGui (QWidget *parentPtr) override |
| | Initialize GUI and connect it to the parent.
|
| |
| bool | DestroyGui () override |
| | Release GUI and disconnect it from parent.
|
| |
| QWidget * | GetWidget () const override |
| | Get access to internal QWidget object.
|
| |
| void | OnTryClose (bool *ignoredPtr=nullptr) override |
| | Called on trying to close application.
|
| |
Public Member Functions inherited from ibase::TVisualChangesHandlerWrap< icomp::CComponentBase > |
| | TVisualChangesHandlerWrap (Args &&... args) |
| |
| virtual void | EnableVisualChangesHandler (bool enableLocalization=true) |
| | If enabled, listen to the language change event from the application context.
|
| |
| | CComponentBase () |
| | Create component and assign it to specific context.
|
| |
| | CComponentBase (const CComponentBase &)=delete |
| |
| CComponentBase & | operator= (const CComponentBase &)=delete |
| |
| virtual const ICompositeComponent * | GetParentComponent (bool ownerOnly=false) const |
| | Get parent of this component.
|
| |
| virtual void * | GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="") |
| | Get access to specified component interface.
|
| |
| virtual const IComponentContext * | GetComponentContext () const |
| | Get access to component context describing all application-specified component information loaded from components registry.
|
| |
| virtual void | SetComponentContext (const IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner) |
| | Set component context of this component.
|
| |
| | TSingleModelObserverBase () |
| |
| icomp::IRegistry * | GetObservedObject () const |
| | Get instance of observed object.
|
| |
| icomp::IRegistry * | GetObjectPtr () const |
| | Get instance of observed object.
|
| |
| bool | AttachOrSetObject (icomp::IRegistry *objectPtr) |
| | Attach to model of object or set object pointer, if no connection is possible.
|
| |
| bool | OnModelAttached (imod::IModel *modelPtr, istd::IChangeable::ChangeSet &changeMask) override |
| | This call back function will be called, if an observable object is about to be attached.
|
| |
| bool | OnModelDetached (imod::IModel *modelPtr) override |
| | This call back function will be called, if an observable object is about to be detached.
|
| |
| | CSingleModelObserverBase () |
| |
| virtual | ~CSingleModelObserverBase () |
| |
| imod::IModel * | GetObservedModel () const |
| | Get access to observed model.
|
| |
| imod::IModel * | GetModelPtr () const |
| | Get access to observed model.
|
| |
| void | EnsureModelDetached () |
| | Make sure this observer is detached.
|
| |
| void | SetObservedIds (const istd::IChangeable::ChangeSet &changeMask) |
| | Set list of ID's beeing observed.
|
| |
| bool | IsModelAttached (const imod::IModel *modelPtr=nullptr) const override |
| | Check if specified model is attached.
|
| |
| void | BeforeModelChange (imod::IModel *modelPtr) override |
| | This function will be called before update of the observer contents occures.
|
| |
| void | AfterModelChange (imod::IModel *modelPtr, const istd::IChangeable::ChangeSet &changeSet) override |
| | This function will be called after update of the observer contents occures.
|
| |
| virtual void | UpdateEditor (const istd::IChangeable::ChangeSet &changeSet)=0 |
| | Updates editor with model data.
|
| |
| virtual void | UpdateModelFromEditor () const =0 |
| | Updates model from editor.
|
| |
| virtual bool | IsReadOnly () const =0 |
| | Returns true if the model data can be changed.
|
| |
| virtual void | SetReadOnly (bool state)=0 |
| | Set flag that the model data can be changed.
|
| |
Public Member Functions inherited from ibase::ICommandsProvider |
| virtual int | GetSupportedOperations () const |
| | Get set of flags for supported operations.
|
| |
| virtual bool | CopyFrom (const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) |
| | Copy this object from another one.
|
| |
| virtual bool | IsEqual (const IChangeable &object) const |
| | Compare this object with another object.
|
| |
| virtual std::unique_ptr< IChangeable > | CloneMe (CompatibilityMode mode=CM_WITHOUT_REFS) const |
| | Make a copy of this object.
|
| |
| virtual bool | ResetData (CompatibilityMode mode=CM_WITHOUT_REFS) |
| | Reset data to its default state.
|
| |
| virtual QMutex * | GetChangesLock () const |
| | Get mutex beeing locked during changes, if available.
|
| |
| virtual void | BeginChanges (const ChangeSet &changeSet) |
| | Starts the change transaction.
|
| |
| virtual void | EndChanges (const ChangeSet &changeSet) |
| | Ends the change transaction.
|
| |
| virtual void | BeginChangeGroup (const ChangeSet &changeSet) |
| | Starts group of changes.
|
| |
| virtual void | EndChangeGroup (const ChangeSet &changeSet) |
| | Ends group of changes.
|
| |
|
| icomp::IRegistry * | GetSelectedRegistry () const |
| | Get root or embedded registry that is currently selected in the editor.
|
| |
| QGraphicsItem * | AddShapeToScene (iser::ISerializable *elementPtr) const |
| | Create instance of shape representing some element.
|
| |
| void | AddConnectorsToScene () |
| |
| void | AddConnector (CRegistryElementShape &sourceShape, const QByteArray &referenceComponentId, const QByteArray &attributeId, bool isFactory=false) |
| |
| icomp::IRegistryElement * | TryCreateComponent (const QByteArray &elementId, const icomp::CComponentAddress &address, const i2d::CVector2d &position) |
| | Used on drop/paste action.
|
| |
| void | ConnectReferences (const QByteArray &componentRole) |
| | Used by TryCreateComponent() when an existing component is pasted (?) to update attributes referencing it, in all registry elements.
|
| |
| void | UpdateComponentSelection () |
| | Update component selection and related menu actions.
|
| |
| void | DoRetranslate () |
| |
| void | UpdateEmbeddedRegistryButtons () |
| | Clear and fill the embedded registry button box (used when the number of registry elements changes)
|
| |
| void | UpdateEmbeddedRegistryView (const QByteArray &id) |
| | Update the scene to display currently selected embedded composition.
|
| |
| virtual bool | OnDropObject (const QMimeData &data, QGraphicsSceneDragDropEvent *eventPtr) |
| |
| virtual void | UpdateScene () |
| |
| void | OnModelChanged (int modelId, const istd::IChangeable::ChangeSet &changeSet) override |
| | Called when some model observed by dispatcher will be changed.
|
| |
| void | UpdateGui (const istd::IChangeable::ChangeSet &changeSet) override |
| |
| bool | OnModelAttached (imod::IModel *modelPtr, istd::IChangeable::ChangeSet &changeMask) override |
| | This call back function will be called, if an observable object is about to be attached.
|
| |
| bool | OnModelDetached (imod::IModel *modelPtr) override |
| | This call back function will be called, if an observable object is about to be detached.
|
| |
| void | OnRetranslate () override |
| | Called when non-GUI elements (like commands) should be retranslated.
|
| |
| void | OnComponentCreated () override |
| |
| void | OnComponentDestroyed () override |
| |
| void | OnGuiCreated () override |
| | Called just after GUI is initialized.
|
| |
| void | OnGuiDestroyed () override |
| | Called just before GUI is released.
|
| |
| virtual QWidget * | CreateQtWidget (QWidget *parentPtr) |
| | Create slave widget object.
|
| |
| virtual void | OnGuiShown () |
| | Called from widget event filter when slave widget is shown.
|
| |
| virtual void | OnGuiHidden () |
| | Called from widget event filter when slave widget is hidden.
|
| |
| virtual bool | OnKeyPressed (QKeyEvent *event) |
| | Called from widget event filter when key is pressed.
|
| |
| virtual void | OnGuiRetranslate () |
| | Called from widget event filter when GUI should be retranslated.
|
| |
| void | SetStatusIcon (const QIcon &icon) |
| | Set status icon;.
|
| |
| void | SetStatusText (const QString &text) |
| | Set status text;.
|
| |
| void | OnLanguageChanged () override |
| |
| void | OnDesignSchemaChanged () override |
| |
| bool | eventFilter (QObject *sourcePtr, QEvent *eventPtr) override |
| |
Protected Member Functions inherited from ibase::TVisualChangesHandlerWrap< icomp::CComponentBase > |
| bool | IsComponentActive () const |
| | Check if component is active.
|
| |
| virtual const IRealComponentStaticInfo & | GetComponentStaticInfo () const =0 |
| | Get access to static info of this component.
|
| |
| virtual icomp::IRegistry * | CastFromModel (imod::IModel *modelPtr) const |
| |
| void | SetModelPtr (imod::IModel *modelPtr) |
| | Set internal model pointer to specified value.
|
| |
| virtual void | OnUpdate (const istd::IChangeable::ChangeSet &changeSet) |
| | Called on update of observed model.
|
| |
| virtual void | OnBeginChanges () |
| | Callback function for begin change event.
|
| |
| virtual void | OnEndChanges (const ChangeSet &changeSet) |
| | Callback function for end change event.
|
| |
| bool | RegisterModel (IModel *modelPtr, int modelId=0, const istd::IChangeable::ChangeSet &relevantFlags=istd::IChangeable::GetAllChanges()) |
| | Register the data model to be observed.
|
| |
| void | UnregisterModel (int modelId=0) |
| | Unregister the data model object.
|
| |
| void | UnregisterAllModels () |
| | Unregister all observed data objects.
|
| |
| template<class Object > |
| Object * | GetObjectAt (int modelId) const |
| | Get concrete object instance of the obsered model.
|
| |