Version: 8.3.0
SMESHGUI_ScaleDlg Class Reference

#include <SMESHGUI_ScaleDlg.h>

Inheritance diagram for SMESHGUI_ScaleDlg:

Public Member Functions

 SMESHGUI_ScaleDlg (SMESHGUI *)
 
 ~SMESHGUI_ScaleDlg ()
 
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 ConstructorsClicked (int)
 
void ClickOnOk ()
 
bool ClickOnApply ()
 
void ClickOnHelp ()
 
void SetEditCurrentArgument ()
 
void SelectionIntoArgument ()
 
void DeactivateActiveDialog ()
 
void ActivateThisDialog ()
 
void onTextChange (const QString &)
 
void onSelectMesh (bool)
 
void onActionClicked (int)
 
void onOpenView ()
 
void onCloseView ()
 
void setFilters ()
 

Private Member Functions

void Init (bool=true)
 
void enterEvent (QEvent *)
 
void keyPressEvent (QKeyEvent *)
 
int GetConstructorId ()
 
void setNewMeshName ()
 
bool isValid ()
 
void getScale (SMESH::PointStruct &thePoint, SMESH::double_array_var &theScaleFact)
 

Private Attributes

SMESHGUI_IdValidatormyIdValidator
 
LightApp_SelectionMgr * mySelectionMgr
 
QString myElementsId
 
int myNbOkElements
 
SVTK_Selector * mySelector
 
QWidgetmyEditCurrentArgument
 
bool myBusy
 
SMESH_ActormyActor
 
SMESH_LogicalFiltermyMeshOrSubMeshOrGroupFilter
 
QList< SMESH::SMESH_IDSource_var > myObjects
 
QList< QString > myObjectsNames
 
QList< SMESH::SMESH_Mesh_var > myMeshes
 
QGroupBoxConstructorsBox
 
QButtonGroup * GroupConstructors
 
QRadioButton * RadioButton1
 
QRadioButton * RadioButton2
 
QGroupBoxGroupButtons
 
QPushButton * buttonOk
 
QPushButton * buttonCancel
 
QPushButton * buttonApply
 
QPushButton * buttonHelp
 
QGroupBoxGroupArguments
 
QLabel * TextLabelElements
 
QPushButton * SelectElementsButton
 
QLineEdit * LineEditElements
 
QCheckBox * CheckBoxMesh
 
QLabel * TextLabel1
 
QPushButton * SelectButton1
 
QLabel * TextLabel1_1
 
SMESHGUI_SpinBoxSpinBox1_1
 
QLabel * TextLabel1_2
 
SMESHGUI_SpinBoxSpinBox1_2
 
QLabel * TextLabel1_3
 
SMESHGUI_SpinBoxSpinBox1_3
 
QLabel * TextLabel2
 
SMESHGUI_SpinBoxSpinBox_FX
 
QLabel * TextLabel3
 
SMESHGUI_SpinBoxSpinBox_FY
 
QLabel * TextLabel4
 
SMESHGUI_SpinBoxSpinBox_FZ
 
QGroupBoxActionBox
 
QButtonGroup * ActionGroup
 
QCheckBox * MakeGroupsCheck
 
QLineEdit * LineEditNewMesh
 
QString myHelpFileName
 
QPushButton * myFilterBtn
 
SMESHGUI_FilterDlgmyFilterDlg
 

Constructor & Destructor Documentation

SMESHGUI_ScaleDlg::~SMESHGUI_ScaleDlg ( )

References myFilterDlg.

Member Function Documentation

void SMESHGUI_ScaleDlg::ClickOnHelp ( )
privateslot
void SMESHGUI_ScaleDlg::ClickOnOk ( )
privateslot
void SMESHGUI_ScaleDlg::DeactivateActiveDialog ( )
privateslot
void SMESHGUI_ScaleDlg::enterEvent ( QEvent *  )
private
int SMESHGUI_ScaleDlg::GetConstructorId ( )
private

References GroupConstructors.

Referenced by ClickOnApply(), getScale(), and isValid().

void SMESHGUI_ScaleDlg::getScale ( SMESH::PointStruct thePoint,
SMESH::double_array_var &  theScaleFact 
)
private
bool SMESHGUI_ScaleDlg::isValid ( )
private
void SMESHGUI_ScaleDlg::keyPressEvent ( QKeyEvent *  e)
private

References ClickOnHelp().

void SMESHGUI_ScaleDlg::onCloseView ( )
privateslot

References DeactivateActiveDialog(), and mySelector.

Referenced by SMESHGUI_ScaleDlg().

void SMESHGUI_ScaleDlg::onFilterAccepted ( )
protectedslot
void SMESHGUI_ScaleDlg::onOpenView ( )
privateslot
void SMESHGUI_MultiPreviewDlg::setIsApplyAndClose ( const bool  theFlag)
protectedvirtualinherited
void SMESHGUI_ScaleDlg::setNewMeshName ( )
private
void SMESHGUI_MultiPreviewDlg::showPreview ( )
inherited

