Isis 3 Programmer Reference
|
The root of a tree. More...
#include <RootItem.h>
Public Types | |
enum | InternalPointerType { None , Point , Measure , ImageAndNet } |
Public Member Functions | |
void | setLastVisibleFilteredItem (AbstractTreeItem *item) |
const AbstractTreeItem * | getLastVisibleFilteredItem () const |
virtual QVariant | getData () const |
virtual QVariant | getData (QString columnTitle) const |
virtual void | setData (QString const &columnTitle, QString const &newData) |
virtual bool | isDataEditable (QString columnTitle) const |
virtual void | deleteSource () |
virtual InternalPointerType | getPointerType () const |
virtual void * | getPointer () const |
virtual bool | operator< (AbstractTreeItem const &other) const |
AbstractTreeItem * | parent () const |
void | setParent (AbstractTreeItem *newParent) |
int | row () const |
virtual void | addChild (AbstractTreeItem *child)=0 |
virtual QList< AbstractTreeItem * > | getChildren () const =0 |
virtual AbstractTreeItem * | childAt (int row) const =0 |
virtual int | childCount () const =0 |
virtual AbstractTreeItem * | getFirstVisibleChild () const =0 |
virtual AbstractTreeItem * | getLastVisibleChild () const =0 |
virtual int | indexOf (AbstractTreeItem *child) const =0 |
virtual void | setFirstVisibleChild (AbstractTreeItem *child)=0 |
virtual void | setLastVisibleChild (AbstractTreeItem *child)=0 |
virtual QString | getFormattedData () const |
virtual QString | getFormattedData (QString columnTitle) const |
virtual bool | hasMeasure (ControlMeasure *) const |
virtual bool | hasImage (QString imageSerial) const |
virtual bool | hasPoint (ControlPoint *) const |
virtual AbstractTreeItem * | getNextVisiblePeer () const |
virtual void | setNextVisiblePeer (AbstractTreeItem *next) |
virtual void | setExpanded (bool newState) |
virtual bool | isExpanded () const |
virtual void | setSelected (bool newState) |
virtual void | setSelectable (bool newSelectable) |
virtual bool | isSelected () const |
virtual bool | isSelectable () const |
virtual void | setVisible (bool newState) |
virtual bool | isVisible () const |
virtual int | getDataWidth () const |
virtual int | getDepth () const |
virtual AbstractTreeItem * | childAt (int row) const |
virtual QList< AbstractTreeItem * > | getChildren () const |
virtual AbstractTreeItem * | getFirstVisibleChild () const |
virtual AbstractTreeItem * | getLastVisibleChild () const |
virtual int | indexOf (AbstractTreeItem *child) const |
virtual int | childCount () const |
virtual void | addChild (AbstractTreeItem *child) |
virtual void | setFirstVisibleChild (AbstractTreeItem *child) |
virtual void | setLastVisibleChild (AbstractTreeItem *child) |
Protected Member Functions | |
virtual void | sourceDeleted () |
virtual void | calcDataWidth (int avgCharWidth) |
Static Protected Member Functions | |
static double | catchNull (QString) |
static QString | catchNull (QVariant) |
Private Member Functions | |
RootItem (const RootItem &other) | |
const RootItem & | operator= (const RootItem &other) |
Private Attributes | |
AbstractTreeItem * | m_lastVisibleFilteredItem |
AbstractTreeItem * | m_nextVisibleItem |
AbstractTreeItem * | m_parentItem |
bool | m_expanded |
bool | m_selectable |
bool | m_selected |
bool | m_visible |
int | m_dataWidth |
QList< AbstractTreeItem * > * | m_children |
AbstractTreeItem * | m_firstVisibleChild |
AbstractTreeItem * | m_lastVisibleChild |
The root of a tree.
This class represents the root of a tree in the tree model. It is different from other parent nodes because it knows of the last visible item in the tree that was filtered, which is needed during a partially-complete filter operation so that unfiltered items can be determined. The root item never contains any data.
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 37 of file RootItem.h.
|
inherited |
Definition at line 44 of file AbstractTreeItem.h.
Isis::RootItem::RootItem | ( | ) |
Definition at line 13 of file RootItem.cpp.
|
virtual |
Definition at line 19 of file RootItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 76 of file AbstractParentItem.cpp.
|
protectedvirtualinherited |
Definition at line 191 of file AbstractTreeItem.cpp.
|
staticprotectedinherited |
Definition at line 221 of file AbstractTreeItem.cpp.
|
staticprotectedinherited |
Definition at line 201 of file AbstractTreeItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 46 of file AbstractParentItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 71 of file AbstractParentItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 49 of file AbstractNullDataItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 51 of file AbstractParentItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 28 of file AbstractNullDataItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 33 of file AbstractNullDataItem.cpp.
|
virtualinherited |
Definition at line 153 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 164 of file AbstractTreeItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 56 of file AbstractParentItem.cpp.
|
virtualinherited |
Definition at line 63 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 68 of file AbstractTreeItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 61 of file AbstractParentItem.cpp.
|
virtual |
Reimplemented from Isis::AbstractTreeItem.
Definition at line 29 of file RootItem.cpp.
|
virtualinherited |
Definition at line 73 of file AbstractTreeItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 60 of file AbstractNullDataItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 55 of file AbstractNullDataItem.cpp.
|
virtualinherited |
Definition at line 103 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 93 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 83 of file AbstractTreeItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 66 of file AbstractParentItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 44 of file AbstractNullDataItem.cpp.
|
virtualinherited |
Definition at line 118 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 138 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 133 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 148 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 65 of file AbstractNullDataItem.cpp.
|
inherited |
Definition at line 43 of file AbstractTreeItem.cpp.
|
inherited |
Definition at line 53 of file AbstractTreeItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 38 of file AbstractNullDataItem.cpp.
|
virtualinherited |
Definition at line 114 of file AbstractTreeItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 101 of file AbstractParentItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 106 of file AbstractParentItem.cpp.
|
virtual |
Reimplemented from Isis::AbstractTreeItem.
Definition at line 24 of file RootItem.cpp.
|
virtualinherited |
Definition at line 78 of file AbstractTreeItem.cpp.
|
inherited |
Definition at line 48 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 128 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 123 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 143 of file AbstractTreeItem.cpp.
|
protectedvirtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 71 of file AbstractNullDataItem.cpp.
|
privateinherited |
Definition at line 56 of file AbstractParentItem.h.
|
privateinherited |
Definition at line 135 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 131 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 57 of file AbstractParentItem.h.
|
privateinherited |
Definition at line 58 of file AbstractParentItem.h.
|
private |
Definition at line 53 of file RootItem.h.
|
privateinherited |
Definition at line 129 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 130 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 132 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 133 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 134 of file AbstractTreeItem.h.