#include <SalomeApp_NoteBookDlg.h>

Public Member Functions | |
| NoteBook_TableRow (int, NoteBook_Table *parentTable, QWidget *parent=0) | |
| virtual | ~NoteBook_TableRow () |
| int | GetIndex () const |
| void | AddToTable (QTableWidget *theTable) |
| void | SetName (const QString theName) |
| void | SetValue (const QString theValue) |
| QString | GetValue () const |
| QString | GetName () const |
| bool | CheckName () |
| bool | CheckValue () |
| QTableWidgetItem * | GetVariableItem () |
| QTableWidgetItem * | GetNameItem () |
| QTableWidgetItem * | GetHeaderItem () |
| bool | IsValidStringValue (const QString theName) |
Static Public Member Functions | |
| static bool | IsRealValue (const QString theValue, double *theResult=0) |
| static bool | IsIntegerValue (const QString theValue, int *theResult=0) |
| static bool | IsBooleanValue (const QString theValue, bool *theResult=0) |
Private Attributes | |
| int | myIndex |
| NoteBook_Table * | myParentTable |
| QTableWidgetItem * | myRowHeader |
| QTableWidgetItem * | myVariableName |
| QTableWidgetItem * | myVariableValue |
| NoteBook_TableRow::NoteBook_TableRow | ( | int | index, |
| NoteBook_Table * | parentTable, | ||
| QWidget * | parent = 0 |
||
| ) |
Function : NoteBook_TableRow Purpose : Constructor
| NoteBook_TableRow::~NoteBook_TableRow | ( | ) | [virtual] |
Function : ~NoteBook_TableRow Purpose : Destructor
| int NoteBook_TableRow.GetIndex | ( | ) | const |
| void NoteBook_TableRow::AddToTable | ( | QTableWidget * | theTable | ) |
Function : AddToTable Purpose : Add this row to the table theTable
References myRowHeader, myVariableName, myVariableValue, NAME_COLUMN, and VALUE_COLUMN.
| void NoteBook_TableRow::SetName | ( | const QString | theName | ) |
Function : SetName Purpose :
References myVariableName.
| void NoteBook_TableRow::SetValue | ( | const QString | theValue | ) |
Function : SetValue Purpose :
References myVariableValue.
| QString NoteBook_TableRow::GetValue | ( | ) | const |
Function : GetValue Purpose : Return variable value
References myVariableValue.
| QString NoteBook_TableRow::GetName | ( | ) | const |
Function : GetName Purpose : Return variable name
References myVariableName.
| bool NoteBook_TableRow::CheckName | ( | ) |
Function : CheckName Purpose : Return true if variable name correct, otherwise return false
References test_big_table.aName, and GetName().
| bool NoteBook_TableRow::CheckValue | ( | ) |
Function : CheckValue Purpose : Return true if variable value correct, otherwise return false
References GetValue(), IsBooleanValue(), IsIntegerValue(), IsRealValue(), and IsValidStringValue().
| QTableWidgetItem * NoteBook_TableRow::GetVariableItem | ( | ) |
Function : GetVariableItem Purpose :
References myVariableValue.
| QTableWidgetItem * NoteBook_TableRow::GetNameItem | ( | ) |
Function : GetNameItem Purpose :
References myVariableName.
| QTableWidgetItem * NoteBook_TableRow::GetHeaderItem | ( | ) |
Function : GetHeaderItem Purpose :
References myRowHeader.
| bool NoteBook_TableRow::IsRealValue | ( | const QString | theValue, |
| double * | theResult = 0 |
||
| ) | [static] |
Function : IsRealValue Purpose : Return true if theValue string is real value, otherwise return false
| bool NoteBook_TableRow::IsIntegerValue | ( | const QString | theValue, |
| int * | theResult = 0 |
||
| ) | [static] |
Function : IsIntegerValue Purpose : Return true if theValue string is integer value, otherwise return false
| bool NoteBook_TableRow::IsBooleanValue | ( | const QString | theValue, |
| bool * | theResult = 0 |
||
| ) | [static] |
Function : IsBooleanValue Purpose : Return true if theValue String is boolean value, otherwise return false
| bool NoteBook_TableRow::IsValidStringValue | ( | const QString | theValue | ) |
Function : IsValidStringValue Purpose : Return true if theValue string is valid, otherwise return false The string are always valid for the moment The whole notebook is verified on apply
References SUIT_Session.activeApplication(), TestSalomeApp.command, PyConsole_Console.getInterp(), PyInterp_Interp.GetLockWrapper(), PyConsole_Console.isSuppressOutput(), myParentTable, NoteBook_Table.myRows, LightApp_Application.pythonConsole(), PyInterp_Interp.run(), SUIT_Session.session(), and PyConsole_Console.setIsSuppressOutput().
int NoteBook_TableRow.myIndex [private] |
NoteBook_Table* NoteBook_TableRow.myParentTable [private] |
QTableWidgetItem* NoteBook_TableRow.myRowHeader [private] |
QTableWidgetItem* NoteBook_TableRow.myVariableName [private] |
QTableWidgetItem* NoteBook_TableRow.myVariableValue [private] |