summaryrefslogtreecommitdiff
path: root/bar/Power.qml
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-07-12 23:21:58 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-07-12 23:21:58 +0800
commit1c259d7878c00592916dc6acdb6e22771b22bbf1 (patch)
treee78c1513b184a0863e54e83f7365b110ea0301e8 /bar/Power.qml
parentf2056f05b4649d49f9322d5fcea011a51bda2dfe (diff)
finish organize
Diffstat (limited to 'bar/Power.qml')
-rw-r--r--bar/Power.qml27
1 files changed, 27 insertions, 0 deletions
diff --git a/bar/Power.qml b/bar/Power.qml
new file mode 100644
index 0000000..93da141
--- /dev/null
+++ b/bar/Power.qml
@@ -0,0 +1,27 @@
+import QtQuick
+import QtQuick.Layouts
+
+import qs.services as Services
+import qs.utils
+import qs.config as Config
+
+Item {
+ id: root
+ RowLayout {
+ Item {
+ Layout.fillWidth: true
+ }
+ anchors.fill: parent
+ spacing: Config.Bar.resourceIconTextSpacing
+
+ Icons {
+ text: Config.Icons.resource.clock
+ }
+ Text {
+ text: Services.TimeDate.time
+ }
+ Item {
+ Layout.fillWidth: true
+ }
+ }
+}