mirror of
https://github.com/status-im/status-app.git
synced 2026-08-27 15:11:20 +00:00
35 lines
607 B
QML
35 lines
607 B
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
|
|
import StatusQ.Core.Utils as SQUtils
|
|
|
|
ApplicationWindow {
|
|
id: monitorRoot
|
|
|
|
width: 800
|
|
height: 600
|
|
|
|
visible: true
|
|
title: "Status Monitor"
|
|
|
|
Timer {
|
|
interval: 1000
|
|
running: true
|
|
repeat: true
|
|
|
|
onTriggered: {
|
|
const content = SQUtils.StringUtils.readTextFile(
|
|
Qt.resolvedUrl("MonitorEntryPoint.qml"))
|
|
|
|
if (loader.source !== content)
|
|
loader.source = content
|
|
}
|
|
}
|
|
|
|
HotLoader {
|
|
id: loader
|
|
|
|
anchors.fill: parent
|
|
}
|
|
}
|