Brief description of class still missing. More...
#include <RectItemDelegate.h>
Public Member Functions | |
| virtual QList< QPointF > | nodes (QGraphicsItem *item) const |
Brief description of class still missing.
Full description of class still missing
| QList< QPointF > RectItemDelegate::nodes | ( | QGraphicsItem * | item | ) | const [virtual] |
Description still missing
Implements DrawItemDelegate.
References TRACE.
{
TRACE;
QGraphicsRectItem * rectItem=static_cast<QGraphicsRectItem *>(item);
QList<QPointF> nList;
QRectF rect=rectItem->rect();
nList.append(rect.topLeft());
nList.append(rect.topRight());
nList.append(rect.bottomLeft());
nList.append(rect.bottomRight());
return nList;
}