Version: 9.12.0
SMESHGUI_RotationDlg Class Reference

#include <SMESHGUI_RotationDlg.h>

Inheritance diagram for SMESHGUI_RotationDlg:

Public Member Functions

 SMESHGUI_RotationDlg (SMESHGUI *)
 
 ~SMESHGUI_RotationDlg ()
 
void showPreview ()
 
void hidePreview ()
 
void setSimulationPreview (QList< SMESH::MeshPreviewStruct_var > &)
 

Protected Slots

virtual void onDisplaySimulation (bool)
 
virtual void reject ()
 
void onFilterAccepted ()
 
void toDisplaySimulation ()
 

Protected Member Functions

void connectPreviewControl ()
 
virtual void setIsApplyAndClose (const bool theFlag)
 
virtual bool isApplyAndClose () const
 

Protected Attributes

SMESHGUImySMESHGUI
 
QList< SMESHGUI_MeshEditPreview * > mySimulationList
 
QCheckBox * myPreviewCheckBox
 
bool myIsApplyAndClose
 

Private Slots

void ClickOnOk ()
 
bool ClickOnApply ()
 
void ClickOnHelp ()
 
void SetEditCurrentArgument ()
 
void SelectionIntoArgument ()
 
void DeactivateActiveDialog ()
 
void ActivateThisDialog ()
 
void onTextChange (const QString &)
 
void onSelectMesh (bool)
 
void onVectorChanged ()
 
void onActionClicked (int)
 
void onOpenView ()
 
void onCloseView ()
 
void setFilters ()
 

Private Member Functions

void Init (bool=true)
 
void enterEvent (QEvent *)
 
void keyPressEvent (QKeyEvent *)
 
bool IsAxisOk ()
 
void setNewMeshName ()
 
bool isValid ()
 

Private Attributes

SMESHGUI_IdValidatormyIdValidator
 
LightApp_SelectionMgr * mySelectionMgr
 
int myNbOkElements
 
QString myElementsId
 
SVTK_Selector * mySelector
 
QWidgetmyEditCurrentArgument
 
int myConstructorId
 
bool myBusy
 
SMESH_ActormyActor
 
SMESH_LogicalFiltermyMeshOrSubMeshOrGroupFilter
 
QList< SMESH::SMESH_IDSource_var > myObjects
 
QList< QString > myObjectsNames
 
QList< SMESH::SMESH_Mesh_var > myMeshes
 
QGroupBoxGroupConstructors
 
QRadioButton * RadioButton1
 
QGroupBoxGroupButtons
 
QPushButton * buttonOk
 
QPushButton * buttonCancel
 
QPushButton * buttonApply
 
QPushButton * buttonHelp
 
QGroupBoxGroupArguments
 
QGroupBoxGroupAxis
 
QLabelTextLabelElements
 
QPushButton * SelectElementsButton
 
QLineEdit * LineEditElements
 
QCheckBox * CheckBoxMesh
 
QLabelTextLabelPoint
 
QPushButton * SelectPointButton
 
QLabelTextLabelX
 
SMESHGUI_SpinBoxSpinBox_X
 
QLabelTextLabelY
 
SMESHGUI_SpinBoxSpinBox_Y
 
QLabelTextLabelZ
 
SMESHGUI_SpinBoxSpinBox_Z
 
QLabelTextLabelVector
 
QPushButton * SelectVectorButton
 
QLabelTextLabelDX
 
SMESHGUI_SpinBoxSpinBox_DX
 
QLabelTextLabelDY
 
SMESHGUI_SpinBoxSpinBox_DY
 
QLabelTextLabelDZ
 
SMESHGUI_SpinBoxSpinBox_DZ
 
QLabelTextLabelAngle
 
SMESHGUI_SpinBoxSpinBox_Angle
 
QGroupBoxActionBox
 
QButtonGroup * ActionGroup
 
QCheckBox * MakeGroupsCheck
 
QLineEdit * LineEditNewMesh
 
QString myHelpFileName
 
QPushButton * myFilterBtn
 
SMESHGUI_FilterDlgmyFilterDlg
 

Constructor & Destructor Documentation

