#include <CanvasItems.h>
Inheritance diagram for CanvasItemBase:
Definition at line 139 of file commonQt/canvas/CanvasItems.h.
Public Member Functions | |
virtual QPointArray | areaPoints () const=0 |
You have to override these! polygonalItem interface stuff. | |
virtual void | drawShape (QPainter &p)=0 |
polygonalItem interface stuff | |
virtual void | setSelected (bool yes) |
is it selected? (currently being modified) bool isSelected() declared in QCanvasItem | |
virtual void | setActive (bool yes) |
has it been selected and modifiable as a group? bool isActive() declared in QCanvasItem | |
bool | getUpdateLinks () const |
do you want this object to update other objects that are linked to it? | |
void | setUpdateLinks (bool yes) |
Protected Member Functions | |
CanvasItemBase () | |
CanvasItemBase (QCanvas *canvas, CompositeItem *comp) | |
void | updatePen () |
virtual void | _incCount () |
gutz::Counted interface, increment reference count by one. | |
virtual void | _decCount () |
gutz::Counted interface, decrement reference count by one. | |
virtual int | _getCount () const |
gutz::Counted interface, get the current reference count. | |
Protected Attributes | |
CompositeItem * | _comp |
bool | _updateLinks |
Friends | |
class | SmartPtr |
class | SmartPtrRef |
|
|
|
Definition at line 145 of file commonQt/canvas/CanvasItems.h. |
|
gutz::Counted interface, decrement reference count by one. Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Sometimes you need to call this though, see the documentation for gutz::SmartPtr Definition at line 54 of file smartptr.h. Referenced by TFImage::clear(), NrroImage::fBlendOverRGBA(), and Nrro::updateMinMax(). |
|
gutz::Counted interface, get the current reference count. Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Definition at line 58 of file smartptr.h. |
|
gutz::Counted interface, increment reference count by one. Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Sometimes you need to call this though, see the documentation for gutz::SmartPtr Definition at line 48 of file smartptr.h. Referenced by TFImage::clear(), NrroImage::fBlendOverRGBA(), and Nrro::updateMinMax(). |
|
You have to override these! polygonalItem interface stuff.
Implemented in EdgeItem, NodeItem, and PolygonEdit. |
|
polygonalItem interface stuff
Implemented in EdgeItem, NodeItem, and PolygonEdit. |
|
do you want this object to update other objects that are linked to it?
Definition at line 117 of file commonQt/canvas/CanvasItems.h. References CanvasItemIF::_updateLinks. |
|
has it been selected and modifiable as a group? bool isActive() declared in QCanvasItem
Definition at line 68 of file CanvasItems.cpp. |
|
is it selected? (currently being modified) bool isSelected() declared in QCanvasItem
Definition at line 61 of file CanvasItems.cpp. |
|
Definition at line 118 of file commonQt/canvas/CanvasItems.h. References CanvasItemIF::_updateLinks. |
|
|
|
Definition at line 40 of file smartptr.h. Referenced by Nrro::NrroIter< T >::NrroIter(). |
|
Definition at line 41 of file smartptr.h. |
|
Definition at line 129 of file commonQt/canvas/CanvasItems.h. Referenced by CanvasItemIF::CanvasItemIF(), NodeItem::moveBy(), and EdgeItem::moveBy(). |
|
Definition at line 131 of file commonQt/canvas/CanvasItems.h. Referenced by CanvasItemIF::CanvasItemIF(), CanvasItemIF::getUpdateLinks(), NodeItem::moveBy(), EdgeItem::moveBy(), NodeItem::setPoint(), and CanvasItemIF::setUpdateLinks(). |