okteta
Go to the documentation of this file.
23 #ifndef OKTETA_MOUSENAVIGATOR_H
24 #define OKTETA_MOUSENAVIGATOR_H
29 #include <QtCore/QObject>
30 #include <QtCore/QPoint>
MouseNavigator(AbstractByteArrayView *view, AbstractMouseController *parent)
void handleMouseMove(const QPoint &point)
handles the move of the mouse with pressed buttons
virtual bool handleMouseReleaseEvent(QMouseEvent *mouseEvent)
virtual bool handleMouseDoubleClickEvent(QMouseEvent *mouseEvent)
QPoint mDoubleClickPoint
point at which the current double click happended (used by TrippleClick)
void autoScrollTimerDone()
gets called by the scroll timer (for mouse selection)
bool mDragStartPossible
flag if a drag might have started
QPoint mDragStartPoint
point at which the current dragging started
bool mLMBPressed
flag if the left mouse button is pressed
QTimer * mDragStartTimer
Timer to start a drag.
virtual bool handleMouseMoveEvent(QMouseEvent *mouseEvent)
bool mInDnD
flag if a Drag'n'Drop is happening
virtual ~MouseNavigator()
int mDoubleClickLine
line in which the current double click happended (used by TrippleClick)
bool mInLMBDoubleClick
flag if a double click is happening
QTimer * mScrollTimer
Timer that triggers ensureCursorVisible function calls.
QTimer * mTrippleClickTimer
timer to measure whether the time between a double click and the following counts for a tripleclick ...
virtual bool handleMousePressEvent(QMouseEvent *mouseEvent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:08 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.