mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 03:21:29 +00:00
d0edc29636
In order to address the C++ object directy in qml, a different registration is needed. qmlRegisterType, registers the C++ class, allowing qml code to inherit from it and make qml objects. This is needed for graphical elemnets like profile and map setContentProperty, registers the C++ object, thus allowing signals to be catched. Signed-off-by: Jan Iversen <jani@apache.org>
16 lines
252 B
C
16 lines
252 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef QT_GUI_H
|
|
#define QT_GUI_H
|
|
|
|
void init_qt_late();
|
|
void init_ui();
|
|
|
|
void run_ui();
|
|
void exit_ui();
|
|
void set_non_bt_addresses();
|
|
|
|
#if defined(SUBSURFACE_MOBILE)
|
|
#include <QQuickWindow>
|
|
#endif
|
|
|
|
#endif // QT_GUI_H
|