Changeset View
Changeset View
Standalone View
Standalone View
kcms/lookandfeel/package/contents/ui/main.qml
Show All 24 Lines | |||||
25 | import org.kde.kconfig 1.0 // for KAuthorized | 25 | import org.kde.kconfig 1.0 // for KAuthorized | ||
26 | import org.kde.kcm 1.1 as KCM | 26 | import org.kde.kcm 1.1 as KCM | ||
27 | 27 | | |||
28 | KCM.GridViewKCM { | 28 | KCM.GridViewKCM { | ||
29 | KCM.ConfigModule.quickHelp: i18n("This module lets you choose the global look and feel.") | 29 | KCM.ConfigModule.quickHelp: i18n("This module lets you choose the global look and feel.") | ||
30 | 30 | | |||
31 | view.model: kcm.lookAndFeelModel | 31 | view.model: kcm.lookAndFeelModel | ||
32 | view.currentIndex: kcm.pluginIndex(kcm.lookAndFeelSettings.lookAndFeelPackage) | 32 | view.currentIndex: kcm.pluginIndex(kcm.lookAndFeelSettings.lookAndFeelPackage) | ||
33 | | ||||
34 | enabled: !kcm.lookAndFeelSettings.isImmutable("lookAndFeelPackage") | ||||
35 | | ||||
33 | view.delegate: KCM.GridDelegate { | 36 | view.delegate: KCM.GridDelegate { | ||
34 | id: delegate | 37 | id: delegate | ||
35 | 38 | | |||
36 | text: model.display | 39 | text: model.display | ||
37 | toolTip: model.description | 40 | toolTip: model.description | ||
38 | 41 | | |||
39 | thumbnailAvailable: model.screenshot | 42 | thumbnailAvailable: model.screenshot | ||
40 | thumbnail: Image { | 43 | thumbnail: Image { | ||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |