#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 |
bool | isStudyLocked (const bool=true) const |
Verifies whether study of operation is locked. More... | |
_PTR (Study) studyDS() 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_ShapeByMeshOp::commitOperation(), SMESHGUI_Make2DFrom3DOp::compute2DMesh(), SMESHGUI_BaseComputeOp::computeMesh(), SMESHGUI_ConvToQuadOp::ConnectRadioButtons(), SMESHGUI_BaseComputeOp::evaluateMesh(), SMESHGUI_PrecomputeOp::getAssignedAlgos(), SMESHGUI_PrecomputeOp::initDialog(), SMESHGUI_ReorientFacesOp::isValid(), SMESHGUI_Make2DFrom3DOp::isValid(), SMESHGUI_ConvToQuadOp::onApply(), SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_SplitBiQuadOp::onApply(), SMESHGUI_BaseComputeOp::onGroupOfBadMesh(), SMESHGUI_PrecomputeOp::onPreview(), SMESHGUI_FindElemByPointOp::onSelectionDone(), SMESHGUI_SelectionOp::selected(), SMESHGUI_GroupOnShapeOp::selectionDone(), SMESHGUI_ConvToQuadOp::selectionDone(), SMESHGUI_Add0DElemsOnAllNodesOp::selectionDone(), SMESHGUI_Make2DFrom3DOp::selectionDone(), SMESHGUI_ShapeByMeshOp::SetMesh(), and SMESHGUI_SelectionOp::typeById().
|
protected |
Referenced by SMESHGUI_BaseComputeOp::computeMesh(), SMESHGUI_BaseComputeOp::evaluateMesh(), isReadyToStart(), SMESHGUI_MeshOp::onGeomSelectionByMesh(), SMESHGUI_BaseComputeOp::onGroupOfBadMesh(), onHelp(), SMESHGUI_PrecomputeOp::onPreview(), SMESHGUI_BaseComputeOp::onPublishShape(), SMESHGUI_Add0DElemsOnAllNodesOp::onSetFilter(), SMESHGUI_BaseComputeOp::onShowBadMesh(), SMESHGUI_FindElemByPointOp::startOperation(), SMESHGUI_MakeNodeAtPointOp::startOperation(), and SMESHGUI_SelectionOp::viewWindow().
|
protectedvirtual |
sets the dialog widgets to state just after operation start
Reimplemented in SMESHGUI_PrecomputeOp, SMESHGUI_SelectionOp, and SMESHGUI_MeshOrderOp.
Referenced by startOperation().
|
protectedvirtual |
References myIsApplyAndClose.
Referenced by SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_MeshOp::onApply(), and SMESHGUI_Make2DFrom3DOp::onApply().
|
protectedvirtual |
References getSMESHGUI(), and isStudyLocked().
Verifies whether study of operation is locked.
theMess | - specifies whether message box must be shown if study is locked |
Verifies whether study of operation is locked. If second parameter is TRUE and study is locked when corresponding message box appears
References SMESHGUI::desktop(), and studyDS().
Referenced by isReadyToStart(), SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_ReorientFacesOp::onApply(), SMESHGUI_MakeNodeAtPointOp::onApply(), SMESHGUI_MeshOp::onApply(), and SMESHGUI_Make2DFrom3DOp::onApply().
|
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(), startOperation(), and SMESHGUI_BaseComputeOp::startOperation().
|
protectedslot |
References getSMESHGUI(), and myHelpFileName.
Referenced by startOperation(), and SMESHGUI_PrecomputeOp::startOperation().
|
protectedvirtualslot |
References onApply(), and setIsApplyAndClose().
Referenced by startOperation(), and SMESHGUI_PrecomputeOp::startOperation().
|
protectedvirtual |
Set according dialog active or inactive.
References MESHCUT::d, and SMESHGUI_Dialog::setContentActive().
|
protectedvirtual |
References myIsApplyAndClose.
Referenced by onOk().
|
protectedvirtual |
Reimplemented in SMESHGUI_EvaluateOp, SMESHGUI_PrecomputeOp, SMESHGUI_ComputeOp, SMESHGUI_Make2DFrom3DOp, SMESHGUI_Add0DElemsOnAllNodesOp, SMESHGUI_ShapeByMeshOp, SMESHGUI_SelectionOp, SMESHGUI_MeshOrderOp, SMESHGUI_BaseComputeOp, SMESHGUI_MeshOp, SMESHGUI_SplitBiQuadOp, SMESHGUI_MakeNodeAtPointOp, SMESHGUI_ConvToQuadOp, SMESHGUI_GroupOnShapeOp, SMESHGUI_ReorientFacesOp, and SMESHGUI_FindElemByPointOp.
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_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_ReorientFacesOp::SMESHGUI_ReorientFacesOp(), SMESHGUI_ConvToQuadOp::startOperation(), SMESHGUI_SplitBiQuadOp::startOperation(), SMESHGUI_MeshOp::startOperation(), SMESHGUI_Make2DFrom3DOp::startOperation(), and SMESHGUI_PrecomputeOp::startOperation().
|
protected |
Referenced by isApplyAndClose(), and setIsApplyAndClose().