Version: 9.12.0
SMESHGUI_CtrlInfoDlg Class Reference

Overall Mesh Quality dialog. More...

#include <SMESHGUI_MeshInfo.h>

Inheritance diagram for SMESHGUI_CtrlInfoDlg:

Public Member Functions

 SMESHGUI_CtrlInfoDlg (QWidget *=0)
 Constructor. More...
 
 ~SMESHGUI_CtrlInfoDlg ()
 Destructor. More...
 
void showInfo (const Handle(SALOME_InteractiveObject)&)
 Show mesh quality information on given object. More...
 
void reject ()
 Perform clean-up actions on the dialog box closing. More...
 

Private Slots

void updateInfo ()
 Show mesh information. More...
 
void deactivate ()
 Deactivate dialog box. More...
 
void updateSelection ()
 Setup selection mode depending on the current dialog box state. More...
 
void help ()
 Show documentation on dialog. More...
 
void dump ()
 Dump information to file. More...
 

Private Member Functions

void showInfo (const SMESH::SelectionProxy &)
 Show mesh quality information on given object. More...
 

Private Attributes

SMESH::SelectionProxy myProxy
 
SMESHGUI_CtrlInfomyCtrlInfo
 

Detailed Description

Overall Mesh Quality dialog.

Todo:
Add selection button to reactivate selection on move from other dlg.

Constructor & Destructor Documentation

◆ SMESHGUI_CtrlInfoDlg()

SMESHGUI_CtrlInfoDlg::SMESHGUI_CtrlInfoDlg ( QWidget parent = 0)

Constructor.

Parameters
parentparent widget

References deactivate(), dump(), SMESHGUI::GetSMESHGUI(), help(), myCtrlInfo, reject(), SPACING, and updateSelection().

◆ ~SMESHGUI_CtrlInfoDlg()

SMESHGUI_CtrlInfoDlg::~SMESHGUI_CtrlInfoDlg ( )

Destructor.

Member Function Documentation

◆ deactivate

void SMESHGUI_CtrlInfoDlg::deactivate ( )
privateslot

Deactivate dialog box.

References SMESHGUI::selectionMgr(), and updateInfo().

Referenced by SMESHGUI_CtrlInfoDlg().

◆ dump

void SMESHGUI_CtrlInfoDlg::dump ( )
privateslot

Dump information to file.

References myCtrlInfo, and SMESHGUI_CtrlInfo::saveInfo().

Referenced by SMESHGUI_CtrlInfoDlg().

◆ help

void SMESHGUI_CtrlInfoDlg::help ( )
privateslot

Show documentation on dialog.

References SMESH::ShowHelpFile().

Referenced by SMESHGUI_CtrlInfoDlg().

◆ reject()

void SMESHGUI_CtrlInfoDlg::reject ( )

Perform clean-up actions on the dialog box closing.

References SMESH::SetPointRepresentation().

Referenced by SMESHGUI_CtrlInfoDlg().

◆ showInfo() [1/2]

void SMESHGUI_CtrlInfoDlg::showInfo ( const Handle(SALOME_InteractiveObject)&  io)

Show mesh quality information on given object.

Parameters
ioInteractive object.

Referenced by updateInfo().

◆ showInfo() [2/2]

void SMESHGUI_CtrlInfoDlg::showInfo ( const SMESH::SelectionProxy proxy)
private

Show mesh quality information on given object.

Parameters
proxySelection proxy.

References myCtrlInfo, myProxy, and SMESHGUI_CtrlInfo::showInfo().

◆ updateInfo

void SMESHGUI_CtrlInfoDlg::updateInfo ( )
privateslot

Show mesh information.

References myProxy, SMESHGUI::selectionMgr(), and showInfo().

Referenced by deactivate(), and updateSelection().

◆ updateSelection

void SMESHGUI_CtrlInfoDlg::updateSelection ( )
privateslot

Setup selection mode depending on the current dialog box state.

References SMESHGUI::selectionMgr(), SMESH::SetPointRepresentation(), and updateInfo().

Referenced by SMESHGUI_CtrlInfoDlg().

Field Documentation

◆ myCtrlInfo

SMESHGUI_CtrlInfo* SMESHGUI_CtrlInfoDlg::myCtrlInfo
private

◆ myProxy

SMESH::SelectionProxy SMESHGUI_CtrlInfoDlg::myProxy
private

Referenced by showInfo(), and updateInfo().