29 #ifndef __BACKGROUNDITEM_H__
30 #define __BACKGROUNDITEM_H__
BackgroundItem(const QString &filename, QGraphicsWidget *parent=0)
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
void resizeEvent(QGraphicsSceneResizeEvent *event)
QGraphicsObject * parent
the parent of the item
The QGraphicsSceneResizeEvent class provides events for widget resizing in the graphics view framewor...
The QPainter class performs low-level painting on widgets and other paint devices.
The QPixmap class is an off-screen image representation that can be used as a paint device.
The QString class provides a Unicode character string.
The QStyleOptionGraphicsItem class is used to describe the parameters needed to draw a QGraphicsItem.