OGS
ProcessVarItem Class Referencefinal

Detailed Description

A TreeItem representing process variable information.

See also
TreeItem

Definition at line 19 of file ProcessVarItem.h.

#include <ProcessVarItem.h>

Inheritance diagram for ProcessVarItem:
[legend]
Collaboration diagram for ProcessVarItem:
[legend]

Public Member Functions

 ProcessVarItem (const QList< QVariant > &data, TreeItem *parent)
 Constructor.
 
QString getName () const
 
- Public Member Functions inherited from TreeItem
 TreeItem (QList< QVariant > data, TreeItem *parent)
 
virtual ~TreeItem ()
 
void appendChild (TreeItem *item)
 
TreeItemchild (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
 
TreeItemparentItem () const
 
bool removeChildren (int position, int count)
 

Constructor & Destructor Documentation

◆ ProcessVarItem()

ProcessVarItem::ProcessVarItem ( const QList< QVariant > & data,
TreeItem * parent )
inline

Constructor.

Definition at line 23 of file ProcessVarItem.h.

24 : TreeItem(data, parent)
25 {
26 }
TreeItem(QList< QVariant > data, TreeItem *parent)
Definition TreeItem.cpp:23
virtual QVariant data(int column) const
Definition TreeItem.cpp:94

Member Function Documentation

◆ getName()

QString ProcessVarItem::getName ( ) const
inline

Definition at line 28 of file ProcessVarItem.h.

28{ return data(0).toString(); }

References TreeItem::data().

Referenced by ProcessView::removeProcessVar().


The documentation for this class was generated from the following file: