|
void | cancelSort () |
|
void | modelModified () |
|
void | filterProgressChanged (int) |
|
void | filterProgressRangeChanged (int, int) |
|
void | rebuildProgressChanged (int) |
|
void | rebuildProgressRangeChanged (int, int) |
|
void | treeSelectionChanged (QList< AbstractTreeItem *>) |
|
void | tableSelectionChanged (QList< AbstractTreeItem *>) |
|
void | filterCountsChanged (int visibleTopLevelItemCount, int topLevelItemCount) |
| This signal is emitted after filtering to provide the number of visible top-level items remaining after the filter was applied, as well as the total number of items that were possible. More...
|
|
|
| AbstractTreeModel (ControlNet *controlNet, TreeView *v, QObject *parent=0) |
|
QList< AbstractTreeItem *> | getItems (int, int, InterestingItemsFlag=AllItems, bool=false) |
|
QList< AbstractTreeItem *> | getItems (AbstractTreeItem *, AbstractTreeItem *, InterestingItemsFlag=AllItems, bool=false) |
|
QList< AbstractTreeItem *> | getSelectedItems (InterestingItemsFlag=AllItems, bool=false) |
|
QMutex * | getMutex () const |
|
int | getItemCount (InterestingItemsFlag) const |
|
int | getTopLevelItemCount () const |
|
int | getVisibleItemCount (InterestingItemsFlag, bool) const |
|
int | getVisibleTopLevelItemCount () const |
|
TreeView * | getView () const |
|
void | setDrivable (bool drivableStatus) |
|
bool | isDrivable () const |
|
bool | isFiltering () const |
|
bool | isRebuilding () const |
|
void | setRebuilding (bool running) |
|
void | setFilter (FilterWidget *newFilter) |
|
void | setGlobalSelection (bool selected, InterestingItemsFlag=AllItems) |
|
void | stopWorking () |
|
QSize | getVisibleSize (int indentation) const |
| indentation is in pixels More...
|
|
int | indexOfVisibleItem (AbstractTreeItem const *item, InterestingItemsFlag=AllItems, bool=false) const |
|
void | setFrozen (bool) |
|
bool | isFrozen () const |
|
void | queueRebuild () |
|
virtual void | rebuildItems ()=0 |
|
Base class for tree models.
This class is a base class for models that store data in a tree-like structure. There is also a linked-list for iterating over the filtered items in an efficient manner. This handles the filtering of items and provides an interface for rebuilding.
- Author
- ????-??-?? Eric Hyer
- History:
2012-09-28 Kimberly Oyama - Changed member variables to be prefixed with "m_".
2016-06-21 Kris Becker - Properly forward declare QPair as struct not class
2017-07-25 Summer Stapleton - Removed the CnetViz namespace. Fixes #5054.
Definition at line 39 of file AbstractTreeModel.h.