Version: 9.16.0
SMESHGUI_RevolutionDlg Class Reference

#include <SMESHGUI_RevolutionDlg.h>

Inheritance diagram for SMESHGUI_RevolutionDlg:

Public Member Functions

 SMESHGUI_RevolutionDlg (SMESHGUI *)
 
 ~SMESHGUI_RevolutionDlg ()
 
void showPreview ()
 
void hidePreview ()
 

Protected Slots

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

Protected Member Functions

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

Protected Attributes

SMESHGUImySMESHGUI
 
SMESHGUI_MeshEditPreviewmySimulation
 
QCheckBox * myPreviewCheckBox
 
bool myIsApplyAndClose
 

Private Types

enum  { NONE_SELECT , POINT_SELECT , FACE_SELECT }
 

Private Slots

void CheckIsEnable ()
 
void ClickOnOk ()
 
bool ClickOnApply ()
 
void ClickOnHelp ()
 
void SetEditCurrentArgument ()
 
void SelectionIntoArgument ()
 
void DeactivateActiveDialog ()
 
void ActivateThisDialog ()
 
void onAngleTextChange (const QString &)
 
void onSelectVectorMenu (QAction *)
 
void onSelectVectorButton ()
 
void onOpenView ()
 
void onCloseView ()
 

Private Member Functions

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

Private Attributes

LightApp_SelectionMgr * mySelectionMgr
 
SVTK_Selector * mySelector
 
QWidgetmyEditCurrentArgument
 
SMESHGUI_3TypesSelectorSelectorWdg
 
QGroupBoxGroupButtons
 
QPushButton * buttonOk
 
QPushButton * buttonCancel
 
QPushButton * buttonApply
 
QPushButton * buttonHelp
 
QGroupBoxGroupArguments
 
QGroupBoxGroupAxis
 
QCheckBox * MakeGroupsCheck
 
QGroupBoxGroupAngleBox
 
QButtonGroup * GroupAngle
 
QRadioButton * RadioButton3
 
QRadioButton * RadioButton4
 
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
 
QLabelTextLabelNbSteps
 
SalomeApp_IntSpinBox * SpinBox_NbSteps
 
QLabelTextLabelTolerance
 
SMESHGUI_SpinBoxSpinBox_Tolerance
 
QMenu * SelectVectorMenu
 
QMap< QAction *, int > myMenuActions
 
int myVectorDefinition
 
QString myHelpFileName
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
NONE_SELECT 
POINT_SELECT 
FACE_SELECT 

Constructor & Destructor Documentation

◆ SMESHGUI_RevolutionDlg()

◆ ~SMESHGUI_RevolutionDlg()

SMESHGUI_RevolutionDlg::~SMESHGUI_RevolutionDlg ( )

Member Function Documentation

◆ ActivateThisDialog

void SMESHGUI_RevolutionDlg::ActivateThisDialog ( )
privateslot

◆ CheckIsEnable

void SMESHGUI_RevolutionDlg::CheckIsEnable ( )
privateslot

◆ ClickOnApply

◆ ClickOnHelp

void SMESHGUI_RevolutionDlg::ClickOnHelp ( )
privateslot

◆ ClickOnOk

void SMESHGUI_RevolutionDlg::ClickOnOk ( )
privateslot

References ClickOnApply(), and reject().

Referenced by SMESHGUI_RevolutionDlg().

◆ connectPreviewControl()

◆ DeactivateActiveDialog

void SMESHGUI_RevolutionDlg::DeactivateActiveDialog ( )
privateslot

◆ enterEvent()

void SMESHGUI_RevolutionDlg::enterEvent ( QEvent *  )
private

◆ GetConstructorId()

int SMESHGUI_RevolutionDlg::GetConstructorId ( )
private

◆ hidePreview()

◆ Init()

◆ isApplyAndClose()

bool SMESHGUI_PreviewDlg::isApplyAndClose ( ) const
protectedvirtualinherited

◆ IsAxisOk()

bool SMESHGUI_RevolutionDlg::IsAxisOk ( )
private

◆ isValid()

bool SMESHGUI_RevolutionDlg::isValid ( )
private

◆ keyPressEvent()

