Logo Search packages:      
Sourcecode: qlandkartegt version File versions

CMouseSelMap Class Reference

#include <CMouseSelMap.h>

Inheritance diagram for CMouseSelMap:


List of all members.

Detailed Description

select a subarea of the map to export

Definition at line 26 of file CMouseSelMap.h.

Public Member Functions

 CMouseSelMap (CCanvas *canvas)
virtual void contextMenu (QMenu &)
 append a context menu by own actions
void draw (QPainter &p)
 draw mouse function spezific elements
virtual void looseFocus ()
 called by CCanvas right befor a new mouse handler is selected.
void mouseMoveEvent (QMouseEvent *e)
 the mouse move event as defined by QWidget::mouseMoveEvent
void mousePressEvent (QMouseEvent *e)
 the mouse press event as defined by QWidget::mousePressEvent
void mouseReleaseEvent (QMouseEvent *e)
 the mouse release event as defined by QWidget::mouseReleaseEvent
 operator const QCursor & ()
 the current mouse cursor

Protected Member Functions

void drawRect (QPainter &p)
 actually draw the current capture rectangle
void drawSelSearch (QPainter &p)
 draw selected search
void drawSelTrkPt (QPainter &p)
 draw selected track point
void drawSelWpt (QPainter &p)
 draw selected waypoint
void mouseMoveEventOverlay (QMouseEvent *e)
 choose overlay under cursor
void mouseMoveEventSearch (QMouseEvent *e)
 choose waypoint close to cursor
void mouseMoveEventTrack (QMouseEvent *e)
 choose track point close to cursor
void mouseMoveEventWpt (QMouseEvent *e)
 choose waypoint close to cursor
void mousePressEventSearch (QMouseEvent *e)
 trigger search function
void mousePressEventWpt (QMouseEvent *e)
 trigger waypoint function
void resizeRect (const QPoint &p)
 for internal use to set the bottom right of the capture rectangle
void startRect (const QPoint &p)
 for internal use to start a semi-transparent capture rectangle

Protected Attributes

 pointer to the parent canvas
QCursor cursor
 the functions mouse icon
bool doSpecialCursorSearch
bool doSpecialCursorWpt
QRect rect
 capture rectangle
QRect rectConvertSearch
QRect rectCopySearch
QRect rectCopyWpt
QRect rectDelSearch
QRect rectDelWpt
QRect rectEditWpt
QRect rectMoveWpt
QPointer< IOverlayselOverlay
 current selected overlay
QPointer< CSearch > selSearch
CTrack::pt_t * selTrkPt
 current selected trackpoint
QPointer< CWptselWpt
 current selected waypoint

Private Attributes

bool selMap

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

Generated by  Doxygen 1.6.0   Back to index