#include <TxqTableItem.h>
Inheritance diagram for TxqTableItem::

Public Types | |
| typedef void (* | TxqActionFcnPtr )(TxqTableItem *) |
| The global typedef for static functions to insert into a name, pointer map such that functions can be invoked dynamically. More... | |
Public Methods | |
| TxqTableItem (QTable *t, EditType e, TxAttributeSet *a, const QString s, const QVariant &v, int r) | |
| Construct a TxqTableItem given the QTable and EditTye parameters. More... | |
| virtual | ~TxqTableItem () |
| The destructor. More... | |
| virtual void | setAttribute (TxAttributeSet *a) |
| Set the input attribute pointer. More... | |
| virtual void | setAttribValue () |
| Public interface to set the attribute value from the class data members. More... | |
| int | getRow () const |
| Public interface to get the row number. More... | |
| virtual int | rtti () const |
| Return a run time type number different than QTableItem. More... | |
| virtual void | addActionItem () |
| Add the action item. More... | |
Static Public Attributes | |
| int | RTTI |
| The public RTTI number. More... | |
Protected Slots | |
| virtual void | sectionClicked (int section) |
| sectionClicked slot open the section. More... | |
| void | doubleClicked (int row, int col, int button, const QPoint &mousePos) |
| Slot to process a doubleClick received on the QTable. More... | |
| void | actionChanged (QString action) |
| Slot to signify a new action item. More... | |
Protected Methods | |
| virtual void | setAttribName (const QString nm) |
| Sets the attribute name. More... | |
| virtual TXSTD::string | getAttribName () |
| Returns the attribute name. More... | |
| virtual void | addNameItem () |
| Add the attribute name item. More... | |
| virtual void | createActionMaps () |
| Create action maps. More... | |
| virtual int | getVecSize () |
| Get the vector size, since the base class does not use vectors, this returns 0. 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 vector sub-item. More... | |
| virtual bool | editAction (int row) |
| The protected edit function, invoked by the static private editAction() method. More... | |
| virtual bool | resetAction (int row) |
| The protected reset function, invoked by the static private resetAction() method. More... | |
| virtual bool | deleteAction (int row) |
| The protected delete function, invoked by the static private deleteAction() method. More... | |
| virtual bool | hideAction (int row) |
| The protected hide function, invoked by the static private hideAction() method. More... | |
| virtual bool | showAction (int row) |
| The protected show function, invoked by the static private showAction() method. More... | |
Protected Attributes | |
| TXSTD::map<int , QString> | actionMap |
| The map of action items. More... | |
| TXSTD::map<QString, TxqActionFcnPtr> | actionFcnMap |
| The map of action function pointers. More... | |
| QVariant | attribValue |
| The attribute value. More... | |
| TxAttributeSet* | attrib |
| The attribute set pointer. More... | |
| bool | isOpen |
| Bool for determining the state of the section. More... | |
| TxqActionItem* | actionItem |
| The Action item. More... | |
Static Private Methods | |
| void | editAction (TxqTableItem *) |
| Static action method to edit the section. More... | |
| void | resetAction (TxqTableItem *) |
| Static action method to reset the section. More... | |
| void | deleteAction (TxqTableItem *) |
| Static action method to delete the section. More... | |
| void | hideAction (TxqTableItem *) |
| Static action method to hide the section. More... | |
| void | showAction (TxqTableItem *) |
| Static action method to show the section. More... | |
Private Attributes | |
| QString | attribName |
| The attribute name. More... | |
| QVariant | resetValue |
| The reset value. More... | |
| int | row |
| The row number of this item. More... | |
| bool | subItemsCreated |
| The bool to determine if sub items are created. More... | |
Definition at line 35 of file TxqTableItem.h.
|
|
The global typedef for static functions to insert into a name, pointer map such that functions can be invoked dynamically. This typedef assigns TxqActionFcnPtr as a function pointer which requires no arguements and returns void. |
|
|
Construct a TxqTableItem given the QTable and EditTye parameters.
|
|
|
The destructor.
Definition at line 65 of file TxqTableItem.h. |
|
|
Slot to signify a new action item.
|
|
|
Add the action item.
|
|
|
Add the attribute name item.
|
|
|
Add sub item will create a vector sub-item. This base class method will do nothing.
Reimplemented in TxqOptVecTableItem, and TxqPrmVecTableItem. Definition at line 147 of file TxqTableItem.h. |
|
|
Check the label of the header. This base class method returns true for an error condition.
Reimplemented in TxqOptVecTableItem, and TxqPrmVecTableItem. Definition at line 139 of file TxqTableItem.h. |
|
|
Create action maps.
Reimplemented in TxqOptVecTableItem, and TxqPrmVecTableItem. |
|
|
Static action method to delete the section.
|
|
|
The protected delete function, invoked by the static private deleteAction() method. This method can be overloaded and is invoked when the user selects delete on the combo button.
|
|
|
Slot to process a doubleClick received on the QTable. Derived classes must connect to obtain this slot.
Definition at line 245 of file TxqTableItem.h. |
|
|
Static action method to edit the section.
|
|
|
The protected edit function, invoked by the static private editAction() method. This method can be overloaded and is invoked when the user selects edit on the combo button.
|
|
|
Returns the attribute name.
Definition at line 114 of file TxqTableItem.h. |
|
|
Public interface to get the row number.
Definition at line 84 of file TxqTableItem.h. Referenced by doubleClicked().
|
|
|
Get the vector size, since the base class does not use vectors, this returns 0.
Reimplemented in TxqOptVecTableItem, and TxqPrmVecTableItem. Definition at line 130 of file TxqTableItem.h. |
|
|
Static action method to hide the section.
|
|
|
The protected hide function, invoked by the static private hideAction() method. This method can be overloaded and is invoked when the user selects hide on the combo button.
|
|
|
Static action method to reset the section.
|
|
|
The protected reset function, invoked by the static private resetAction() method. This method can be overloaded and is invoked when the user selects reset on the combo button.
|
|
|
Return a run time type number different than QTableItem.
Definition at line 90 of file TxqTableItem.h. |
|
|
sectionClicked slot open the section.
Referenced by doubleClicked().
|
|
|
Sets the attribute name.
Definition at line 108 of file TxqTableItem.h. |
|
|
Public interface to set the attribute value from the class data members. The base class method does nothing. Reimplemented in TxqOptionTableItem, TxqParamTableItem, and TxqStringTableItem. Definition at line 79 of file TxqTableItem.h. |
|
|
Set the input attribute pointer.
Definition at line 71 of file TxqTableItem.h. |
|
|
Static action method to show the section.
|
|
|
The protected show function, invoked by the static private showAction() method. This method can be overloaded and is invoked when the user selects show on the combo button.
|
|
|
The public RTTI number.
Definition at line 95 of file TxqTableItem.h. |
|
|
The map of action function pointers.
Definition at line 157 of file TxqTableItem.h. |
|
|
The Action item.
Definition at line 227 of file TxqTableItem.h. |
|
|
The map of action items.
Definition at line 152 of file TxqTableItem.h. |
|
|
The attribute set pointer.
Definition at line 217 of file TxqTableItem.h. |
|
|
The attribute name.
Definition at line 285 of file TxqTableItem.h. |
|
|
The attribute value.
Definition at line 212 of file TxqTableItem.h. |
|
|
Bool for determining the state of the section.
Definition at line 222 of file TxqTableItem.h. |
|
|
The reset value.
Definition at line 290 of file TxqTableItem.h. |
|
|
The row number of this item.
Definition at line 295 of file TxqTableItem.h. |
|
|
The bool to determine if sub items are created.
Definition at line 300 of file TxqTableItem.h. |
Copyright Tech-X Corporation, all rights reserved.