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

TxqOptionVecTableItem Class Reference

TxqOptionVecTableItem is a class which edits a double vector entry from a TxAttributeSet. More...

#include <TxqOptionVecTableItem.h>

Inheritance diagram for TxqOptionVecTableItem::

TxqOptionTableItem TxqTableItem QObject QTableItem List of all members.

Public Methods

 TxqOptionVecTableItem (QTable *t, EditType e, TxAttributeSet *a, const QString s, const QVariant &v, int r, const QString nm, const int index)
 Construct a TxqOptionVecTableItem given the QTable and EditTye parameters. More...

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


Protected Methods

virtual void setAttribValue (const TXSTD::string name, const int value)
 Set the attribute value. More...


Private Attributes

int attribIndex
 The attribute index. More...


Detailed Description

TxqOptionVecTableItem is a class which edits a double vector entry from a TxAttributeSet.

Definition at line 27 of file TxqOptionVecTableItem.h.


Constructor & Destructor Documentation

TxqOptionVecTableItem::TxqOptionVecTableItem ( QTable * t,
EditType e,
TxAttributeSet * a,
const QString s,
const QVariant & v,
int r,
const QString nm,
const int index )
 

Construct a TxqOptionVecTableItem 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 name for this attribute, which is not the attribute name but the name the param is known by, usually [ number ]
v   the attribute value
r   the row number for this item
nm   the
index   the index number into the vector of doubles

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

The destructor.

Definition at line 50 of file TxqOptionVecTableItem.h.


Member Function Documentation

void TxqOptionVecTableItem::setAttribValue ( const TXSTD::string name,
const int value ) [protected, virtual]
 

Set the attribute value.

Parameters:
name   the attribute name
value   the value to set

Reimplemented from TxqOptionTableItem.


Member Data Documentation

int TxqOptionVecTableItem::attribIndex [private]
 

The attribute index.

Definition at line 65 of file TxqOptionVecTableItem.h.


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