Version: 8.3.0
SMESHGUI_DisplayEntitiesDlg Class Reference

Dialog box to select entities to be displayed in viewer. More...

#include <SMESHGUI_DisplayEntitiesDlg.h>

Inheritance diagram for SMESHGUI_DisplayEntitiesDlg:

Public Member Functions

 SMESHGUI_DisplayEntitiesDlg (QWidget *parent)
 
 ~SMESHGUI_DisplayEntitiesDlg ()
 
virtual void show ()
 
virtual void setContentActive (const bool)
 set all content to enable (parameter is true) or disable state More...
 

Static Public Member Functions

static int prefix (const QString &)
 Return hard-coded prefix using to differ overlapping types. More...
 

Protected Member Functions

SUIT_Desktop * desktop () const
 find desktop of active application More...
 
SUIT_ResourceMgr * resourceMgr () const
 gets resource manager More...
 

Private Slots

void onOk ()
 Display or update the mesh in the 3D view with selected entity mode. More...
 
void onHelp ()
 Show online help on dialog box. More...
 
void onChangeEntityMode (bool isChecked)
 Slot for changing entities state. More...
 

Private Member Functions

void InverseEntityMode (unsigned int &theOutputMode, unsigned int theMode)
 
void updateButtons ()
 Enable/disable OK button depending on nb of selected entities. More...
 
 Handle (SALOME_InteractiveObject) myIObject
 

Private Attributes

unsigned int myEntityMode
 
SMESH_ActormyActor
 
int myNbCheckedButtons
 
int myNbTypes
 
QCheckBox * my0DElemsTB
 
QCheckBox * myEdgesTB
 
QCheckBox * myFacesTB
 
QCheckBox * myVolumesTB
 
QCheckBox * myBallsTB
 

Detailed Description

Dialog box to select entities to be displayed in viewer.

Constructor & Destructor Documentation

SMESHGUI_DisplayEntitiesDlg::~SMESHGUI_DisplayEntitiesDlg ( )

Member Function Documentation

SUIT_Desktop * SMESHGUI_Dialog::desktop ( ) const
protectedinherited

find desktop of active application

References MESHCUT::d.

SMESHGUI_DisplayEntitiesDlg::Handle ( SALOME_InteractiveObject  )
private
void SMESHGUI_DisplayEntitiesDlg::InverseEntityMode ( unsigned int theOutputMode,
unsigned int  theMode 
)
private

Referenced by onChangeEntityMode().

void SMESHGUI_DisplayEntitiesDlg::onChangeEntityMode ( bool  isChecked)
privateslot
void SMESHGUI_DisplayEntitiesDlg::onHelp ( )
privateslot

Show online help on dialog box.

Referenced by SMESHGUI_DisplayEntitiesDlg().

void SMESHGUI_DisplayEntitiesDlg::onOk ( )
privateslot
int SMESHGUI_Dialog::prefix ( const QString &  name)
staticinherited

Return hard-coded prefix using to differ overlapping types.

Referenced by SMESHGUI_Dialog::SMESHGUI_Dialog(), and SMESHGUI_SelectionOp::typeById().

SUIT_ResourceMgr * SMESHGUI_Dialog::resourceMgr ( ) const
protectedinherited
void SMESHGUI_Dialog::setContentActive ( const bool  active)
virtualinherited

set all content to enable (parameter is true) or disable state

Referenced by SMESHGUI_Operation::setDialogActive().

void SMESHGUI_DisplayEntitiesDlg::updateButtons ( )
private

Enable/disable OK button depending on nb of selected entities.

References myNbCheckedButtons, and myNbTypes.

Referenced by onChangeEntityMode(), and SMESHGUI_DisplayEntitiesDlg().

Field Documentation

QCheckBox* SMESHGUI_DisplayEntitiesDlg::my0DElemsTB
private
SMESH_Actor* SMESHGUI_DisplayEntitiesDlg::myActor
private
QCheckBox* SMESHGUI_DisplayEntitiesDlg::myBallsTB
private
QCheckBox* SMESHGUI_DisplayEntitiesDlg::myEdgesTB
private
unsigned int SMESHGUI_DisplayEntitiesDlg::myEntityMode
private
QCheckBox* SMESHGUI_DisplayEntitiesDlg::myFacesTB
private
int SMESHGUI_DisplayEntitiesDlg::myNbCheckedButtons
private
int SMESHGUI_DisplayEntitiesDlg::myNbTypes
private
QCheckBox* SMESHGUI_DisplayEntitiesDlg::myVolumesTB
private