Changeset View
Changeset View
Standalone View
Standalone View
wallpapers/image/imagepackage/contents/ui/main.qml
Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Line(s) | 110 | Image { | |||
---|---|---|---|---|---|
113 | property alias color: backgroundColor.color | 113 | property alias color: backgroundColor.color | ||
114 | property bool blur: false | 114 | property bool blur: false | ||
115 | 115 | | |||
116 | asynchronous: true | 116 | asynchronous: true | ||
117 | cache: false | 117 | cache: false | ||
118 | autoTransform: true | 118 | autoTransform: true | ||
119 | z: -1 | 119 | z: -1 | ||
120 | 120 | | |||
121 | // opacity animates each item individually, so one can see through the background Rectangle during | ||||
122 | // the transition. To avoid this, during the transition combine the item into a single surface | ||||
123 | layer.enabled: QQC2.StackView.status === QQC2.StackView.Activating | ||||
124 | | ||||
121 | QQC2.StackView.onRemoved: destroy() | 125 | QQC2.StackView.onRemoved: destroy() | ||
122 | 126 | | |||
123 | Rectangle { | 127 | Rectangle { | ||
124 | id: backgroundColor | 128 | id: backgroundColor | ||
125 | anchors.fill: parent | 129 | anchors.fill: parent | ||
126 | visible: mainImage.status === Image.Ready && !blurLoader.active | 130 | visible: mainImage.status === Image.Ready && !blurLoader.active | ||
127 | z: -2 | 131 | z: -2 | ||
128 | } | 132 | } | ||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |