|
|
|
|
@ -6,6 +6,7 @@ |
|
|
|
|
|
|
|
|
|
import QtQuick |
|
|
|
|
import org.kde.plasma.components 3.0 as PlasmaComponents3 |
|
|
|
|
import org.kde.kirigami 2 as Kirigami |
|
|
|
|
|
|
|
|
|
Rectangle { |
|
|
|
|
id: root; |
|
|
|
|
@ -14,16 +15,16 @@ Rectangle { |
|
|
|
|
property size resolution; |
|
|
|
|
property double scale; |
|
|
|
|
|
|
|
|
|
color: theme.backgroundColor |
|
|
|
|
color: Kirigami.Theme.backgroundColor |
|
|
|
|
|
|
|
|
|
implicitWidth: childrenRect.width + 2 * childrenRect.x |
|
|
|
|
implicitHeight: childrenRect.height + 2 * childrenRect.y |
|
|
|
|
|
|
|
|
|
PlasmaComponents3.Label { |
|
|
|
|
id: displayName |
|
|
|
|
x: units.largeSpacing * 2 |
|
|
|
|
y: units.largeSpacing |
|
|
|
|
font.pointSize: theme.defaultFont.pointSize * 3 |
|
|
|
|
x: Kirigami.Units.largeSpacing * 2 |
|
|
|
|
y: Kirigami.Units.largeSpacing |
|
|
|
|
font.pointSize: Kirigami.Theme.defaultFont.pointSize * 3 |
|
|
|
|
text: root.outputName; |
|
|
|
|
wrapMode: Text.WordWrap; |
|
|
|
|
horizontalAlignment: Text.AlignHCenter; |
|
|
|
|
|