#include <SMESHGUI_Operation.h>
Public Member Functions | |
SMESHGUI_Operation () | |
virtual | ~SMESHGUI_Operation () |
Protected Slots | |
virtual void | onOk () |
virtual bool | onApply () |
virtual void | onCancel () |
void | onHelp () |
Protected Member Functions | |
virtual void | initDialog () |
sets the dialog widgets to state just after operation start More... | |
virtual void | startOperation () |
virtual bool | isReadyToStart () const |
virtual void | setIsApplyAndClose (const bool theFlag) |
virtual bool | isApplyAndClose () const |
virtual void | setDialogActive (const bool) |
Set according dialog active or inactive. More... | |
SMESHGUI * | getSMESHGUI () const |
virtual bool | isValid (SUIT_Operation *) const |
Verifies whether given operator is valid for this one. More... | |
Protected Attributes | |
QString | myHelpFileName |
bool | myIsApplyAndClose |
SMESHGUI_Operation::SMESHGUI_Operation | ( | ) |
References myHelpFileName.
|
virtual |
|
protected |
Referenced by SMESHGUI_BaseComputeOp::computeMesh(), SMESHGUI_InteractiveOp::deactivateCurrentViewOperation(), SMESHGUI_BaseComputeOp::evaluateMesh(), isReadyToStart(), SMESHGUI_MeshOp::onGeomSelectionByMesh(), SMESHGUI_BaseComputeOp::onGroupOfBadMesh(), onHelp(), SMESHGUI_PrecomputeOp::onPreview(), SMESHGUI_BaseComputeOp::onPublishShape(), SMESHGUI_Add0DElemsOnAllNodesOp::onSetFilter(), SMESHGUI_BaseComputeOp::onShowBadMesh(), SMESHGUI_ShowErrorsOp::startOperation(), SMESHGUI_FindElemByPointOp::startOperation(), SMESHGUI_RemoveNodeReconnectionOp::startOperation(), SMESHGUI_AddNodeOnFaceOp::startOperation(), SMESHGUI_AddNodeOnSegmentOp::startOperation(), SMESHGUI_InteractiveOp::startOperation(), SMESHGUI_MakeNodeAtPointOp::startOperation(), and SMESHGUI_SelectionOp::viewWindow().
|
protectedvirtual |
sets the dialog widgets to state just after operation start
Reimplemented in SMESHGUI_SelectionOp, SMESHGUI_MeshOrderOp, and SMESHGUI_PrecomputeOp.
Referenced by startOperation().
|
protectedvirtual |
References myIsApplyAndClose.
Referenced by SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_Make2DFrom3DOp::onApply(), SMESHGUI_MakeFull2DFrom3DOp::onApply(), and SMESHGUI_MeshOp::onApply().
|
protectedvirtual |
References getSMESHGUI(), and SMESHGUI::isStudyLocked().
|
protectedvirtual |
Verifies whether given operator is valid for this one.
theOtherOp | - other operation |
Virtual method redefined from base class verifies whether given operator is valid for this one (i.e. can be started "above" this operator). In current implementation method returns false if theOtherOp operation is not intended for deleting objects or mesh elements.
Reimplemented in SMESHGUI_BaseComputeOp, and SMESHGUI_MeshOp.
Referenced by SMESHGUI_MeshOp::isValid().
|
protectedvirtualslot |
Referenced by onOk(), and startOperation().
|
protectedvirtualslot |
Referenced by SMESHGUI_PrecomputeOp::onCancel(), SMESHGUI_BaseComputeOp::startOperation(), and startOperation().
|
protectedslot |
References getSMESHGUI(), and myHelpFileName.
Referenced by SMESHGUI_PrecomputeOp::startOperation(), and startOperation().
|
protectedvirtualslot |
References onApply(), and setIsApplyAndClose().
Referenced by SMESHGUI_PrecomputeOp::startOperation(), and startOperation().
|
protectedvirtual |
Set according dialog active or inactive.
References MESHCUT::d.
|
protectedvirtual |
References myIsApplyAndClose.
Referenced by onOk().
|
protectedvirtual |
Reimplemented in SMESHGUI_MakeNodeAtPointOp, SMESHGUI_InteractiveOp, SMESHGUI_AddNodeOnSegmentOp, SMESHGUI_AddNodeOnFaceOp, SMESHGUI_SplitBiQuadOp, SMESHGUI_ShapeByMeshOp, SMESHGUI_SelectionOp, SMESHGUI_ReorientFacesOp, SMESHGUI_RemoveNodeReconnectionOp, SMESHGUI_MeshOrderOp, SMESHGUI_MeshOp, SMESHGUI_MakeFull2DFrom3DOp, SMESHGUI_Make2DFrom3DOp, SMESHGUI_GroupOnShapeOp, SMESHGUI_FindElemByPointOp, SMESHGUI_CreateDualMeshOp, SMESHGUI_ConvToQuadOp, SMESHGUI_ShowErrorsOp, SMESHGUI_EvaluateOp, SMESHGUI_PrecomputeOp, SMESHGUI_ComputeOp, SMESHGUI_BaseComputeOp, and SMESHGUI_Add0DElemsOnAllNodesOp.
References initDialog(), onApply(), onCancel(), onHelp(), and onOk().
Referenced by SMESHGUI_BaseComputeOp::startOperation(), SMESHGUI_MeshOrderOp::startOperation(), and SMESHGUI_SelectionOp::startOperation().
|
protected |
Referenced by SMESHGUI_PrecomputeOp::onCompute(), onHelp(), SMESHGUI_Add0DElemsOnAllNodesOp::SMESHGUI_Add0DElemsOnAllNodesOp(), SMESHGUI_AddNodeOnFaceOp::SMESHGUI_AddNodeOnFaceOp(), SMESHGUI_AddNodeOnSegmentOp::SMESHGUI_AddNodeOnSegmentOp(), SMESHGUI_BaseComputeOp::SMESHGUI_BaseComputeOp(), SMESHGUI_ComputeOp::SMESHGUI_ComputeOp(), SMESHGUI_EvaluateOp::SMESHGUI_EvaluateOp(), SMESHGUI_FindElemByPointOp::SMESHGUI_FindElemByPointOp(), SMESHGUI_GroupOnShapeOp::SMESHGUI_GroupOnShapeOp(), SMESHGUI_MakeNodeAtPointOp::SMESHGUI_MakeNodeAtPointOp(), SMESHGUI_MeshOrderOp::SMESHGUI_MeshOrderOp(), SMESHGUI_Operation(), SMESHGUI_RemoveNodeReconnectionOp::SMESHGUI_RemoveNodeReconnectionOp(), SMESHGUI_ReorientFacesOp::SMESHGUI_ReorientFacesOp(), SMESHGUI_PrecomputeOp::startOperation(), SMESHGUI_ConvToQuadOp::startOperation(), SMESHGUI_CreateDualMeshOp::startOperation(), SMESHGUI_Make2DFrom3DOp::startOperation(), SMESHGUI_MakeFull2DFrom3DOp::startOperation(), SMESHGUI_MeshOp::startOperation(), and SMESHGUI_SplitBiQuadOp::startOperation().
|
protected |
Referenced by isApplyAndClose(), and setIsApplyAndClose().