From fc60c4aacf4189188bf566219d38cb2dab4704d8 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 16 Mar 2026 10:07:32 -0400 Subject: simplify dashboard --- modules/dashboard/dash/Weather.qml | 57 -------------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 modules/dashboard/dash/Weather.qml (limited to 'modules/dashboard/dash/Weather.qml') diff --git a/modules/dashboard/dash/Weather.qml b/modules/dashboard/dash/Weather.qml deleted file mode 100644 index c90ccf0a..0000000 --- a/modules/dashboard/dash/Weather.qml +++ /dev/null @@ -1,57 +0,0 @@ -import qs.components -import qs.services -import qs.config -import qs.utils -import QtQuick - -Item { - id: root - - anchors.centerIn: parent - - implicitWidth: icon.implicitWidth + info.implicitWidth + info.anchors.leftMargin - - Component.onCompleted: Weather.reload() - - MaterialIcon { - id: icon - - anchors.verticalCenter: parent.verticalCenter - anchors.left: parent.left - - animate: true - text: Weather.icon - color: Colours.palette.m3secondary - font.pointSize: Appearance.font.size.extraLarge * 2 - } - - Column { - id: info - - anchors.verticalCenter: parent.verticalCenter - anchors.left: icon.right - anchors.leftMargin: Appearance.spacing.large - - spacing: Appearance.spacing.small - - StyledText { - anchors.horizontalCenter: parent.horizontalCenter - - animate: true - text: Weather.temp - color: Colours.palette.m3primary - font.pointSize: Appearance.font.size.extraLarge - font.weight: 500 - } - - StyledText { - anchors.horizontalCenter: parent.horizontalCenter - - animate: true - text: Weather.description - - elide: Text.ElideRight - width: Math.min(implicitWidth, root.parent.width - icon.implicitWidth - info.anchors.leftMargin - Appearance.padding.large * 2) - } - } -} -- cgit v1.3.1-freya