Changeset View
Changeset View
Standalone View
Standalone View
kcms/lookandfeel/package/contents/ui/main.qml
Show All 19 Lines | |||||
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 | ||
21 | import QtQuick.Window 2.2 | 21 | import QtQuick.Window 2.2 | ||
22 | import QtQuick.Controls 2.3 as QtControls | 22 | import QtQuick.Controls 2.3 as QtControls | ||
23 | import org.kde.kirigami 2.4 as Kirigami | 23 | import org.kde.kirigami 2.4 as Kirigami | ||
24 | import org.kde.kconfig 1.0 // for KAuthorized | 24 | import org.kde.kconfig 1.0 // for KAuthorized | ||
25 | import org.kde.kcm 1.1 as KCM | 25 | import org.kde.kcm 1.1 as KCM | ||
26 | 26 | | |||
27 | KCM.GridViewKCM { | 27 | KCM.GridViewKCM { | ||
28 | KCM.ConfigModule.quickHelp: i18n("This module lets you choose the Look and Feel theme.") | 28 | KCM.ConfigModule.quickHelp: i18n("This module lets you choose the global Look and Feel theme.") | ||
29 | 29 | | |||
30 | view.model: kcm.lookAndFeelModel | 30 | view.model: kcm.lookAndFeelModel | ||
31 | view.currentIndex: kcm.selectedPluginIndex | 31 | view.currentIndex: kcm.selectedPluginIndex | ||
32 | view.delegate: KCM.GridDelegate { | 32 | view.delegate: KCM.GridDelegate { | ||
33 | id: delegate | 33 | id: delegate | ||
34 | 34 | | |||
35 | text: model.display | 35 | text: model.display | ||
36 | toolTip: model.description | 36 | toolTip: model.description | ||
Show All 39 Lines | 74 | QtControls.CheckBox { | |||
76 | checked: kcm.resetDefaultLayout | 76 | checked: kcm.resetDefaultLayout | ||
77 | text: i18n("Use desktop layout from theme") | 77 | text: i18n("Use desktop layout from theme") | ||
78 | onCheckedChanged: kcm.resetDefaultLayout = checked; | 78 | onCheckedChanged: kcm.resetDefaultLayout = checked; | ||
79 | } | 79 | } | ||
80 | Item { | 80 | Item { | ||
81 | Layout.fillWidth: true | 81 | Layout.fillWidth: true | ||
82 | } | 82 | } | ||
83 | QtControls.Button { | 83 | QtControls.Button { | ||
84 | text: i18n("Get New Look and Feel Themes...") | 84 | text: i18n("Get New Global Look and Feel Themes...") | ||
85 | icon.name: "get-hot-new-stuff" | 85 | icon.name: "get-hot-new-stuff" | ||
86 | onClicked: kcm.getNewStuff(this); | 86 | onClicked: kcm.getNewStuff(this); | ||
87 | visible: KAuthorized.authorize("ghns") | 87 | visible: KAuthorized.authorize("ghns") | ||
88 | } | 88 | } | ||
89 | } | 89 | } | ||
90 | } | 90 | } | ||
91 | 91 | | |||
92 | Window { | 92 | Window { | ||
Show All 28 Lines |