MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Signals | Public Member Functions | Protected Member Functions | Protected Attributes
HlaBounceGraphicsScene Class Reference
+ Inheritance diagram for HlaBounceGraphicsScene:
+ Collaboration diagram for HlaBounceGraphicsScene:

Signals

void mouseReleased (const QPointF &)

Public Member Functions

 HlaBounceGraphicsScene (QObject *parent=0)
 HlaBounceGraphicsScene (const QRectF &sceneRect, QObject *parent=0)
 HlaBounceGraphicsScene (qreal x, qreal y, qreal width, qreal height, QObject *parent=0)
virtual ~HlaBounceGraphicsScene ()
void setDrawRectangleMode (bool enable)
QRect getLastRectangle ()

Protected Member Functions

virtual void mousePressEvent (QGraphicsSceneMouseEvent *mouseEvent)
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *mouseEvent)
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *mouseEvent)

Protected Attributes

bool myDrawRectangle
QGraphicsRectItem * myRectangle
QRect myLastRectangle

Constructor & Destructor Documentation

HlaBounceGraphicsScene::HlaBounceGraphicsScene ( QObject parent = 0)
HlaBounceGraphicsScene::HlaBounceGraphicsScene ( const QRectF &  sceneRect,
QObject parent = 0 
)
HlaBounceGraphicsScene::HlaBounceGraphicsScene ( qreal  x,
qreal  y,
qreal  width,
qreal  height,
QObject parent = 0 
)
virtual HlaBounceGraphicsScene::~HlaBounceGraphicsScene ( )
virtual

Member Function Documentation

QRect HlaBounceGraphicsScene::getLastRectangle ( )
inline

References myLastRectangle.

virtual void HlaBounceGraphicsScene::mouseMoveEvent ( QGraphicsSceneMouseEvent *  mouseEvent)
protectedvirtual
virtual void HlaBounceGraphicsScene::mousePressEvent ( QGraphicsSceneMouseEvent *  mouseEvent)
protectedvirtual
void HlaBounceGraphicsScene::mouseReleased ( const QPointF &  )
signal
virtual void HlaBounceGraphicsScene::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  mouseEvent)
protectedvirtual
void HlaBounceGraphicsScene::setDrawRectangleMode ( bool  enable)

Member Data Documentation

bool HlaBounceGraphicsScene::myDrawRectangle
protected
QRect HlaBounceGraphicsScene::myLastRectangle
protected

Referenced by getLastRectangle().

QGraphicsRectItem* HlaBounceGraphicsScene::myRectangle
protected

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

Document ID: Generated on Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)