Qt 5.10 Book Examples
Public Member Functions | List of all members
SimpleItem Class Reference
Inheritance diagram for SimpleItem:

Public Member Functions

virtual QRectF boundingRect () const
 
virtual void paint (QPainter *ppainter, const QStyleOptionGraphicsItem *, QWidget *)
 
virtual void mousePressEvent (QGraphicsSceneMouseEvent *pe)
 
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *pe)
 

Detailed Description

Definition at line 15 of file main.cpp.

Member Function Documentation

◆ boundingRect()

virtual QRectF SimpleItem::boundingRect ( ) const
inlinevirtual

Definition at line 20 of file main.cpp.

◆ mousePressEvent()

virtual void SimpleItem::mousePressEvent ( QGraphicsSceneMouseEvent *  pe)
inlinevirtual

Definition at line 38 of file main.cpp.

◆ mouseReleaseEvent()

virtual void SimpleItem::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  pe)
inlinevirtual

Definition at line 45 of file main.cpp.

◆ paint()

virtual void SimpleItem::paint ( QPainter *  ppainter,
const QStyleOptionGraphicsItem *  ,
QWidget *   
)
inlinevirtual

Definition at line 27 of file main.cpp.


The documentation for this class was generated from the following file: