|
KanoopGuiQt 1.3.0
Qt GUI utility library
|
|
QGraphicsPixmapItem with an application-defined type integer. More...
#include <pixmapgraphicsitem.h>
Inheritance diagram for PixmapGraphicsItem:
Collaboration diagram for PixmapGraphicsItem:Public Member Functions | |
| PixmapGraphicsItem (int type, QGraphicsItem *parent=nullptr) | |
| Construct with a type integer and optional parent item. | |
| virtual int | type () const override |
| Return the application-defined type integer. | |
Protected Member Functions | |
| virtual QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
| Handle graphics item change notifications. | |
QGraphicsPixmapItem with an application-defined type integer.
PixmapGraphicsItem stores a type integer (returned by type()) that allows qgraphicsitem_cast<> and scene item-type filtering to work with custom types.
Definition at line 13 of file pixmapgraphicsitem.h.
|
explicit |
Construct with a type integer and optional parent item.
| type | Application-defined graphics item type |
| parent | Optional parent QGraphicsItem |
|
inlineoverridevirtual |
Return the application-defined type integer.
Definition at line 27 of file pixmapgraphicsitem.h.