OGS
|
A TreeItem containing a boundary condition or source term.
Definition at line 25 of file CondItem.h.
#include <CondItem.h>
Public Member Functions | |
CondItem (const QList< QVariant > &data, TreeItem *parent, DataHolderLib::FemCondition *cond) | |
Constructor. | |
DataHolderLib::FemCondition * | getCondition () const |
Returns the FEM Condition associated with the item. | |
QString const | getName () const |
Public Member Functions inherited from TreeItem | |
TreeItem (QList< QVariant > data, TreeItem *parent) | |
virtual | ~TreeItem () |
void | appendChild (TreeItem *item) |
TreeItem * | child (int row) const |
virtual int | childCount () const |
virtual int | columnCount () const |
virtual QVariant | data (int column) const |
virtual bool | setData (int column, const QVariant &value) |
int | row () const |
TreeItem * | parentItem () const |
bool | removeChildren (int position, int count) |
Private Attributes | |
DataHolderLib::FemCondition * | _cond |
|
inline |
|
inline |
Returns the FEM Condition associated with the item.
Definition at line 36 of file CondItem.h.
References _cond.
Referenced by ProcessView::removeCondition(), ProcessModel::removeCondition(), and ProcessView::selectionChanged().
|
inline |
Definition at line 38 of file CondItem.h.
References TreeItem::data().
Referenced by ProcessView::removeCondition(), and ProcessModel::removeProcessVariable().
|
private |
Definition at line 41 of file CondItem.h.
Referenced by getCondition().