• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

okteta

  • Okteta
  • MouseNavigator
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
Okteta::MouseNavigator Class Reference

#include <mousenavigator.h>

Inheritance diagram for Okteta::MouseNavigator:
Inheritance graph
[legend]

Public Member Functions

 MouseNavigator (AbstractByteArrayView *view, AbstractMouseController *parent)
 
virtual ~MouseNavigator ()
 
virtual bool handleMouseDoubleClickEvent (QMouseEvent *mouseEvent)
 
virtual bool handleMouseMoveEvent (QMouseEvent *mouseEvent)
 
virtual bool handleMousePressEvent (QMouseEvent *mouseEvent)
 
virtual bool handleMouseReleaseEvent (QMouseEvent *mouseEvent)
 
- Public Member Functions inherited from Okteta::AbstractMouseController
virtual ~AbstractMouseController ()
 

Protected Slots

void autoScrollTimerDone ()
 
void startDrag ()
 

Protected Member Functions

void handleMouseMove (const QPoint &point)
 
- Protected Member Functions inherited from Okteta::AbstractMouseController
 AbstractMouseController (AbstractByteArrayView *view, AbstractMouseController *parent)
 

Protected Attributes

int mDoubleClickLine
 
QPoint mDoubleClickPoint
 
QPoint mDragStartPoint
 
bool mDragStartPossible:1
 
QTimer * mDragStartTimer
 
bool mInDnD:1
 
bool mInLMBDoubleClick:1
 
bool mLMBPressed:1
 
QTimer * mScrollTimer
 
QTimer * mTrippleClickTimer
 
- Protected Attributes inherited from Okteta::AbstractMouseController
AbstractMouseController * mParent
 
AbstractByteArrayView * mView
 

Detailed Description

Definition at line 39 of file mousenavigator.h.

Constructor & Destructor Documentation

Okteta::MouseNavigator::MouseNavigator ( AbstractByteArrayView *  view,
AbstractMouseController *  parent 
)

Definition at line 43 of file mousenavigator.cpp.

Okteta::MouseNavigator::~MouseNavigator ( )
virtual

Definition at line 411 of file mousenavigator.cpp.

Member Function Documentation

void Okteta::MouseNavigator::autoScrollTimerDone ( )
protectedslot

gets called by the scroll timer (for mouse selection)

Definition at line 303 of file mousenavigator.cpp.

bool Okteta::MouseNavigator::handleMouseDoubleClickEvent ( QMouseEvent *  mouseEvent)
virtual

Reimplemented from Okteta::AbstractMouseController.

Definition at line 269 of file mousenavigator.cpp.

void Okteta::MouseNavigator::handleMouseMove ( const QPoint &  point)
protected

handles the move of the mouse with pressed buttons

Definition at line 310 of file mousenavigator.cpp.

bool Okteta::MouseNavigator::handleMouseMoveEvent ( QMouseEvent *  mouseEvent)
virtual

Reimplemented from Okteta::AbstractMouseController.

Definition at line 163 of file mousenavigator.cpp.

bool Okteta::MouseNavigator::handleMousePressEvent ( QMouseEvent *  mouseEvent)
virtual

Reimplemented from Okteta::AbstractMouseController.

Definition at line 60 of file mousenavigator.cpp.

bool Okteta::MouseNavigator::handleMouseReleaseEvent ( QMouseEvent *  mouseEvent)
virtual

Reimplemented from Okteta::AbstractMouseController.

Definition at line 201 of file mousenavigator.cpp.

void Okteta::MouseNavigator::startDrag ( )
protectedslot

Definition at line 382 of file mousenavigator.cpp.

Member Data Documentation

int Okteta::MouseNavigator::mDoubleClickLine
protected

line in which the current double click happended (used by TrippleClick)

Definition at line 77 of file mousenavigator.h.

QPoint Okteta::MouseNavigator::mDoubleClickPoint
protected

point at which the current double click happended (used by TrippleClick)

Definition at line 75 of file mousenavigator.h.

QPoint Okteta::MouseNavigator::mDragStartPoint
protected

point at which the current dragging started

Definition at line 79 of file mousenavigator.h.

bool Okteta::MouseNavigator::mDragStartPossible
protected

flag if a drag might have started

Definition at line 89 of file mousenavigator.h.

QTimer* Okteta::MouseNavigator::mDragStartTimer
protected

Timer to start a drag.

Definition at line 69 of file mousenavigator.h.

bool Okteta::MouseNavigator::mInDnD
protected

flag if a Drag'n'Drop is happening

Definition at line 87 of file mousenavigator.h.

bool Okteta::MouseNavigator::mInLMBDoubleClick
protected

flag if a double click is happening

Definition at line 85 of file mousenavigator.h.

bool Okteta::MouseNavigator::mLMBPressed
protected

flag if the left mouse button is pressed

Definition at line 83 of file mousenavigator.h.

QTimer* Okteta::MouseNavigator::mScrollTimer
protected

Timer that triggers ensureCursorVisible function calls.

Definition at line 66 of file mousenavigator.h.

QTimer* Okteta::MouseNavigator::mTrippleClickTimer
protected

timer to measure whether the time between a double click and the following counts for a tripleclick

Definition at line 71 of file mousenavigator.h.


The documentation for this class was generated from the following files:
  • mousenavigator.h
  • mousenavigator.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okteta

Skip menu "okteta"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal