32 mGraphicsView(graphicsView),
std::uint32_t RoleType
Type of a user role that can be set in a GraphicsItem (bitwise flag).
void setItemRole(RoleType role)
Setter function for mRole.
virtual ~GraphicsItem()
Virtual Destructor.
GraphicItemsList & getGraphicItems()
Get the list of the graphic items.
GraphicsItem(GraphicsViewAdapter *graphicsView)
Constructor.
GraphicsViewAdapter * mGraphicsView
Pointer to the parent GraphicsViewAdapter.
Abstract base class for implementations rendering graphics.
void setKeyIndexAndItemRole(int index, RoleType role)
Short function for setting the key index and the role.
void setKeyIndex(int index)
Setter for mKeyIndex.