add console listview

This commit is contained in:
2026-11-15 14:39:33 +03:00
parent 17f29bf14c
commit 536dda5332
4 changed files with 39 additions and 23 deletions

View File

@@ -1,5 +1,6 @@
import QtQuick
import QtQuick.Layouts
import "../lists" as Lists
Rectangle {
id: root
@@ -68,28 +69,8 @@ Rectangle {
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: Theme.color3
// font.family: "monospace"
// font.pixelSize: 11
// wrapMode: Text.WrapAnywhere
// }
// }
Lists.ConsoleList {}
Text {
anchors.centerIn: parent