2013-11-11 17:15:35 +01:00
|
|
|
/*
|
2020-08-13 21:08:54 +02:00
|
|
|
SPDX-FileCopyrightText: 2013 Sebastian Kügler <sebas@kde.org>
|
|
|
|
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2013-11-11 17:15:35 +01:00
|
|
|
|
|
|
|
import QtQuick 2.0
|
|
|
|
|
|
|
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
|
|
|
import org.kde.plasma.components 2.0 as PlasmaComponents
|
|
|
|
import org.kde.plasma.extras 2.0 as PlasmaExtras
|
2014-03-25 17:10:25 +01:00
|
|
|
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
|
2013-11-11 17:15:35 +01:00
|
|
|
|
|
|
|
// IconTab
|
|
|
|
|
|
|
|
PlasmaComponents.Page {
|
2013-11-11 22:51:17 +01:00
|
|
|
|
|
|
|
|
|
|
|
property int cheight: 48
|
|
|
|
property int cwidth: themePage.width / 1.5
|
|
|
|
|
2013-11-11 17:15:35 +01:00
|
|
|
id: themePage
|
|
|
|
anchors {
|
|
|
|
fill: parent
|
|
|
|
margins: _s
|
|
|
|
}
|
2013-11-11 22:51:17 +01:00
|
|
|
|
2013-11-11 17:15:35 +01:00
|
|
|
Column {
|
2013-11-11 22:51:17 +01:00
|
|
|
//anchors.fill: parent
|
2014-01-22 01:35:20 +01:00
|
|
|
//spacing: _s / 4
|
2013-11-11 17:15:35 +01:00
|
|
|
|
2020-02-12 16:32:53 +01:00
|
|
|
PlasmaExtras.Heading {
|
2013-11-11 17:15:35 +01:00
|
|
|
width: parent.width
|
|
|
|
elide: Text.ElideRight
|
2020-02-12 16:32:53 +01:00
|
|
|
level: 1
|
2013-11-11 17:15:35 +01:00
|
|
|
text: "Theme"
|
|
|
|
}
|
|
|
|
|
|
|
|
PlasmaComponents.Label {
|
|
|
|
text: "This is the smallest readable Font."
|
2020-05-05 01:18:04 +02:00
|
|
|
font: theme.smallestFont
|
2013-11-11 17:15:35 +01:00
|
|
|
|
|
|
|
}
|
2013-11-11 22:51:17 +01:00
|
|
|
Row {
|
|
|
|
PlasmaComponents.Label {
|
|
|
|
text: "textColor: "
|
|
|
|
width: cwidth
|
|
|
|
}
|
|
|
|
Rectangle {
|
|
|
|
width: cheight
|
|
|
|
height: cheight / 2
|
|
|
|
color: theme.textColor
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Row {
|
|
|
|
PlasmaComponents.Label {
|
|
|
|
text: "buttonTextColor: "
|
|
|
|
width: cwidth
|
|
|
|
}
|
|
|
|
Rectangle {
|
|
|
|
width: cheight
|
|
|
|
height: cheight / 2
|
|
|
|
color: buttonTextColor
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Row {
|
|
|
|
PlasmaComponents.Label {
|
|
|
|
text: "highlightColor: "
|
|
|
|
width: cwidth
|
|
|
|
}
|
|
|
|
Rectangle {
|
|
|
|
width: cheight
|
|
|
|
height: cheight / 2
|
|
|
|
color: theme.highlightColor
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Row {
|
|
|
|
PlasmaComponents.Label {
|
|
|
|
text: "viewBackgroundColor: "
|
|
|
|
width: cwidth
|
|
|
|
}
|
|
|
|
Rectangle {
|
|
|
|
width: cheight
|
|
|
|
height: cheight / 2
|
|
|
|
color: theme.viewBackgroundColor
|
|
|
|
}
|
|
|
|
}
|
2013-11-11 17:15:35 +01:00
|
|
|
}
|
|
|
|
}
|