Warning, /plasma/libksysguard/faces/facepackages/textonly/contents/ui/CompactRepresentation.qml is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-FileCopyrightText: 2019 Marco Martin <mart@kde.org>
0003     SPDX-FileCopyrightText: 2019 David Edmundson <davidedmundson@kde.org>
0004     SPDX-FileCopyrightText: 2019 Arjen Hiemstra <ahiemstra@heimr.nl>
0005 
0006     SPDX-License-Identifier: LGPL-2.0-or-later
0007 */
0008 
0009 import QtQuick
0010 import QtQuick.Layouts
0011 
0012 import org.kde.kirigami as Kirigami
0013 
0014 import org.kde.ksysguard.sensors as Sensors
0015 import org.kde.ksysguard.faces as Faces
0016 
0017 import org.kde.quickcharts as Charts
0018 import org.kde.quickcharts.controls as ChartsControls
0019 
0020 
0021 Faces.SensorFace {
0022     id: root
0023 
0024     Layout.minimumWidth: root.formFactor == Faces.SensorFace.Vertical ? Kirigami.Units.gridUnit : contentItem.contentWidth
0025     Layout.minimumHeight: Kirigami.Units.gridUnit
0026 
0027     contentItem: GroupedText {
0028         totalSensorIds: root.controller.totalSensors
0029         highPrioritySensorIds: root.controller.highPrioritySensorIds
0030         lowPrioritySensorIds: []
0031         showGroups: root.controller.faceConfiguration.groupByTotal
0032         colorSource: root.colorSource
0033         totalHeight: root.height
0034         updateRateLimit: root.controller.updateRateLimit
0035         sensorLabels: root.controller.sensorLabels
0036     }
0037 }