Logo Search packages:      
Sourcecode: scantailor version File versions  Download package

Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Attributes

ZoneDefaultInteraction Class Reference

Inheritance diagram for ZoneDefaultInteraction:
Inheritance graph
[legend]
Collaboration diagram for ZoneDefaultInteraction:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void contextMenuEvent (QContextMenuEvent *event, InteractionState &interaction)
void keyPressEvent (QKeyEvent *event, InteractionState &interaction)
void keyReleaseEvent (QKeyEvent *event, InteractionState &interaction)
void makeFirstFollower (InteractionHandler &handler)
void makeFirstPreceeder (InteractionHandler &handler)
void makeLastFollower (InteractionHandler &handler)
void makeLastPreceeder (InteractionHandler &handler)
void makePeerFollower (InteractionHandler &handler)
void makePeerPreceeder (InteractionHandler &handler)
void mouseMoveEvent (QMouseEvent *event, InteractionState &interaction)
void mousePressEvent (QMouseEvent *event, InteractionState &interaction)
void mouseReleaseEvent (QMouseEvent *event, InteractionState &interaction)
void paint (QPainter &painter, InteractionState const &interaction)
void proximityUpdate (QPointF const &screen_mouse_pos, InteractionState &interaction)
void wheelEvent (QWheelEvent *event, InteractionState &interaction)
 ZoneDefaultInteraction (ZoneInteractionContext &context)

Protected Member Functions

ZoneInteractionContextcontext ()
virtual void onContextMenuEvent (QContextMenuEvent *event, InteractionState &interaction)
virtual void onKeyPressEvent (QKeyEvent *event, InteractionState &interaction)
virtual void onKeyReleaseEvent (QKeyEvent *event, InteractionState &interaction)
virtual void onMouseMoveEvent (QMouseEvent *event, InteractionState &interaction)
virtual void onMousePressEvent (QMouseEvent *event, InteractionState &interaction)
virtual void onMouseReleaseEvent (QMouseEvent *event, InteractionState &interaction)
virtual void onPaint (QPainter &painter, InteractionState const &interaction)
virtual void onProximityUpdate (QPointF const &mouse_pos, InteractionState &interaction)
virtual void onWheelEvent (QWheelEvent *event, InteractionState &interaction)

Static Protected Member Functions

static bool defaultInteractionPermitter (InteractionState const &interaction)

Private Attributes

DragHandler m_dragHandler
DragWatcher m_dragWatcher
SplineSegment m_nearestSegment
EditableSpline::Ptr m_ptrNearestSegmentSpline
SplineVertex::Ptr m_ptrNearestVertex
EditableSpline::Ptr m_ptrNearestVertexSpline
ZoneInteractionContextm_rContext
QPointF m_screenMousePos
QPointF m_screenPointOnSegment
InteractionState::Captor m_segmentProximity
InteractionState::Captor m_vertexProximity
BasicSplineVisualizer m_visualizer
InteractionState::Captor m_zoneAreaProximity

Detailed Description

Definition at line 35 of file ZoneDefaultInteraction.h.


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

Generated by  Doxygen 1.6.0   Back to index