navit  0.5.3-trunk
QNavitQuick Class Reference

#include <QNavitQuick.h>

Inheritance diagram for QNavitQuick:

Public Member Functions

void paint (QPainter *painter)
 
 QNavitQuick (QQuickItem *parent=0)
 
Q_INVOKABLE void setGraphicContext (GraphicsPriv *gp)
 

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 
virtual void geometryChanged (const QRectF &newGeometry, const QRectF &oldGeometry)
 
virtual void mouseEvent (int pressed, QMouseEvent *event)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void wheelEvent (QWheelEvent *event)
 

Private Attributes

struct graphics_privgraphics_priv
 

Constructor & Destructor Documentation

◆ QNavitQuick()

QNavitQuick::QNavitQuick ( QQuickItem *  parent = 0)

Navit, a modular navigation system. Copyright (C) 2005-2008 Navit Team

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Member Function Documentation

◆ geometryChanged()

void QNavitQuick::geometryChanged ( const QRectF &  newGeometry,
const QRectF &  oldGeometry 
)
protectedvirtual

◆ keyPressEvent()

◆ keyReleaseEvent()

void QNavitQuick::keyReleaseEvent ( QKeyEvent *  event)
protectedvirtual

References dbg, and lvl_debug.

◆ mouseEvent()

void QNavitQuick::mouseEvent ( int  pressed,
QMouseEvent *  event 
)
protectedvirtual

◆ mouseMoveEvent()

void QNavitQuick::mouseMoveEvent ( QMouseEvent *  event)
protectedvirtual

◆ mousePressEvent()

void QNavitQuick::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

References dbg, lvl_debug, and mouseEvent().

◆ mouseReleaseEvent()

void QNavitQuick::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

References dbg, lvl_debug, and mouseEvent().

◆ paint()

◆ setGraphicContext()

void QNavitQuick::setGraphicContext ( GraphicsPriv *  gp)

References dbg, and lvl_debug.

◆ wheelEvent()

void QNavitQuick::wheelEvent ( QWheelEvent *  event)
protectedvirtual

Field Documentation

◆ graphics_priv

struct graphics_priv* QNavitQuick::graphics_priv
private

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