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

TxqOptVecTableItem Class Reference

TxqOptVecTableItem is a class to edit a TxAttributeSet OptVec entry. More...

#include <TxqOptVecTableItem.h>

Inheritance diagram for TxqOptVecTableItem::

TxqTableItem QObject QTableItem List of all members.

Public Methods

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

virtual ~TxqOptVecTableItem ()
 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 TxqOptionTableItem sub-item. More...


Private Attributes

vector<int> values
 The class vector of values. More...


Detailed Description

TxqOptVecTableItem is a class to edit a TxAttributeSet OptVec entry.

Definition at line 34 of file TxqOptVecTableItem.h.


Constructor & Destructor Documentation

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

Construct a TxqOptVecTableItem 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

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

The destructor.

Definition at line 54 of file TxqOptVecTableItem.h.


Member Function Documentation

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

Add sub item will create a TxqOptionTableItem sub-item.

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

Reimplemented from TxqTableItem.

bool TxqOptVecTableItem::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 TxqOptVecTableItem::createActionMaps ( ) [protected, virtual]
 

Create action maps.

Reimplemented from TxqTableItem.

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

Get the vector size.

Reimplemented from TxqTableItem.

Definition at line 66 of file TxqOptVecTableItem.h.


Member Data Documentation

vector< int > TxqOptVecTableItem::values [private]
 

The class vector of values.

Definition at line 88 of file TxqOptVecTableItem.h.


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