|
| | CBitmapSupplierGuiComp () |
| |
| const iimg::IBitmap * | GetBitmap () const override |
| | Get access to produced bitmap object.
|
| |
| | 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 () |
| |
| iinsp::ISupplier * | GetObservedObject () const |
| | Get instance of observed object.
|
| |
| iinsp::ISupplier * | GetObjectPtr () const |
| | Get instance of observed object.
|
| |
| bool | AttachOrSetObject (iinsp::ISupplier *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.
|
| |
| virtual void | AddItemsToScene (IViewProvider *providerPtr, int flags)=0 |
| | Called when items should be added to specified scene.
|
| |
| virtual void | RemoveItemsFromScene (IViewProvider *providerPtr)=0 |
| | Called when items should be removed from specified scene.
|
| |
| | CLoggerBase () |
| |
| const QByteArray & | GetVerboseSenderId () const |
| | Get sender ID for verbose messages.
|
| |
| void | SetVerboseSenderId (const QByteArray &id) |
| | Set sender ID for verbose messages.
|
| |
| void | SetLogPtr (ilog::IMessageConsumer *logPtr) override |
| | Install log.
|
| |
| ilog::IMessageConsumer * | GetLogPtr () const override |
| | Get log.
|
| |
| 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.
|
| |
|
| void | DoSnap (bool noGui=false) |
| |
| void | OnGuiCreated () override |
| | Called just after GUI is initialized.
|
| |
| void | OnGuiHidden () override |
| | Called from widget event filter when slave widget is hidden.
|
| |
| QWidget * | GetParamsWidget () const override |
| |
| void | CreateShapes (int sceneId, Shapes &result) override |
| |
| void | OnGuiModelAttached () override |
| |
| void | OnGuiModelDetached () override |
| |
| void | UpdateGui (const istd::IChangeable::ChangeSet &changeSet) override |
| |
| void | OnGuiRetranslate () override |
| | Called from widget event filter when GUI should be retranslated.
|
| |
| void | AfterModelChange (imod::IModel *modelPtr, const istd::IChangeable::ChangeSet &changeSet) override |
| | This function will be called after update of the observer contents occures.
|
| |
| void | OnComponentCreated () override |
| |
| virtual QWidget * | CreateQtWidget (QWidget *parentPtr) |
| | Create slave widget object.
|
| |
| virtual void | OnGuiShown () |
| | Called from widget event filter when slave widget is shown.
|
| |
| virtual bool | OnKeyPressed (QKeyEvent *event) |
| | Called from widget event filter when key is pressed.
|
| |
| virtual void | OnRetranslate () |
| | Called when non-GUI elements (like commands) should be retranslated.
|
| |
| virtual void | OnGuiDestroyed () |
| | Called just before GUI is released.
|
| |
| 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 |
| |
| void | OnComponentCreated () override |
| |
| void | OnComponentDestroyed () 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 iinsp::ISupplier * | 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.
|
| |
| bool | IsVerboseEnabled () const |
| | Check if verbose messages are enabled.
|
| |
| bool | SendVerboseMessage (const QString &message, const QString &messageSource=QString()) const |
| | Send verbose message.
|
| |
| bool | SendInfoMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send info message to log.
|
| |
| bool | SendWarningMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send warning message to log.
|
| |
| bool | SendErrorMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send error message to log.
|
| |
| bool | SendCriticalMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send critical message to log.
|
| |
| bool | SendInfoMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send once info message to log.
|
| |
| bool | SendWarningMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send once warning message to log.
|
| |
| bool | SendErrorMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send once error message to log.
|
| |
| bool | SendCriticalMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send once critical message to log.
|
| |
| bool | SendUserMessage (const istd::IInformationProvider *messagePtr) const |
| | Send message with user object.
|
| |
| bool | AllowMessageOnceAgain (int id) |
| | Reset message lock.
|
| |
| bool | IsLogConsumed (const istd::IInformationProvider::InformationCategory *categoryPtr=nullptr, const int *flagsPtr=nullptr) const override |
| | Check if any log message is consumed.
|
| |
| bool | SendLogMessage (istd::IInformationProvider::InformationCategory category, int id, const QString &message, const QString &messageSource, int flags=0) const override |
| | Send any message to log.
|
| |
| void | DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const override |
| | Decorate message parts before outputting.
|
| |
| virtual void | OnBeginChanges () |
| | Callback function for begin change event.
|
| |
| virtual void | OnEndChanges (const ChangeSet &changeSet) |
| | Callback function for end change event.
|
| |
Definition at line 33 of file CBitmapSupplierGuiComp.h.