void SMESHGUI_RevolutionDlg::keyPressEvent ( QKeyEvent *  e)
private

References ClickOnHelp().

◆ onAngleTextChange

void SMESHGUI_RevolutionDlg::onAngleTextChange ( const QString &  )
privateslot

◆ onCloseView

void SMESHGUI_RevolutionDlg::onCloseView ( )
privateslot

◆ onDisplaySimulation

◆ onOpenView

◆ onSelectVectorButton

void SMESHGUI_RevolutionDlg::onSelectVectorButton ( )
privateslot

References SelectVectorMenu.

Referenced by SMESHGUI_RevolutionDlg().

◆ onSelectVectorMenu

◆ reject

◆ SelectionIntoArgument

◆ SetEditCurrentArgument

◆ setIsApplyAndClose()

void SMESHGUI_PreviewDlg::setIsApplyAndClose ( const bool  theFlag)
protectedvirtualinherited

◆ showPreview()

◆ toDisplaySimulation

Field Documentation

◆ buttonApply

QPushButton* SMESHGUI_RevolutionDlg::buttonApply
private

◆ buttonCancel

QPushButton* SMESHGUI_RevolutionDlg::buttonCancel
private

Referenced by SMESHGUI_RevolutionDlg().

◆ buttonHelp

QPushButton* SMESHGUI_RevolutionDlg::buttonHelp
private

Referenced by SMESHGUI_RevolutionDlg().

◆ buttonOk

QPushButton* SMESHGUI_RevolutionDlg::buttonOk
private

◆ GroupAngle

QButtonGroup* SMESHGUI_RevolutionDlg::GroupAngle
private

◆ GroupAngleBox

QGroupBox* SMESHGUI_RevolutionDlg::GroupAngleBox
private

Referenced by SMESHGUI_RevolutionDlg().

◆ GroupArguments

QGroupBox* SMESHGUI_RevolutionDlg::GroupArguments
private

◆ GroupAxis

QGroupBox* SMESHGUI_RevolutionDlg::GroupAxis
private

Referenced by SMESHGUI_RevolutionDlg().

◆ GroupButtons

QGroupBox* SMESHGUI_RevolutionDlg::GroupButtons
private

◆ MakeGroupsCheck

QCheckBox* SMESHGUI_RevolutionDlg::MakeGroupsCheck
private

◆ myEditCurrentArgument

QWidget* SMESHGUI_RevolutionDlg::myEditCurrentArgument
private

◆ myHelpFileName

QString SMESHGUI_RevolutionDlg::myHelpFileName
private

◆ myIsApplyAndClose

bool SMESHGUI_PreviewDlg::myIsApplyAndClose
protectedinherited

◆ myMenuActions

QMap<QAction*,int> SMESHGUI_RevolutionDlg::myMenuActions
private

◆ myPreviewCheckBox

◆ mySelectionMgr

LightApp_SelectionMgr* SMESHGUI_RevolutionDlg::mySelectionMgr
private

◆ mySelector

SVTK_Selector* SMESHGUI_RevolutionDlg::mySelector
private

◆ mySimulation

◆ mySMESHGUI

SMESHGUI* SMESHGUI_PreviewDlg::mySMESHGUI
protectedinherited