◆ SMESHGUI_RotationDlg()

◆ ~SMESHGUI_RotationDlg()

SMESHGUI_RotationDlg::~SMESHGUI_RotationDlg ( )

References myFilterDlg.

Member Function Documentation

◆ ActivateThisDialog

◆ ClickOnApply

◆ ClickOnHelp

void SMESHGUI_RotationDlg::ClickOnHelp ( )
privateslot

◆ ClickOnOk

void SMESHGUI_RotationDlg::ClickOnOk ( )
privateslot

◆ connectPreviewControl()

◆ DeactivateActiveDialog

void SMESHGUI_RotationDlg::DeactivateActiveDialog ( )
privateslot

◆ enterEvent()

void SMESHGUI_RotationDlg::enterEvent ( QEvent *  )
private

◆ hidePreview()

◆ Init()

◆ isApplyAndClose()

◆ IsAxisOk()

bool SMESHGUI_RotationDlg::IsAxisOk ( )
private

◆ isValid()

bool SMESHGUI_RotationDlg::isValid ( )
private

◆ keyPressEvent()

void SMESHGUI_RotationDlg::keyPressEvent ( QKeyEvent *  e)
private

References ClickOnHelp().

◆ onActionClicked

void SMESHGUI_RotationDlg::onActionClicked ( int  button)
privateslot

◆ onCloseView

void SMESHGUI_RotationDlg::onCloseView ( )
privateslot

◆ onDisplaySimulation

◆ onFilterAccepted

void SMESHGUI_RotationDlg::onFilterAccepted ( )
protectedslot

◆ onOpenView

void SMESHGUI_RotationDlg::onOpenView ( )
privateslot

◆ onSelectMesh

◆ onTextChange

◆ onVectorChanged

void SMESHGUI_RotationDlg::onVectorChanged ( )
privateslot

References buttonApply, buttonOk, and IsAxisOk().

Referenced by SMESHGUI_RotationDlg().

◆ reject

◆ SelectionIntoArgument

◆ SetEditCurrentArgument

◆ setFilters

◆ setIsApplyAndClose()

void SMESHGUI_MultiPreviewDlg::setIsApplyAndClose ( const bool  theFlag)
protectedvirtualinherited

◆ setNewMeshName()

void SMESHGUI_RotationDlg::setNewMeshName ( )
private

◆ setSimulationPreview()

◆ showPreview()

void SMESHGUI_MultiPreviewDlg::showPreview ( )
inherited

◆ toDisplaySimulation

Field Documentation

◆ ActionBox

QGroupBox* SMESHGUI_RotationDlg::ActionBox
private

Referenced by SMESHGUI_RotationDlg().

◆ ActionGroup

QButtonGroup* SMESHGUI_RotationDlg::ActionGroup
private

◆ buttonApply

QPushButton* SMESHGUI_RotationDlg::buttonApply
private

◆ buttonCancel

QPushButton* SMESHGUI_RotationDlg::buttonCancel
private

Referenced by SMESHGUI_RotationDlg().

◆ buttonHelp

QPushButton* SMESHGUI_RotationDlg::buttonHelp
private

Referenced by SMESHGUI_RotationDlg().

◆ buttonOk

QPushButton* SMESHGUI_RotationDlg::buttonOk
private

◆ CheckBoxMesh

QCheckBox* SMESHGUI_RotationDlg::CheckBoxMesh
private

◆ GroupArguments

QGroupBox* SMESHGUI_RotationDlg::GroupArguments
private

◆ GroupAxis

QGroupBox* SMESHGUI_RotationDlg::GroupAxis
private

Referenced by SMESHGUI_RotationDlg().

◆ GroupButtons

QGroupBox* SMESHGUI_RotationDlg::GroupButtons
private

◆ GroupConstructors

QGroupBox* SMESHGUI_RotationDlg::GroupConstructors
private

◆ LineEditElements

◆ LineEditNewMesh

QLineEdit* SMESHGUI_RotationDlg::LineEditNewMesh
private

◆ MakeGroupsCheck

QCheckBox* SMESHGUI_RotationDlg::MakeGroupsCheck
private

