|  | Home · Overviews · Examples

# QAbstractGraphicsShapeItem Class Reference
[com.trolltech.qt.gui module]

The `QAbstractGraphicsShapeItem` class provides a common base for all path items. More...

Inherits .

Inherited by `QGraphicsEllipseItem`, `QGraphicsPathItem`, `QGraphicsPolygonItem`, `QGraphicsRectItem`, and `QGraphicsSimpleTextItem`.

## Detailed Description

The `QAbstractGraphicsShapeItem` class provides a common base for all path items.

This class does not fully implement an item by itself; in particular, it does not implement `boundingRect` and `paint`, which are inherited by `QGraphicsItem`.

You can subclass this item to provide a simple base implementation of accessors for the item's pen and brush.

See also `QGraphicsRectItem`, `QGraphicsEllipseItem`, `QGraphicsPathItem`, `QGraphicsPolygonItem`, `QGraphicsTextItem`, `QGraphicsLineItem`, `QGraphicsPixmapItem`, and The Graphics View Framework.