Version: 8.3.0
SMESH_AdvOptionsWdg Class Reference

Widget for entering options as strings. More...

#include <SMESH_AdvOptionsWdg.h>

Inheritance diagram for SMESH_AdvOptionsWdg:

Public Member Functions

 SMESH_AdvOptionsWdg (QWidget *parent=0)
 
 ~SMESH_AdvOptionsWdg ()
 
void AddOption (QString name, QString value, bool isDefault, bool isCustom)
 
void SetCustomOptions (const QString &text)
 
int GetNbRows ()
 
void GetOption (int row, QString &name, QString &value, bool &isDefault, bool &isCustom)
 
QString GetCustomOptions ()
 

Private Slots

void onAdd ()
 
void onToggle ()
 

Private Member Functions

bool isChecked (int row)
 

Private Attributes

QTableWidgetmyTable
 

Detailed Description

Widget for entering options as strings.

Constructor & Destructor Documentation

SMESH_AdvOptionsWdg::SMESH_AdvOptionsWdg ( QWidget parent = 0)

References MARGIN, myTable, onAdd(), and SPACING.

SMESH_AdvOptionsWdg::~SMESH_AdvOptionsWdg ( )

Member Function Documentation

void SMESH_AdvOptionsWdg::AddOption ( QString  name,
QString  value,
bool  isDefault,
bool  isCustom 
)

References myTable, and onToggle().

Referenced by onAdd(), and SetCustomOptions().

QString SMESH_AdvOptionsWdg::GetCustomOptions ( )

References GetOption(), and myTable.

int SMESH_AdvOptionsWdg::GetNbRows ( )
void SMESH_AdvOptionsWdg::GetOption ( int  row,
QString &  name,
QString &  value,
bool isDefault,
bool isCustom 
)

References isChecked(), and myTable.

Referenced by GetCustomOptions().

bool SMESH_AdvOptionsWdg::isChecked ( int  row)
private

References myTable.

Referenced by GetOption(), and onToggle().

void SMESH_AdvOptionsWdg::onAdd ( )
privateslot

References AddOption().

Referenced by SMESH_AdvOptionsWdg().

void SMESH_AdvOptionsWdg::onToggle ( )
privateslot

References isChecked(), and myTable.

Referenced by AddOption().

void SMESH_AdvOptionsWdg::SetCustomOptions ( const QString &  text)

References AddOption().

Field Documentation

QTableWidget* SMESH_AdvOptionsWdg::myTable
private