Widget for entering options as strings. More...
#include <SMESH_AdvOptionsWdg.h>

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 | |
| QTableWidget * | myTable |
Widget for entering options as strings.
| SMESH_AdvOptionsWdg::SMESH_AdvOptionsWdg | ( | QWidget * | parent = 0 | ) |
| SMESH_AdvOptionsWdg::~SMESH_AdvOptionsWdg | ( | ) |
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().
References myTable.
Referenced by GetOption(), and onToggle().
|
privateslot |
References AddOption().
Referenced by SMESH_AdvOptionsWdg().
|
privateslot |
References isChecked(), and myTable.
Referenced by AddOption().
| void SMESH_AdvOptionsWdg::SetCustomOptions | ( | const QString & | text | ) |
References AddOption().
|
private |
Referenced by AddOption(), GetCustomOptions(), GetOption(), isChecked(), onToggle(), and SMESH_AdvOptionsWdg().