Changeset View
Changeset View
Standalone View
Standalone View
discover/qml/ApplicationScreenshots.qml
Show All 26 Lines | |||||
27 | Flow { | 27 | Flow { | ||
28 | id: root | 28 | id: root | ||
29 | property alias resource: screenshotsModel.application | 29 | property alias resource: screenshotsModel.application | ||
30 | 30 | | |||
31 | spacing: Kirigami.Units.smallSpacing | 31 | spacing: Kirigami.Units.smallSpacing | ||
32 | 32 | | |||
33 | readonly property real side: Kirigami.Units.gridUnit * 8 | 33 | readonly property real side: Kirigami.Units.gridUnit * 8 | ||
34 | property QtObject page | 34 | property QtObject page | ||
35 | visible: screenshotsModel.count>1 | 35 | visible: screenshotsModel.count>0 | ||
36 | 36 | | |||
37 | readonly property var fu: Kirigami.OverlaySheet { | 37 | readonly property var fu: Kirigami.OverlaySheet { | ||
38 | id: overlay | 38 | id: overlay | ||
39 | parent: root.page | 39 | parent: root.page | ||
40 | Image { | 40 | Image { | ||
41 | id: overlayImage | 41 | id: overlayImage | ||
42 | fillMode: Image.PreserveAspectFit | 42 | fillMode: Image.PreserveAspectFit | ||
43 | } | 43 | } | ||
Show All 31 Lines |