From bb6717666a669aa81cda28896ed292ca5af55ece Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 16 Mar 2026 17:07:54 -0400 Subject: change things --- modules/controlcenter/components/DeviceDetails.qml | 70 ---------------------- 1 file changed, 70 deletions(-) delete mode 100644 modules/controlcenter/components/DeviceDetails.qml (limited to 'modules/controlcenter/components/DeviceDetails.qml') diff --git a/modules/controlcenter/components/DeviceDetails.qml b/modules/controlcenter/components/DeviceDetails.qml deleted file mode 100644 index a5d0647..0000000 --- a/modules/controlcenter/components/DeviceDetails.qml +++ /dev/null @@ -1,70 +0,0 @@ -pragma ComponentBehavior: Bound - -import ".." -import qs.components -import qs.components.controls -import qs.components.effects -import qs.components.containers -import qs.config -import QtQuick -import QtQuick.Layouts - -Item { - id: root - - property Session session - property var device: null - - property Component headerComponent: null - property list sections: [] - - property Component topContent: null - property Component bottomContent: null - - implicitWidth: layout.implicitWidth - implicitHeight: layout.implicitHeight - - ColumnLayout { - id: layout - - anchors.left: parent.left - anchors.right: parent.right - anchors.top: parent.top - spacing: Appearance.spacing.normal - - Loader { - id: headerLoader - - Layout.fillWidth: true - sourceComponent: root.headerComponent - visible: root.headerComponent !== null - } - - Loader { - id: topContentLoader - - Layout.fillWidth: true - sourceComponent: root.topContent - visible: root.topContent !== null - } - - Repeater { - model: root.sections - - Loader { - required property Component modelData - - Layout.fillWidth: true - sourceComponent: modelData - } - } - - Loader { - id: bottomContentLoader - - Layout.fillWidth: true - sourceComponent: root.bottomContent - visible: root.bottomContent !== null - } - } -} -- cgit v1.2.3-freya