import QtQuick 2.15 import org.kde.plasma.core 2.0 as PlasmaCore Column { id: root property int temperature: 0 property int currentPerf: 100 signal perfChangeRequested(int newValue) width: 200 spacing: 12 Item { width: 1; height: 4 } TemperatureDisplay { temperature: root.temperature anchors.horizontalCenter: parent.horizontalCenter } Rectangle { width: parent.width - 32 height: 1 color: PlasmaCore.Theme.textColor opacity: 0.1 anchors.horizontalCenter: parent.horizontalCenter } PerfLimiter { currentPerf: root.currentPerf anchors.horizontalCenter: parent.horizontalCenter onPerfChangeRequested: root.perfChangeRequested(newValue) } Item { width: 1; height: 4 } }