Version: 9.12.0
DumpFileDlg Class Reference

Standard Save File dialog box, customized for dump info operation. More...

Inheritance diagram for DumpFileDlg:

Public Member Functions

 DumpFileDlg (QWidget *, bool=true)
 Constructor. More...
 
bool isChecked (int) const
 Get control's value. More...
 
void setChecked (int, bool)
 Set control's initial value. More...
 

Private Attributes

QMap< int, QCheckBox * > myControls
 

Detailed Description

Standard Save File dialog box, customized for dump info operation.

Constructor & Destructor Documentation

◆ DumpFileDlg()

DumpFileDlg::DumpFileDlg ( QWidget parent,
bool  showControls = true 
)

Constructor.

Parameters
parentParent widget.
showControlsShow additional controls. Defaults to true.

References SMESHGUI_MeshInfoDlg::AddInfo, SMESHGUI_MeshInfoDlg::BaseInfo, SMESHGUI_MeshInfoDlg::CtrlInfo, SMESHGUI_MeshInfoDlg::ElemInfo, and myControls.

Member Function Documentation

◆ isChecked()

bool DumpFileDlg::isChecked ( int  option) const

Get control's value.

Parameters
optionControl identifier.
Returns
Control value.

References myControls.

Referenced by SMESHGUI_MeshInfoDlg::dump().

◆ setChecked()

void DumpFileDlg::setChecked ( int  option,
bool  value 
)

Set control's initial value.

Parameters
optionControl identifier.
valueControl value.

References myControls.

Referenced by SMESHGUI_MeshInfoDlg::dump().

Field Documentation

◆ myControls

QMap<int, QCheckBox*> DumpFileDlg::myControls
private

Referenced by DumpFileDlg(), isChecked(), and setChecked().