|
SHAPER
9.15.0
|
Class which provides access to Workshop object services. More...

Signals | |
| void | selectionChanged () |
| Signal selection changed. More... | |
| void | propertyPanelActivated () |
| Signal which is emitted after activation of property panel. More... | |
Public Member Functions | |
| ModuleBase_IWorkshop (QObject *theParent) | |
| Constructor. More... | |
| virtual ModuleBase_ISelection * | selection () const =0 |
| Return current selection instance. More... | |
| virtual ModuleBase_IModule * | module () const =0 |
| Returns instance of loaded module. More... | |
| virtual ModuleBase_IViewer * | viewer () const =0 |
| Returns current viewer. More... | |
| virtual ModuleBase_IPropertyPanel * | propertyPanel () const =0 |
| Returns property panel. More... | |
| virtual ModuleBase_IErrorMgr * | errorMgr () const =0 |
| Returns error manager. More... | |
| HandlevvalidatorFilter () | |
| A filter to process an attribute validators. More... | |
| virtual ModuleBase_ISelectionActivate * | selectionActivate () const =0 |
| A selection activate in 3D View handler. More... | |
| virtual ModuleBase_Operation * | currentOperation () const =0 |
| Returns currently active operation. More... | |
| virtual bool | canStartOperation (QString theId, bool &isCommitted)=0 |
| Returns true if the operation with id theId can be started. More... | |
| virtual void | processLaunchOperation (ModuleBase_Operation *theOperation)=0 |
| Performs the operation launch. More... | |
| virtual ModuleBase_Operation * | findStartedOperation (const QString &theId)=0 |
| Returns started operation by the operation identifier. More... | |
| virtual bool | canStopOperation (ModuleBase_Operation *theOperation)=0 |
| Returns true if the operation with id theId can be stopped. More... | |
| virtual void | stopOperation (ModuleBase_Operation *theOperation, bool &isCommitted)=0 |
| Commits if possible or aborts the given operation. More... | |
| virtual AISObjectPtr | findPresentation (const ObjectPtr &theObject) const =0 |
| Returns AIS object by data object. More... | |
| virtual ObjectPtr | findPresentedObject (const AISObjectPtr &theAIS) const =0 |
| Returns data object by AIS. More... | |
| virtual bool | isVisible (const ObjectPtr &theObject) const =0 |
| Returns true if the object is displayed. More... | |
| virtual QObjectPtrList | displayedObjects () const =0 |
| Returns list of currently displayed objects. More... | |
| virtual void | setSelected (const QList< std::shared_ptr< ModuleBase_ViewerPrs >> &theValues)=0 |
| Select features clearing previous selection. More... | |
| virtual void | setStatusBarMessage (const QString &theMessage)=0 |
| Shows the message in the status bar. More... | |
| virtual void | updateCommandStatus ()=0 |
| Update of commands status. More... | |
| virtual std::shared_ptr< Config_FeatureMessage > | featureInfo (const QString &theId) const =0 |
| Returns feature info according to given feature ID. More... | |
| virtual QMainWindow * | desktop () const =0 |
| Returns main window of the application. More... | |
| virtual bool | hasSHIFTPressed () const =0 |
| Returns true if SHIFT is pressed. More... | |
| virtual void | deactivateCurrentSelector ()=0 |
| virtual bool | enableUpdateViewer (bool isEnabled)=0 |
| Temporary enable or disable viewer update. More... | |
| virtual void | applyCurrentSelectionModes (const AISObjectPtr &theAIS)=0 |
| The methods applies current defined selection modes to given AIS presentation. More... | |
| virtual void | undo ()=0 |
| Undo last command. More... | |
| virtual void | setCancelEnabled (bool toEnable)=0 |
| Set enabled state of cancel button in property panel. More... | |
| virtual bool | isCancelEnabled () const =0 |
| Returns current state of cancel button. More... | |
| virtual void | showHelpPage (const QString &thePage) const =0 |
| Show help of a current operation. More... | |
Protected Attributes | |
| HandlemmyValidatorFilter | |
| A filter to process an attribute validators. More... | |
Class which provides access to Workshop object services.
| ModuleBase_IWorkshop::ModuleBase_IWorkshop | ( | QObject * | theParent | ) |
Constructor.
| theParent | parent object |
|
pure virtual |
Return current selection instance.
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Returns instance of loaded module.
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Returns current viewer.
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Returns property panel.
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Returns error manager.
Implemented in XGUI_ModuleConnector.
| ModuleBase_IWorkshop::HandlevvalidatorFilter | ( | ) |
A filter to process an attribute validators.
|
pure virtual |
A selection activate in 3D View handler.
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Returns currently active operation.
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Returns true if the operation with id theId can be started.
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Performs the operation launch.
| theOperation | an operation to be launched |
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Returns started operation by the operation identifier.
| theId | an operation id |
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Returns true if the operation with id theId can be stopped.
| theOperation | a stopped operation |
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Commits if possible or aborts the given operation.
| theOperation | an aborted operation |
| isCommitted | boolean value if the operation was committed otherwise it was aborted |
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Returns AIS object by data object.
| theObject | a data object |
Implemented in XGUI_ModuleConnector.
|
pure virtual |
|
pure virtual |
Returns true if the object is displayed.
| theObject | a data object |
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Returns list of currently displayed objects.
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Select features clearing previous selection.
If the list is empty then selection will be cleared
| theValues | a list of presentations |
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Shows the message in the status bar.
| theMessage | a message |
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Update of commands status.
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Returns feature info according to given feature ID.
| theId | a feature Id |
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Returns main window of the application.
Implemented in XGUI_ModuleConnector.
|
pure virtual |
|
pure virtual |
Temporary enable or disable viewer update.
Returns previous state of updating
| isEnabled | new state of the viewer update |
Implemented in XGUI_ModuleConnector.
|
pure virtual |
The methods applies current defined selection modes to given AIS presentation.
The AIS presentation has to be already displayed. After activation viewer has to be updated
| theAIS | the object which has to be activated |
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Undo last command.
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Set enabled state of cancel button in property panel.
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Returns current state of cancel button.
Implemented in XGUI_ModuleConnector.
|
pure virtual |
Show help of a current operation.
Implemented in XGUI_ModuleConnector.
|
signal |
Signal selection changed.
|
signal |
Signal which is emitted after activation of property panel.
|
protected |
A filter to process an attribute validators.