◆ myActor

SMESH_Actor* SMESHGUI_RotationDlg::myActor
private

◆ myBusy

bool SMESHGUI_RotationDlg::myBusy
private

◆ myConstructorId

int SMESHGUI_RotationDlg::myConstructorId
private

◆ myEditCurrentArgument

QWidget* SMESHGUI_RotationDlg::myEditCurrentArgument
private

◆ myElementsId

QString SMESHGUI_RotationDlg::myElementsId
private

◆ myFilterBtn

QPushButton* SMESHGUI_RotationDlg::myFilterBtn
private

◆ myFilterDlg

SMESHGUI_FilterDlg* SMESHGUI_RotationDlg::myFilterDlg
private

◆ myHelpFileName

QString SMESHGUI_RotationDlg::myHelpFileName
private

◆ myIdValidator

SMESHGUI_IdValidator* SMESHGUI_RotationDlg::myIdValidator
private

◆ myIsApplyAndClose

bool SMESHGUI_MultiPreviewDlg::myIsApplyAndClose
protectedinherited

◆ myMeshes

QList<SMESH::SMESH_Mesh_var> SMESHGUI_RotationDlg::myMeshes
private

◆ myMeshOrSubMeshOrGroupFilter

SMESH_LogicalFilter* SMESHGUI_RotationDlg::myMeshOrSubMeshOrGroupFilter
private

◆ myNbOkElements

int SMESHGUI_RotationDlg::myNbOkElements
private

◆ myObjects

QList<SMESH::SMESH_IDSource_var> SMESHGUI_RotationDlg::myObjects
private

◆ myObjectsNames

QList<QString> SMESHGUI_RotationDlg::myObjectsNames
private

◆ myPreviewCheckBox

◆ mySelectionMgr

LightApp_SelectionMgr* SMESHGUI_RotationDlg::mySelectionMgr
private

◆ mySelector

SVTK_Selector* SMESHGUI_RotationDlg::mySelector
private

◆ mySimulationList

◆ mySMESHGUI

SMESHGUI* SMESHGUI_MultiPreviewDlg::mySMESHGUI
protectedinherited

Referenced by SMESHGUI_OffsetDlg::ActivateThisDialog(), ActivateThisDialog(), SMESHGUI_ScaleDlg::ActivateThisDialog(), SMESHGUI_SymmetryDlg::ActivateThisDialog(), SMESHGUI_TranslationDlg::ActivateThisDialog(), SMESHGUI_OffsetDlg::ClickOnApply(), ClickOnApply(), SMESHGUI_ScaleDlg::ClickOnApply(), SMESHGUI_SymmetryDlg::ClickOnApply(), SMESHGUI_TranslationDlg::ClickOnApply(), SMESHGUI_OffsetDlg::ClickOnHelp(), ClickOnHelp(), SMESHGUI_ScaleDlg::ClickOnHelp(), SMESHGUI_SymmetryDlg::ClickOnHelp(), SMESHGUI_TranslationDlg::ClickOnHelp(), SMESHGUI_ScaleDlg::ConstructorsClicked(), SMESHGUI_SymmetryDlg::ConstructorsClicked(), SMESHGUI_TranslationDlg::ConstructorsClicked(), SMESHGUI_OffsetDlg::DeactivateActiveDialog(), DeactivateActiveDialog(), SMESHGUI_ScaleDlg::DeactivateActiveDialog(), SMESHGUI_SymmetryDlg::DeactivateActiveDialog(), SMESHGUI_TranslationDlg::DeactivateActiveDialog(), SMESHGUI_OffsetDlg::enterEvent(), enterEvent(), SMESHGUI_ScaleDlg::enterEvent(), SMESHGUI_SymmetryDlg::enterEvent(), SMESHGUI_TranslationDlg::enterEvent(), Init(), SMESHGUI_SymmetryDlg::Init(), SMESHGUI_TranslationDlg::Init(), SMESHGUI_OffsetDlg::onOpenView(), onOpenView(), SMESHGUI_ScaleDlg::onOpenView(), SMESHGUI_SymmetryDlg::onOpenView(), SMESHGUI_TranslationDlg::onOpenView(), SMESHGUI_OffsetDlg::onSelectMesh(), onSelectMesh(), SMESHGUI_ScaleDlg::onSelectMesh(), SMESHGUI_SymmetryDlg::onSelectMesh(), SMESHGUI_TranslationDlg::onSelectMesh(), SMESHGUI_OffsetDlg::onTextChange(), onTextChange(), SMESHGUI_ScaleDlg::onTextChange(), SMESHGUI_SymmetryDlg::onTextChange(), SMESHGUI_TranslationDlg::onTextChange(), SMESHGUI_OffsetDlg::reject(), reject(), SMESHGUI_ScaleDlg::reject(), SMESHGUI_SymmetryDlg::reject(), SMESHGUI_TranslationDlg::reject(), SetEditCurrentArgument(), SMESHGUI_ScaleDlg::SetEditCurrentArgument(), SMESHGUI_SymmetryDlg::SetEditCurrentArgument(), SMESHGUI_TranslationDlg::SetEditCurrentArgument(), SMESHGUI_OffsetDlg::setFilters(), setFilters(), SMESHGUI_ScaleDlg::setFilters(), SMESHGUI_SymmetryDlg::setFilters(), SMESHGUI_TranslationDlg::setFilters(), SMESHGUI_MultiPreviewDlg::setSimulationPreview(), SMESHGUI_MultiPreviewDlg::SMESHGUI_MultiPreviewDlg(), SMESHGUI_OffsetDlg::SMESHGUI_OffsetDlg(), SMESHGUI_RotationDlg(), SMESHGUI_ScaleDlg::SMESHGUI_ScaleDlg(), SMESHGUI_SymmetryDlg::SMESHGUI_SymmetryDlg(), and SMESHGUI_TranslationDlg::SMESHGUI_TranslationDlg().

