navit  0.5.3-trunk
graphics_qt5.h File Reference
#include <QBrush>
#include <QGuiApplication>
#include <QPainter>
#include <QPen>
#include <QPixmap>
#include <glib.h>
#include "QNavitWidget.h"

Go to the source code of this file.

Data Structures

struct  graphics_priv
 
struct  graphics_gc_priv
 

Macros

#define USE_QWIDGET   1
 
#define USE_QML   0
 

Functions

void resize_callback (struct graphics_priv *gr, int w, int h)
 

Variables

QGuiApplication * navit_app
 

Macro Definition Documentation

◆ USE_QML

#define USE_QML   0

◆ USE_QWIDGET

#define USE_QWIDGET   1

Navit, a modular navigation system. Copyright (C) 2005-2017 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.

Function Documentation

◆ resize_callback()

void resize_callback ( struct graphics_priv gr,
int  w,
int  h 
)

Variable Documentation

◆ navit_app

QGuiApplication* navit_app
extern

Navit, a modular navigation system. Copyright (C) 2005-2017 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.

Referenced by event_qt5_main_loop_run(), get_dpi(), graphics_destroy(), and graphics_qt5_new().