Referenced by SMESHGUI_ExtrusionAlongPathDlg::ActivateThisDialog(), SMESHGUI_ExtrusionDlg::ActivateThisDialog(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::ActivateThisDialog(), ActivateThisDialog(), SMESHGUI_ExtrusionAlongPathDlg::ClickOnApply(), SMESHGUI_ExtrusionDlg::ClickOnApply(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::ClickOnApply(), ClickOnApply(), SMESHGUI_ExtrusionAlongPathDlg::ClickOnHelp(), SMESHGUI_ExtrusionDlg::ClickOnHelp(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::ClickOnHelp(), ClickOnHelp(), SMESHGUI_ExtrusionAlongPathDlg::DeactivateActiveDialog(), SMESHGUI_ExtrusionDlg::DeactivateActiveDialog(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::DeactivateActiveDialog(), DeactivateActiveDialog(), SMESHGUI_ExtrusionAlongPathDlg::enterEvent(), SMESHGUI_ExtrusionDlg::enterEvent(), enterEvent(), SMESHGUI_ExtrusionAlongPathDlg::onOpenView(), SMESHGUI_ExtrusionDlg::onOpenView(), SMESHGUI_PreviewDlg::onOpenView(), onOpenView(), onSelectVectorMenu(), SMESHGUI_ExtrusionAlongPathDlg::onTextChange(), SMESHGUI_ExtrusionAlongPathDlg::reject(), SMESHGUI_ExtrusionDlg::reject(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::reject(), reject(), SMESHGUI_ExtrusionDlg::SetEditCurrentArgument(), SetEditCurrentArgument(), SMESHGUI_ExtrusionAlongPathDlg::SetEditCurrentArgument(), SMESHGUI_ExtrusionAlongPathDlg::SMESHGUI_ExtrusionAlongPathDlg(), SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::SMESHGUI_FaceGroupsSeparatedByEdgesDlg(), SMESHGUI_PreviewDlg::SMESHGUI_PreviewDlg(), and SMESHGUI_RevolutionDlg().

◆ myVectorDefinition

int SMESHGUI_RevolutionDlg::myVectorDefinition
private

◆ RadioButton3

QRadioButton* SMESHGUI_RevolutionDlg::RadioButton3
private

◆ RadioButton4

QRadioButton* SMESHGUI_RevolutionDlg::RadioButton4
private

◆ SelectorWdg

◆ SelectPointButton

QPushButton* SMESHGUI_RevolutionDlg::SelectPointButton
private

◆ SelectVectorButton

QPushButton* SMESHGUI_RevolutionDlg::SelectVectorButton
private

◆ SelectVectorMenu

QMenu* SMESHGUI_RevolutionDlg::SelectVectorMenu
private

◆ SpinBox_Angle

SMESHGUI_SpinBox* SMESHGUI_RevolutionDlg::SpinBox_Angle
private

◆ SpinBox_DX

◆ SpinBox_DY

◆ SpinBox_DZ

◆ SpinBox_NbSteps

SalomeApp_IntSpinBox* SMESHGUI_RevolutionDlg::SpinBox_NbSteps
private

◆ SpinBox_Tolerance

SMESHGUI_SpinBox* SMESHGUI_RevolutionDlg::SpinBox_Tolerance
private

◆ SpinBox_X

◆ SpinBox_Y

◆ SpinBox_Z

◆ TextLabelAngle

QLabel* SMESHGUI_RevolutionDlg::TextLabelAngle
private

Referenced by SMESHGUI_RevolutionDlg().

◆ TextLabelDX

QLabel* SMESHGUI_RevolutionDlg::TextLabelDX
private

Referenced by SMESHGUI_RevolutionDlg().

◆ TextLabelDY

QLabel* SMESHGUI_RevolutionDlg::TextLabelDY
private

Referenced by SMESHGUI_RevolutionDlg().

◆ TextLabelDZ

QLabel* SMESHGUI_RevolutionDlg::TextLabelDZ
private

Referenced by SMESHGUI_RevolutionDlg().

◆ TextLabelNbSteps

QLabel* SMESHGUI_RevolutionDlg::TextLabelNbSteps
private

Referenced by SMESHGUI_RevolutionDlg().

◆ TextLabelPoint

QLabel* SMESHGUI_RevolutionDlg::TextLabelPoint
private

Referenced by SMESHGUI_RevolutionDlg().

◆ TextLabelTolerance

QLabel* SMESHGUI_RevolutionDlg::TextLabelTolerance
private

Referenced by SMESHGUI_RevolutionDlg().

◆ TextLabelVector

QLabel* SMESHGUI_RevolutionDlg::TextLabelVector
private

Referenced by SMESHGUI_RevolutionDlg().

◆ TextLabelX

QLabel* SMESHGUI_RevolutionDlg::TextLabelX
private

Referenced by SMESHGUI_RevolutionDlg().

◆ TextLabelY

QLabel* SMESHGUI_RevolutionDlg::TextLabelY
private

Referenced by SMESHGUI_RevolutionDlg().

◆ TextLabelZ

QLabel* SMESHGUI_RevolutionDlg::TextLabelZ
private

Referenced by SMESHGUI_RevolutionDlg().