add base updatemanager

This commit is contained in:
2026-11-14 16:29:49 +03:00
parent 9cb13ba392
commit ede7734fa7
6 changed files with 100 additions and 7 deletions

View File

@@ -1,3 +1,5 @@
pragma ComponentBehavior: Bound
import QtQuick
import QtQuick.Layouts
@@ -14,6 +16,7 @@ Rectangle {
property string title: ""
property string status: ""
property var consoleLogData: ""
property int consoleHeight: 320
property bool consoleOpen: false
@@ -66,6 +69,37 @@ Rectangle {
Item {
Layout.fillWidth: true
Layout.fillHeight: true
// ListView {
// id: logView
// clip: true
// spacing: 2
// model: root.consoleLogData
// onModelChanged: positionViewAtEnd()
// onCountChanged: positionViewAtEnd()
//
// ScrollBar.vertical: ScrollBar {
// policy: ScrollBar.AsNeeded
// width: 6
// }
//
// delegate: Text {
// width: logView.width
// text: modelData
// color: "#a6adc8"
// font.family: "monospace"
// font.pixelSize: 11
// wrapMode: Text.WrapAnywhere
// }
// }
Text {
anchors.centerIn: parent
text: "Логи отсутствуют"
color: "#585b70"
font.pixelSize: 12
visible: root.consoleLogData.length === 0
}
}
}
}