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

The TranslationHandle class provides handles to update its parents position. More...

#include <PainterGraphicsItems.h>

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

Public Member Functions

 TranslationHandle (BaseShapeItem *parent)
 Constructor of the TranslationHandle 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.
 

Detailed Description

The TranslationHandle class provides handles to update its parents position.

Constructor & Destructor Documentation

PainterPanel::BaseShapeItem::TranslationHandle::TranslationHandle ( BaseShapeItem parent)
inline

Constructor of the TranslationHandle class.

Member Function Documentation

virtual void PainterPanel::BaseShapeItem::TranslationHandle::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::TranslationHandle::m_parent
private

The parent of this handle.


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