◆ RadioButton1

QRadioButton* SMESHGUI_RotationDlg::RadioButton1
private

Referenced by SMESHGUI_RotationDlg().

◆ SelectElementsButton

QPushButton* SMESHGUI_RotationDlg::SelectElementsButton
private

◆ SelectPointButton

QPushButton* SMESHGUI_RotationDlg::SelectPointButton
private

◆ SelectVectorButton

QPushButton* SMESHGUI_RotationDlg::SelectVectorButton
private

◆ SpinBox_Angle

SMESHGUI_SpinBox* SMESHGUI_RotationDlg::SpinBox_Angle
private

◆ SpinBox_DX

◆ SpinBox_DY

◆ SpinBox_DZ

◆ SpinBox_X

◆ SpinBox_Y

◆ SpinBox_Z

◆ TextLabelAngle

QLabel* SMESHGUI_RotationDlg::TextLabelAngle
private

Referenced by SMESHGUI_RotationDlg().

◆ TextLabelDX

QLabel* SMESHGUI_RotationDlg::TextLabelDX
private

Referenced by SMESHGUI_RotationDlg().

◆ TextLabelDY

QLabel* SMESHGUI_RotationDlg::TextLabelDY
private

Referenced by SMESHGUI_RotationDlg().

◆ TextLabelDZ

QLabel* SMESHGUI_RotationDlg::TextLabelDZ
private

Referenced by SMESHGUI_RotationDlg().

◆ TextLabelElements

QLabel* SMESHGUI_RotationDlg::TextLabelElements
private

◆ TextLabelPoint

QLabel* SMESHGUI_RotationDlg::TextLabelPoint
private

Referenced by SMESHGUI_RotationDlg().

◆ TextLabelVector

QLabel* SMESHGUI_RotationDlg::TextLabelVector
private

Referenced by SMESHGUI_RotationDlg().

◆ TextLabelX

QLabel* SMESHGUI_RotationDlg::TextLabelX
private

Referenced by SMESHGUI_RotationDlg().

◆ TextLabelY

QLabel* SMESHGUI_RotationDlg::TextLabelY
private

Referenced by SMESHGUI_RotationDlg().

◆ TextLabelZ

QLabel* SMESHGUI_RotationDlg::TextLabelZ
private

Referenced by SMESHGUI_RotationDlg().