From 299bf0bae8be6ab505f97d6aba4f82e4e6f96f62 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 12 Jul 2025 18:15:32 +0800 Subject: lot of minor improvement added utils and working networkusage --- bar/Bar.qml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'bar/Bar.qml') diff --git a/bar/Bar.qml b/bar/Bar.qml index f8d3a2d..24fc0ce 100644 --- a/bar/Bar.qml +++ b/bar/Bar.qml @@ -65,7 +65,7 @@ Scope { Layout.preferredWidth: 1 } } - RowLayout { + Item { id: centerRow Layout.fillWidth: true Layout.fillHeight: true @@ -76,11 +76,25 @@ Scope { id: rightRow Layout.fillWidth: true Layout.preferredWidth: 1 - Rectangle { + Cpu { + Layout.fillHeight: true + Layout.fillWidth: true + } + Memory { + Layout.fillHeight: true + Layout.fillWidth: true + } + Gpu { + Layout.fillHeight: true + Layout.fillWidth: true + } + Temp { + Layout.fillHeight: true + Layout.fillWidth: true + } + Network { + Layout.fillHeight: true Layout.fillWidth: true - Text { - text: "a" - } } } } -- cgit v1.2.3