Isis 3 Programmer Reference
|
Base class for an image item in the tree. More...
#include <AbstractImageItem.h>
Public Types | |
enum | InternalPointerType { None, Point, Measure, ImageAndNet } |
Public Member Functions | |
AbstractImageItem (QString imageSerial, ControlNet *net, int avgCharWidth, AbstractTreeItem *parent=0) | |
QVariant | getData () const |
QVariant | getData (QString columnTitle) const |
void | setData (QString const &columnTitle, QString const &newData) |
bool | isDataEditable (QString columnTitle) const |
void | deleteSource () |
InternalPointerType | getPointerType () const |
void * | getPointer () const |
bool | hasImage (QString imageSerial) 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 | 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 void | setLastVisibleFilteredItem (AbstractTreeItem *item) |
virtual const AbstractTreeItem * | getLastVisibleFilteredItem () const |
Protected Member Functions | |
virtual void | sourceDeleted () |
This method is required to be implemented by the parent AbstractTreeItem class, but for this it's a NOP. More... | |
virtual void | calcDataWidth (int avgCharWidth) |
Static Protected Member Functions | |
static double | catchNull (QString) |
static QString | catchNull (QVariant) |
Private Member Functions | |
AbstractImageItem (const AbstractImageItem &other) | |
const AbstractImageItem & | operator= (const AbstractImageItem &other) |
Private Attributes | |
QPair< QString, ControlNet * > * | m_imageAndNet |
AbstractTreeItem * | m_nextVisibleItem |
AbstractTreeItem * | m_parentItem |
bool | m_expanded |
bool | m_selectable |
bool | m_selected |
bool | m_visible |
int | m_dataWidth |
Base class for an image item in the tree.
This class represents an image item in the tree. This is generally visualized as a serial number.
Definition at line 34 of file AbstractImageItem.h.
|
protectedvirtual |
This method is required to be implemented by the parent AbstractTreeItem class, but for this it's a NOP.
Implements Isis::AbstractTreeItem.
Definition at line 88 of file AbstractImageItem.cpp.