From 7a4e2faeae377cce420b696e36798db90d309c70 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Thu, 29 Jan 2026 12:01:06 +0400 Subject: [PATCH] Add StorageView qml --- plugin/{ => qml}/StorageView.qml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) rename plugin/{ => qml}/StorageView.qml (65%) diff --git a/plugin/StorageView.qml b/plugin/qml/StorageView.qml similarity index 65% rename from plugin/StorageView.qml rename to plugin/qml/StorageView.qml index b18e94d..80540c9 100644 --- a/plugin/StorageView.qml +++ b/plugin/qml/StorageView.qml @@ -1,8 +1,10 @@ import QtQuick import QtQuick.Controls +import QtQuick.Layouts +import StorageBackend Item { - anchors.fill: parent + id: root Rectangle { anchors.fill: parent @@ -12,15 +14,12 @@ Item { anchors.bottomMargin: 0 color: "#202428" } - + Text { text: qsTr("Storage UI") - anchors.verticalCenterOffset: 214 - anchors.horizontalCenterOffset: -269 - color: "white" + color: "black" anchors.centerIn: parent font.pointSize: 20 - } Text { @@ -29,15 +28,11 @@ Item { color: "white" font.pointSize: 20 anchors.topMargin: 32 - } Button { objectName: "startButton" - anchors.horizontalCenter: parent.horizontalCenter - anchors.top: parent.top - anchors.topMargin: 395 - anchors.horizontalCenterOffset: -270 + anchors.leftMargin: 50 text: "Stop" } }