Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TxqPrmVecTableItem Class Reference

TxqPrmVecTableItem is a class to edit a TxAttributeSet PrmVec entry. More...

#include <TxqPrmVecTableItem.h>

Inheritance diagram for TxqPrmVecTableItem::

TxqTableItem QObject QTableItem List of all members.

Public Methods

 TxqPrmVecTableItem (QTable *t, EditType e, TxAttributeSet *a, const QString s, const vector< double > &v, int r)
 Construct a TxqPrmVecTableItem given the QTable and EditTye parameters. More...

virtual ~TxqPrmVecTableItem ()
 The destructor. More...


Protected Methods

virtual void createActionMaps ()
 Create action maps. More...

virtual int getVecSize ()
 Get the vector size. More...

virtual bool checkLabel (int section)
 Check the label of the header. More...

virtual void addSubItem (int index, int row)
 Add sub item will create a TxqParamTableItem sub-item. More...


Private Attributes

vector<double> values
 The class vector. More...


Detailed Description

TxqPrmVecTableItem is a class to edit a TxAttributeSet PrmVec entry.

Definition at line 32 of file TxqPrmVecTableItem.h.


Constructor & Destructor Documentation

TxqPrmVecTableItem::TxqPrmVecTableItem ( QTable * t,
EditType e,
TxAttributeSet * a,
const QString s,
const vector< double > & v,
int r )
 

Construct a TxqPrmVecTableItem given the QTable and EditTye parameters.

Parameters:
t   the QTable pointer that this item belong to
e   the type of edit for this item
a   the attribute set pointer
s   the attribute name
v   the attribute vector of values
r   the row number for this item

TxqPrmVecTableItem::~TxqPrmVecTableItem ( ) [inline, virtual]
 

The destructor.

Definition at line 52 of file TxqPrmVecTableItem.h.


Member Function Documentation

void TxqPrmVecTableItem::addSubItem ( int index,
int row ) [protected, virtual]
 

Add sub item will create a TxqParamTableItem sub-item.

Parameters:
index   the index number in the vector
row   the row number for the sub item.

Reimplemented from TxqTableItem.

bool TxqPrmVecTableItem::checkLabel ( int section ) [protected, virtual]
 

Check the label of the header.

Parameters:
section   the section number clicked.
Returns:
true if an error occurs in the label.

Reimplemented from TxqTableItem.

void TxqPrmVecTableItem::createActionMaps ( ) [protected, virtual]
 

Create action maps.

Reimplemented from TxqTableItem.

int TxqPrmVecTableItem::getVecSize ( ) [inline, protected, virtual]
 

Get the vector size.

Reimplemented from TxqTableItem.

Definition at line 64 of file TxqPrmVecTableItem.h.


Member Data Documentation

vector< double > TxqPrmVecTableItem::values [private]
 

The class vector.

Definition at line 87 of file TxqPrmVecTableItem.h.


The documentation for this class was generated from the following file: Copyright Tech-X Corporation, all rights reserved.