Frapper  1.0a
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
PainterPanel::BaseShapeItem::RotationHandle Class Reference

The RotationHandle class provides handles to update its parents orientation. More...

#include <PainterGraphicsItems.h>

Inheritance diagram for PainterPanel::BaseShapeItem::RotationHandle:
Inheritance graph
[legend]
Collaboration diagram for PainterPanel::BaseShapeItem::RotationHandle:
Collaboration graph
[legend]

Public Member Functions

 RotationHandle (BaseShapeItem *parent)
 Constructor of the RotationHandle class.
 

Protected Member Functions

virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
 Override event handler to listen to mouse move events.
 

Private Attributes

BaseShapeItemm_parent
 The parent of this handle.
 
float m_angle
 The current orientation of the parent item.
 

Detailed Description

The RotationHandle class provides handles to update its parents orientation.

Constructor & Destructor Documentation

PainterPanel::BaseShapeItem::RotationHandle::RotationHandle ( BaseShapeItem parent)
inline

Constructor of the RotationHandle class.

Member Function Documentation

virtual void PainterPanel::BaseShapeItem::RotationHandle::mouseMoveEvent ( QGraphicsSceneMouseEvent *  event)
inlineprotectedvirtual

Override event handler to listen to mouse move events.

Parameters
eventthe graphics scene mouse event to listen to

Member Data Documentation

BaseShapeItem* PainterPanel::BaseShapeItem::RotationHandle::m_parent
private

The parent of this handle.

float PainterPanel::BaseShapeItem::RotationHandle::m_angle
private

The current orientation of the parent item.


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