Constructor & Destructor Documentation
| DtTMEchelonTree::DtTMEchelonTree |
( |
QWidget * |
parent = NULL, |
|
|
const Qt::WindowFlags & |
f = 0 |
|
) |
| |
| virtual DtTMEchelonTree::~DtTMEchelonTree |
( |
| ) |
|
|
virtual |
Member Function Documentation
Call one of the two init() functions before using.
Inits with a hierarchy, and not a view.
Inits with a view.
The hierarchy which this view is over will be used as the hierarchy. Echelon Tree will maintain sync with this view by default.
| virtual void DtTMEchelonTree::setListViewEventFilter |
( |
QWidget * |
filter | ) |
|
|
virtual |
Set widgets that can be used to filter events for the list view.
This is so subclassing the list view to capture events is not necessary
| virtual void DtTMEchelonTree::removeListViewEventFilter |
( |
QWidget * |
filter | ) |
|
|
virtual |
| virtual void DtTMEchelonTree::setSelectionModeEnabled |
( |
bool |
b | ) |
|
|
virtual |
| virtual void DtTMEchelonTree::commonInit |
( |
| ) |
|
|
protectedvirtual |
| virtual void DtTMEchelonTree::initColumnHeadings |
( |
DtTreeWidget & |
listView | ) |
|
|
protectedvirtual |
Adds column headings to the list view. Add at least one.
Creates the list view widget and returns a pointer to it.
Creates the widget in which the expand/collapse buttons will reside.
| virtual bool DtTMEchelonTree::maintainEchelonSync |
( |
| ) |
const |
|
virtual |
| void DtTMEchelonTree::selectionChanged |
( |
const QVector< DtModelKey > & |
| ) |
|
|
signal |
| void DtTMEchelonTree::selectionAdded |
( |
const QVector< DtModelKey > & |
| ) |
|
|
signal |
| void DtTMEchelonTree::clearSelection |
( |
bool |
| ) |
|
|
signal |
| void DtTMEchelonTree::symbolExpanded |
( |
const DtModelKey & |
| ) |
|
|
signal |
| void DtTMEchelonTree::symbolCollapsed |
( |
const DtModelKey & |
| ) |
|
|
signal |
| void DtTMEchelonTree::showInformationClicked |
( |
const DtModelData & |
| ) |
|
|
signal |
| virtual void DtTMEchelonTree::addSymbol |
( |
const DtModelKey & |
| ) |
|
|
virtualslot |
| virtual void DtTMEchelonTree::removeSymbol |
( |
const DtModelKey & |
| ) |
|
|
virtualslot |
| virtual void DtTMEchelonTree::updateSymbol |
( |
const DtModelKey & |
key, |
|
|
int |
changed |
|
) |
| |
|
virtualslot |
| virtual void DtTMEchelonTree::updateSymbol |
( |
const DtModelData & |
d, |
|
|
int |
changed |
|
) |
| |
|
virtualslot |
| virtual void DtTMEchelonTree::expandSymbol |
( |
const DtModelKey & |
| ) |
|
|
virtualslot |
| virtual void DtTMEchelonTree::collapseSymbol |
( |
const DtModelKey & |
| ) |
|
|
virtualslot |
Verify that the symbols position in the list view hierarchy matches that of the echelonHierarchy, and if not, call moveItemInListHierarchy to relocate it correctly.
Returns true if the item was repositioned.
| virtual void DtTMEchelonTree::syncToEchelonView |
( |
| ) |
|
|
virtualslot |
| virtual void DtTMEchelonTree::syncFromEchelonView |
( |
| ) |
|
|
virtualslot |
| virtual void DtTMEchelonTree::setMaintainEchelonSync |
( |
bool |
| ) |
|
|
virtualslot |
| virtual void DtTMEchelonTree::syncFromHierarchy |
( |
| ) |
|
|
virtualslot |
| virtual void DtTMEchelonTree::setSelection |
( |
const QVector< DtModelKey > & |
| ) |
|
|
virtualslot |
| virtual void DtTMEchelonTree::clearSelection |
( |
| ) |
|
|
virtualslot |
| virtual void DtTMEchelonTree::setSelectionAll |
( |
| ) |
|
|
virtualslot |
| virtual void DtTMEchelonTree::tick |
( |
| ) |
|
|
virtualslot |
Sort if we are marked as dirty.
| virtual void DtTMEchelonTree::setupEchelonIdColumn |
( |
bool |
show | ) |
|
|
virtualslot |
| virtual void DtTMEchelonTree::updateSelection |
( |
bool |
signal = true | ) |
|
|
protectedvirtualslot |
| virtual void DtTMEchelonTree::scrollRangeChanged |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
protectedvirtualslot |
| virtual void DtTMEchelonTree::expandToLevel |
( |
unsigned int |
level | ) |
|
|
protectedvirtualslot |
| virtual void DtTMEchelonTree::collapseToLevel |
( |
unsigned int |
level | ) |
|
|
protectedvirtualslot |
| virtual void DtTMEchelonTree::scrollCollapseButtons |
( |
int |
x | ) |
|
|
protectedvirtualslot |
| virtual void DtTMEchelonTree::doubleClicked |
( |
QTreeWidgetItem * |
li, |
|
|
int |
col |
|
) |
| |
|
protectedvirtualslot |
| virtual void DtTMEchelonTree::updateCollapseButtons |
( |
| ) |
|
|
protectedvirtual |
| virtual void DtTMEchelonTree::createCollapseButton |
( |
unsigned int |
level | ) |
|
|
protectedvirtual |
| virtual void DtTMEchelonTree::collapseToLevel |
( |
unsigned int |
level, |
|
|
QTreeWidgetItem * |
|
|
) |
| |
|
protectedvirtual |
Recursivly collapses all open depth(level) nodes.
| virtual void DtTMEchelonTree::expandToLevel |
( |
unsigned int |
level, |
|
|
QTreeWidgetItem * |
|
|
) |
| |
|
protectedvirtual |
Recursivly expands all nodes < depth(level) starting at firstLvi.
| virtual void DtTMEchelonTree::updateEchelonIdColumn |
( |
| ) |
|
|
protectedvirtual |
Updates the text for all known items for the echelonIdColumn.
Called when the column is shown
Member Data Documentation
| QVector<DtModelKey> DtTMEchelonTree::mySelectedKeys |
|
protected |
| bool DtTMEchelonTree::myMaintainEchelonSync |
|
protected |
The global expand/collapse buttons run along the top of the list view allowin the user to expand or collapse an entire level at once.
| QPixmap DtTMEchelonTree::myPlusPixmap |
|
protected |
| QPixmap DtTMEchelonTree::myMinusPixmap |
|
protected |
| const int DtTMEchelonTree::theEntityIdColumn |
|
staticprotected |
| const char* DtTMEchelonTree::thePlusImageData[] |
|
staticprotected |
| const char* DtTMEchelonTree::theMinusImageData[] |
|
staticprotected |
| bool DtTMEchelonTree::mySelectionModeEnabled |
|
protected |
| bool DtTMEchelonTree::myDirty |
|
protected |
| bool DtTMEchelonTree::myUpdateCollapseButtons |
|
protected |
| bool DtTMEchelonTree::mySendingSelectionSignal |
|
protected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.tot/include/tmqt/tmEchelonTree.h