mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: add the Downloaded Dive Model
Still to do: - select the dives to save - record the downloaded dives but download is already working. :) Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7858376727
commit
38e24512b7
4 changed files with 53 additions and 7 deletions
|
@ -22,6 +22,7 @@
|
|||
#include "qt-models/gpslistmodel.h"
|
||||
#include "mobile-widgets/qmlprofile.h"
|
||||
#include "core/downloadfromdcthread.h"
|
||||
#include "qt-models/diveimportedmodel.h"
|
||||
|
||||
#include "mobile-widgets/qml/kirigami/src/kirigamiplugin.h"
|
||||
|
||||
|
@ -39,6 +40,7 @@ void run_ui()
|
|||
|
||||
qmlRegisterType<DCDeviceData>("org.subsurfacedivelog.mobile", 1, 0, "DCDeviceData");
|
||||
qmlRegisterType<DownloadThread>("org.subsurfacedivelog.mobile", 1, 0, "DCDownloadThread");
|
||||
qmlRegisterType<DiveImportedModel>("org.subsurfacedivelog.mobile", 1, 0, "DCImportModel");
|
||||
|
||||
QQmlApplicationEngine engine;
|
||||
KirigamiPlugin::getInstance().registerTypes();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue