QGraphicsAbstractItem
QGraphicsAbstractItem is an abstract base class in the Qt Graphics View Framework. It serves as the fundamental building block for all items that can be added to a QGraphicsScene. Because it is abstract, you cannot create instances of QGraphicsAbstractItem directly. Instead, you must derive from it and implement its pure virtual functions to create concrete item types.
The primary purpose of QGraphicsAbstractItem is to define the common interface for all graphics items. This
QGraphicsAbstractItem also provides a rich set of virtual functions for event handling, allowing items to respond