Changeset View
Changeset View
Standalone View
Standalone View
qmlUiKirigami/Main.qml
Show First 20 Lines • Show All 186 Lines • ▼ Show 20 Line(s) | 28 | Kirigami.ApplicationWindow { | |||
---|---|---|---|---|---|
187 | Koko.ImageListModel { | 187 | Koko.ImageListModel { | ||
188 | id: imageListModel | 188 | id: imageListModel | ||
189 | } | 189 | } | ||
190 | 190 | | |||
191 | ImageViewer { | 191 | ImageViewer { | ||
192 | id: imageViewer | 192 | id: imageViewer | ||
193 | //go on top of the overlay drawer | 193 | //go on top of the overlay drawer | ||
194 | //HACK on the parent and z to go on top of the handle as well | 194 | //HACK on the parent and z to go on top of the handle as well | ||
195 | z: 2000002 | 195 | z: 1999999 | ||
196 | parent: root.overlay.parent | 196 | parent: root.overlay.parent | ||
197 | width: overlay.width | 197 | width: overlay.width | ||
198 | height: overlay.height | 198 | height: overlay.height | ||
199 | indexValue: currentImage.index | 199 | indexValue: currentImage.index | ||
200 | sourceModel: currentImage.model | 200 | sourceModel: currentImage.model | ||
201 | imageWidth: root.width | 201 | imageWidth: root.width | ||
202 | imageHeight: root.height | 202 | imageHeight: root.height | ||
203 | state: imagePathArgument == "" ? "closed" : "open" | 203 | state: imagePathArgument == "" ? "closed" : "open" | ||
204 | } | 204 | } | ||
205 | 205 | | |||
206 | } | 206 | } |