Isis 3 Programmer Reference
|
Tree model for control points and control measures. More...
#include <PointMeasureTreeModel.h>
Classes | |
class | CreateRootItemFunctor |
Public Types | |
enum | InterestingItems { PointItems = 1 , MeasureItems = 2 , ImageItems = 4 , AllItems = PointItems | MeasureItems | ImageItems } |
Public Slots | |
void | applyFilter () |
Signals | |
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. | |
Public Member Functions | |
PointMeasureTreeModel (ControlNet *cNet, TreeView *v, QObject *parent=0) | |
void | rebuildItems () |
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 | |
int | indexOfVisibleItem (AbstractTreeItem const *item, InterestingItemsFlag=AllItems, bool=false) const |
void | setFrozen (bool) |
bool | isFrozen () const |
void | queueRebuild () |
Protected Member Functions | |
void | clear () |
ControlNet * | getControlNetwork () const |
FilterWidget * | getFilterWidget () const |
QFutureWatcher< QAtomicPointer< RootItem > > * | getRebuildWatcher () const |
RootItem * | getRootItem () const |
Protected Attributes | |
RootItem * | rootItem |
Private Slots | |
void | applyFilterDone () |
void | rebuildItemsDone () |
Private Member Functions | |
int | getItemCount (AbstractTreeItem *, InterestingItemsFlag) const |
AbstractTreeItem * | nextItem (AbstractTreeItem *current, InterestingItemsFlag flags, bool ignoreExpansion) const |
void | selectItems (AbstractTreeItem *item, bool select, InterestingItemsFlag flags) |
Static Private Member Functions | |
static bool | itemIsInteresting (AbstractTreeItem *, InterestingItemsFlag) |
Private Attributes | |
QFutureWatcher< QAtomicPointer< AbstractTreeItem > > * | m_filterWatcher |
QFutureWatcher< QAtomicPointer< RootItem > > * | m_rebuildWatcher |
QList< QPair< QString, QString > > * | m_expandedState |
QList< QPair< QString, QString > > * | m_selectedState |
QMutex * | m_mutex |
BusyLeafItem * | m_busyItem |
TreeView * | m_view |
ControlNet * | m_cNet |
FilterWidget * | m_guisFilterWidget |
FilterWidget * | m_localFilterWidgetCopy |
bool | m_drivable |
bool | m_filterAgain |
bool | m_filterRunning |
bool | m_rebuildRunning |
bool | m_frozen |
bool | m_rebuildPending |
Tree model for control points and control measures.
This class represents a model that provides access to control points and control measures in a tree-like fashion. The tree structure is designed such that control points are parent nodes with control measures as children (leaf) nodes.
This class also provides functionality for the multi-threaded rebuilding of the point-measure tree model structure, which is necessary when certain types of changes are made to the underlying control network.
2012-09-28 Kimberly Oyama - Changed member variables to be prefixed with "m_".
2017-07-25 Summer Stapleton - Removed the CnetViz namespace. Fixes #5054.
Definition at line 49 of file PointMeasureTreeModel.h.
|
inherited |
Definition at line 52 of file AbstractTreeModel.h.
Isis::PointMeasureTreeModel::PointMeasureTreeModel | ( | ControlNet * | cNet, |
TreeView * | v, | ||
QObject * | parent = 0 ) |
Definition at line 33 of file PointMeasureTreeModel.cpp.
|
virtual |
Definition at line 40 of file PointMeasureTreeModel.cpp.
|
slotinherited |
Definition at line 434 of file AbstractTreeModel.cpp.
|
privateslotinherited |
Definition at line 551 of file AbstractTreeModel.cpp.
|
protectedinherited |
Definition at line 369 of file AbstractTreeModel.cpp.
|
signalinherited |
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.
|
protectedinherited |
Definition at line 377 of file AbstractTreeModel.cpp.
|
privateinherited |
Definition at line 512 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 255 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 169 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 118 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 250 of file AbstractTreeModel.cpp.
|
protectedinherited |
Definition at line 383 of file AbstractTreeModel.cpp.
|
protectedinherited |
Definition at line 388 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 228 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 260 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 393 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 264 of file AbstractTreeModel.cpp.
|
inherited |
indentation is in pixels
Definition at line 407 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 285 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 302 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 349 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 339 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 354 of file AbstractTreeModel.cpp.
|
staticprivateinherited |
Definition at line 496 of file AbstractTreeModel.cpp.
|
privateinherited |
Definition at line 530 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 344 of file AbstractTreeModel.cpp.
|
virtual |
Implements Isis::AbstractTreeModel.
Definition at line 108 of file PointMeasureTreeModel.cpp.
|
privateslotinherited |
Definition at line 566 of file AbstractTreeModel.cpp.
|
privateinherited |
Definition at line 482 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 359 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 325 of file AbstractTreeModel.cpp.
|
inherited |
Definition at line 476 of file AbstractTreeModel.cpp.
|
inlineinherited |
Definition at line 82 of file AbstractTreeModel.h.
|
inherited |
Definition at line 398 of file AbstractTreeModel.cpp.
|
privateinherited |
Definition at line 163 of file AbstractTreeModel.h.
|
privateinherited |
Definition at line 165 of file AbstractTreeModel.h.
|
privateinherited |
Definition at line 168 of file AbstractTreeModel.h.
Definition at line 160 of file AbstractTreeModel.h.
|
privateinherited |
Definition at line 169 of file AbstractTreeModel.h.
|
privateinherited |
Definition at line 170 of file AbstractTreeModel.h.
|
privateinherited |
Definition at line 158 of file AbstractTreeModel.h.
|
privateinherited |
Definition at line 172 of file AbstractTreeModel.h.
|
privateinherited |
Definition at line 166 of file AbstractTreeModel.h.
|
privateinherited |
Definition at line 167 of file AbstractTreeModel.h.
|
privateinherited |
Definition at line 162 of file AbstractTreeModel.h.
|
privateinherited |
Definition at line 173 of file AbstractTreeModel.h.
|
privateinherited |
Definition at line 171 of file AbstractTreeModel.h.
|
privateinherited |
Definition at line 159 of file AbstractTreeModel.h.
Definition at line 161 of file AbstractTreeModel.h.
|
privateinherited |
Definition at line 164 of file AbstractTreeModel.h.
|
protectedinherited |
Definition at line 154 of file AbstractTreeModel.h.