blob: 5d48114c0bfc9b5546c9b2ea6abeb99cbe5cfb91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
//![0]
// ImageViewer.qml
import QtQuick
Item {
id: item
width: 200; height: 200
property string currentImage: "default-image.png"
Image { source: item.currentImage }
}
//![0]
|