mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 14:46:12 -04:00
32 lines
614 B
QML
32 lines
614 B
QML
import QtQuick
|
|
import QtQuick.Window
|
|
|
|
Window {
|
|
id: root
|
|
width: 640
|
|
height: 480
|
|
visible: true
|
|
title: qsTr("Quickshare")
|
|
color: "#DCF5FF"
|
|
|
|
|
|
FontLoader {
|
|
id: googlesans
|
|
source: "qrc:/googlesans_var.ttf"
|
|
}
|
|
|
|
Loader {
|
|
id: contentLoader
|
|
anchors.fill: parent
|
|
source: "AppContent.qml"
|
|
}
|
|
|
|
function reloadInnerContent() {
|
|
const nextSource = "AppContent.qml?rev=" + Date.now()
|
|
contentLoader.active = false
|
|
contentLoader.source = ""
|
|
contentLoader.active = true
|
|
contentLoader.source = nextSource
|
|
}
|
|
}
|