Changeset View
Changeset View
Standalone View
Standalone View
kcms/ksplash/package/contents/ui/main.qml
Show All 28 Lines | 25 | KCM.GridViewKCM { | |||
---|---|---|---|---|---|
29 | //NOTE: pay attention to never break this binding | 29 | //NOTE: pay attention to never break this binding | ||
30 | view.currentIndex: kcm.selectedPluginIndex | 30 | view.currentIndex: kcm.selectedPluginIndex | ||
31 | view.delegate: KCM.GridDelegate { | 31 | view.delegate: KCM.GridDelegate { | ||
32 | id: delegate | 32 | id: delegate | ||
33 | 33 | | |||
34 | text: model.display | 34 | text: model.display | ||
35 | toolTip: model.description | 35 | toolTip: model.description | ||
36 | 36 | | |||
37 | thumbnailAvailable: model.screenshot != "" | 37 | thumbnailAvailable: !!model.screenshot | ||
38 | thumbnail: Image { | 38 | thumbnail: Image { | ||
39 | anchors.fill: parent | 39 | anchors.fill: parent | ||
40 | source: model.screenshot || "" | 40 | source: model.screenshot || "" | ||
41 | } | 41 | } | ||
42 | actions: [ | 42 | actions: [ | ||
43 | Kirigami.Action { | 43 | Kirigami.Action { | ||
44 | visible: model.pluginName != "None" | 44 | visible: model.pluginName != "None" | ||
45 | iconName: "media-playback-start" | 45 | iconName: "media-playback-start" | ||
Show All 21 Lines |