navit
0.5.3-trunk
|
#include <RenderArea.h>
Public Member Functions | |
RenderArea (struct graphics_priv *priv, QT_QPAINTER_RENDERAREA_PARENT *parent=0, int w=800, int h=800, int overlay=0) | |
void | do_resize (QSize size) |
void | processClose () |
Data Fields | |
QPixmap * | pixmap |
struct callback_list * | cbl |
struct graphics_priv * | gra |
Protected Slots | |
void | watchEvent (int fd) |
Protected Member Functions | |
QSize | sizeHint () const |
void | paintEvent (QPaintEvent *event) |
void | resizeEvent (QResizeEvent *event) |
void | mouseEvent (int pressed, QMouseEvent *event) |
void | mousePressEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | wheelEvent (QWheelEvent *event) |
void | keyPressEvent (QKeyEvent *event) |
void | closeEvent (QCloseEvent *event) |
bool | event (QEvent *event) |
Protected Attributes | |
int | is_overlay |
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.
RenderArea::RenderArea | ( | struct graphics_priv * | priv, |
QT_QPAINTER_RENDERAREA_PARENT * | parent = 0 , |
||
int | w = 800 , |
||
int | h = 800 , |
||
int | overlay = 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.
References gra, is_overlay, pixmap, and graphics_priv::window_title.
|
protected |
References processClose().
void RenderArea::do_resize | ( | QSize | size | ) |
References callback_list_call_attr_2, cbl, dbg, lvl_debug, and pixmap.
Referenced by resizeEvent().
|
protected |
References callback_list_call_attr_1, cbl, dbg, lvl_debug, NAVIT_KEY_BACKSPACE, NAVIT_KEY_DOWN, NAVIT_KEY_LEFT, NAVIT_KEY_RETURN, NAVIT_KEY_RIGHT, and NAVIT_KEY_UP.
|
protected |
References callback_list_call_attr_3, cbl, point::x, and point::y.
Referenced by mousePressEvent(), and mouseReleaseEvent().
|
protected |
References callback_list_call_attr_1, cbl, point::x, and point::y.
|
protected |
References mouseEvent().
|
protected |
References mouseEvent().
|
protected |
References gra, and qt_qpainter_draw().
void RenderArea::processClose | ( | ) |
References callback_list_call_attr_0, and cbl.
Referenced by closeEvent().
|
protected |
References do_resize(), and is_overlay.
|
protected |
References gra, graphics_priv::h, and graphics_priv::w.
|
protectedslot |
References callback_call_0, event_watch::cb, dbg, event_qt_remove_timeout(), event_watch::fd, and lvl_debug.
|
protected |
References callback_list_call_attr_3, cbl, point::x, and point::y.
struct callback_list* RenderArea::cbl |
Referenced by do_resize(), keyPressEvent(), mouseEvent(), mouseMoveEvent(), processClose(), and wheelEvent().
struct graphics_priv* RenderArea::gra |
Referenced by paintEvent(), RenderArea(), and sizeHint().
|
protected |
Referenced by RenderArea(), and resizeEvent().
QPixmap* RenderArea::pixmap |
Referenced by do_resize(), and RenderArea().