#include <SalomeApp_NoteBook.h>
◆ NoteBook_Table()
NoteBook_Table::NoteBook_Table |
( |
QWidget * |
parent = 0 | ) |
|
◆ ~NoteBook_Table()
NoteBook_Table::~NoteBook_Table |
( |
| ) |
|
|
virtual |
Function : ~NoteBook_Table Purpose : Destructor
◆ AddEmptyRow()
void NoteBook_Table::AddEmptyRow |
( |
| ) |
|
◆ AddRow()
void NoteBook_Table::AddRow |
( |
const QString & |
theName = QString::null , |
|
|
const QString & |
theValue = QString::null |
|
) |
| |
◆ GetProcessItemChangedSignalFlag()
bool NoteBook_Table::GetProcessItemChangedSignalFlag |
( |
| ) |
const |
◆ GetRemovedRows()
const QList<int>& NoteBook_Table::GetRemovedRows |
( |
| ) |
const |
|
inline |
◆ GetRowByItem()
NoteBook_TableRow * NoteBook_Table::GetRowByItem |
( |
const QTableWidgetItem * |
theItem | ) |
const |
Function : GetRowByItem Purpose :
References myRows.
◆ GetRows()
Function : GetRows Purpose :
References myRows.
◆ getUniqueIndex()
int NoteBook_Table::getUniqueIndex |
( |
| ) |
const |
|
private |
Function : getUniqueIndex Purpose : Get a unique index for the new row
References myRemovedRows, and myRows.
◆ GetVariableMap()
const VariableMap& NoteBook_Table::GetVariableMap |
( |
| ) |
const |
|
inline |
◆ GetVariableMapRef()
const VariableMap& NoteBook_Table::GetVariableMapRef |
( |
| ) |
const |
|
inline |
◆ Init()
void NoteBook_Table::Init |
( |
| ) |
|
◆ IsLastRow()
Function : IsLastRow Purpose : Return true if theRow is last row in the table
References myRows.
◆ IsModified()
bool NoteBook_Table::IsModified |
( |
| ) |
const |
|
inline |
◆ IsUniqueName()
◆ IsValid()
bool NoteBook_Table::IsValid |
( |
| ) |
const |
◆ onItemChanged
void NoteBook_Table::onItemChanged |
( |
QTableWidgetItem * |
theItem | ) |
|
|
slot |
Function : onItemChanged Purpose : [slot] called when table item changed
References AddEmptyRow(), NoteBook_TableRow::CheckName(), NoteBook_TableRow::CheckValue(), NoteBook_TableRow::GetIndex(), NoteBook_TableRow::GetName(), GetRowByItem(), NoteBook_TableRow::GetValue(), IsLastRow(), isProcessItemChangedSignal, IsUniqueName(), myIsModified, myVariableMap, NoteBoox_Variable::Name, NAME_COLUMN, NoteBook_TableRow::SetName(), NoteBoox_Variable::Value, VALUE_COLUMN, and SUIT_MessageBox::warning().
◆ RemoveSelected()
void NoteBook_Table::RemoveSelected |
( |
| ) |
|
Function : RemoveSelected Purpose : Remove selected rows in the table
References _PTR(), NoteBook_TableRow::GetIndex(), NoteBook_TableRow::GetName(), GetRowByItem(), IsLastRow(), isProcessItemChangedSignal, myIsModified, myRemovedRows, myRows, myVariableMap, RenumberRowItems(), NoteBook_TableRow::SetName(), and NoteBook_TableRow::SetValue().
◆ RenumberRowItems()
void NoteBook_Table::RenumberRowItems |
( |
| ) |
|
Function : RenumberRowItems Purpose : renumber row items
References myRows.
◆ ResetMaps()
void NoteBook_Table::ResetMaps |
( |
| ) |
|
◆ SetProcessItemChangedSignalFlag()
void NoteBook_Table::SetProcessItemChangedSignalFlag |
( |
const bool |
enable | ) |
|
◆ Variable2String()
QString NoteBook_Table::Variable2String |
( |
const std::string & |
theVarName | ) |
|
|
static |
Function : Variable2String Purpose : Convert variable values to QString
References _PTR().
◆ isProcessItemChangedSignal
bool NoteBook_Table::isProcessItemChangedSignal |
|
private |
◆ myIsModified
bool NoteBook_Table::myIsModified |
|
private |
◆ myRemovedRows
QList<int> NoteBook_Table::myRemovedRows |
|
private |
◆ myRows
◆ myVariableMap
◆ myVariableMapRef
The documentation for this class was generated from the following files: