/* * Copyright (C) 2026 Siningsoft * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * utarchery 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, see . * QML/LocalStorage * https://code.qt.io/cgit/qt/qtdeclarative.git/tree/examples/quick/localstorage/localstorage.qml?h=6.12 * https://code.qt.io/cgit/qt/qtdeclarative.git/tree/examples/quick/localstorage/Database.js?h=6.12 * https://ubports.gitlab.io/docs/api-docs/?p=qtquick%2Fqtquick-localstorage-qmlmodule.html */ import QtQuick 2.7 import Lomiri.Components 1.3 import QtQuick.Controls 2.2 import QtQuick.Layouts 1.3 import Qt.labs.settings 1.0 import QtQuick.LocalStorage 2.7 import QtQml 2.7 import "database.js" as DBjs MainView { id: root applicationName: 'utarchery.siningsoft.de' visible: true width: units.gu(45) height: units.gu(75) Page { anchors.fill: parent header: PageHeader { id: header title: i18n.tr('utArchery') } Component.onCompleted : DBjs.init() } }