1#ifndef AbstractTreeItem_H
2#define AbstractTreeItem_H
15template<
typename T >
class QList;
77 virtual QVariant
getData(QString columnTitle)
const = 0;
78 virtual void setData(QString
const &columnTitle,
79 QString
const &newData) = 0;
90 virtual bool hasImage(QString imageSerial)
const;
Base class for an item in the tree.
Definition AbstractTreeItem.h:39
int row() const
Definition AbstractTreeItem.cpp:53
virtual QString getFormattedData() const
Definition AbstractTreeItem.cpp:63
virtual AbstractTreeItem * getFirstVisibleChild() const =0
virtual void setLastVisibleFilteredItem(AbstractTreeItem *item)
Definition AbstractTreeItem.cpp:178
virtual bool isSelected() const
Definition AbstractTreeItem.cpp:133
virtual void deleteSource()=0
virtual void setFirstVisibleChild(AbstractTreeItem *child)=0
virtual void sourceDeleted()=0
virtual const AbstractTreeItem * getLastVisibleFilteredItem() const
Definition AbstractTreeItem.cpp:186
virtual bool hasPoint(ControlPoint *) const
Definition AbstractTreeItem.cpp:83
virtual ~AbstractTreeItem()
Definition AbstractTreeItem.cpp:37
virtual QVariant getData() const =0
AbstractTreeItem * parent() const
Definition AbstractTreeItem.cpp:43
virtual void setExpanded(bool newState)
Definition AbstractTreeItem.cpp:114
virtual int getDepth() const
Definition AbstractTreeItem.cpp:164
virtual int getDataWidth() const
Definition AbstractTreeItem.cpp:153
virtual void setLastVisibleChild(AbstractTreeItem *child)=0
virtual bool isSelectable() const
Definition AbstractTreeItem.cpp:138
virtual AbstractTreeItem * childAt(int row) const =0
virtual void setData(QString const &columnTitle, QString const &newData)=0
virtual int childCount() const =0
InternalPointerType
Definition AbstractTreeItem.h:44
@ None
Definition AbstractTreeItem.h:45
@ Point
Definition AbstractTreeItem.h:46
@ ImageAndNet
Definition AbstractTreeItem.h:48
@ Measure
Definition AbstractTreeItem.h:47
virtual QVariant getData(QString columnTitle) const =0
virtual void calcDataWidth(int avgCharWidth)
Definition AbstractTreeItem.cpp:191
virtual InternalPointerType getPointerType() const =0
virtual void setSelectable(bool newSelectable)
Definition AbstractTreeItem.cpp:128
virtual int indexOf(AbstractTreeItem *child) const =0
virtual QList< AbstractTreeItem * > getChildren() const =0
virtual void addChild(AbstractTreeItem *child)=0
virtual bool hasImage(QString imageSerial) const
Definition AbstractTreeItem.cpp:103
AbstractTreeItem(AbstractTreeItem *parent=0)
Definition AbstractTreeItem.cpp:26
virtual bool hasMeasure(ControlMeasure *) const
Definition AbstractTreeItem.cpp:93
virtual AbstractTreeItem * getLastVisibleChild() const =0
virtual AbstractTreeItem * getNextVisiblePeer() const
Definition AbstractTreeItem.cpp:73
void setParent(AbstractTreeItem *newParent)
Definition AbstractTreeItem.cpp:48
static double catchNull(QString)
Definition AbstractTreeItem.cpp:221
virtual void setNextVisiblePeer(AbstractTreeItem *next)
Definition AbstractTreeItem.cpp:78
virtual void * getPointer() const =0
virtual bool isExpanded() const
Definition AbstractTreeItem.cpp:118
virtual bool isVisible() const
Definition AbstractTreeItem.cpp:148
virtual bool isDataEditable(QString columnTitle) const =0
virtual void setSelected(bool newState)
Definition AbstractTreeItem.cpp:123
virtual void setVisible(bool newState)
Definition AbstractTreeItem.cpp:143
a control measurement
Definition ControlMeasure.h:175
A single control point.
Definition ControlPoint.h:356
This is free and unencumbered software released into the public domain.
Definition BoxcarCachingAlgorithm.h:13
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16