Field Documentation

QGroupBox* SMESHGUI_ScaleDlg::ActionBox
private

Referenced by SMESHGUI_ScaleDlg().

QButtonGroup* SMESHGUI_ScaleDlg::ActionGroup
private
QPushButton* SMESHGUI_ScaleDlg::buttonApply
private
QPushButton* SMESHGUI_ScaleDlg::buttonCancel
private

Referenced by SMESHGUI_ScaleDlg().

QPushButton* SMESHGUI_ScaleDlg::buttonHelp
private

Referenced by SMESHGUI_ScaleDlg().

QPushButton* SMESHGUI_ScaleDlg::buttonOk
private
QGroupBox* SMESHGUI_ScaleDlg::ConstructorsBox
private
QGroupBox* SMESHGUI_ScaleDlg::GroupArguments
private
QGroupBox* SMESHGUI_ScaleDlg::GroupButtons
private
QButtonGroup* SMESHGUI_ScaleDlg::GroupConstructors
private
QLineEdit* SMESHGUI_ScaleDlg::LineEditNewMesh
private
QCheckBox* SMESHGUI_ScaleDlg::MakeGroupsCheck
private
SMESH_Actor* SMESHGUI_ScaleDlg::myActor
private
bool SMESHGUI_ScaleDlg::myBusy
private
QWidget* SMESHGUI_ScaleDlg::myEditCurrentArgument
private
QString SMESHGUI_ScaleDlg::myElementsId
private
QPushButton* SMESHGUI_ScaleDlg::myFilterBtn
private

Referenced by onSelectMesh(), and SMESHGUI_ScaleDlg().

SMESHGUI_FilterDlg* SMESHGUI_ScaleDlg::myFilterDlg
private
QString SMESHGUI_ScaleDlg::myHelpFileName
private

Referenced by ClickOnHelp(), and SMESHGUI_ScaleDlg().

SMESHGUI_IdValidator* SMESHGUI_ScaleDlg::myIdValidator
private

Referenced by onSelectMesh(), and SMESHGUI_ScaleDlg().

bool SMESHGUI_MultiPreviewDlg::myIsApplyAndClose
protectedinherited
QList<SMESH::SMESH_Mesh_var> SMESHGUI_ScaleDlg::myMeshes
private
SMESH_LogicalFilter* SMESHGUI_ScaleDlg::myMeshOrSubMeshOrGroupFilter
private
int SMESHGUI_ScaleDlg::myNbOkElements
private
QList<SMESH::SMESH_IDSource_var> SMESHGUI_ScaleDlg::myObjects
private
QList<QString> SMESHGUI_ScaleDlg::myObjectsNames
private
LightApp_SelectionMgr* SMESHGUI_ScaleDlg::mySelectionMgr
private
SVTK_Selector* SMESHGUI_ScaleDlg::mySelector
private
SMESHGUI* SMESHGUI_MultiPreviewDlg::mySMESHGUI
protectedinherited

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

QRadioButton* SMESHGUI_ScaleDlg::RadioButton1
private

Referenced by SMESHGUI_ScaleDlg().

QRadioButton* SMESHGUI_ScaleDlg::RadioButton2
private

Referenced by SMESHGUI_ScaleDlg().

QPushButton* SMESHGUI_ScaleDlg::SelectButton1
private
QPushButton* SMESHGUI_ScaleDlg::SelectElementsButton
private
SMESHGUI_SpinBox* SMESHGUI_ScaleDlg::SpinBox1_2
private
SMESHGUI_SpinBox* SMESHGUI_ScaleDlg::SpinBox1_3
private
SMESHGUI_SpinBox* SMESHGUI_ScaleDlg::SpinBox_FX
private
QLabel* SMESHGUI_ScaleDlg::TextLabel1
private

Referenced by SMESHGUI_ScaleDlg().

QLabel* SMESHGUI_ScaleDlg::TextLabel1_1
private

Referenced by SMESHGUI_ScaleDlg().

QLabel* SMESHGUI_ScaleDlg::TextLabel1_2
private

Referenced by SMESHGUI_ScaleDlg().

QLabel* SMESHGUI_ScaleDlg::TextLabel1_3
private

Referenced by SMESHGUI_ScaleDlg().

QLabel* SMESHGUI_ScaleDlg::TextLabel2
private
QLabel* SMESHGUI_ScaleDlg::TextLabel3
private
QLabel* SMESHGUI_ScaleDlg::TextLabel4
private
QLabel* SMESHGUI_ScaleDlg::TextLabelElements
private

Referenced by onSelectMesh(), and SMESHGUI_ScaleDlg().