23 lines
392 B
QML
Raw Normal View History

import QtQuick 2.13
import QtQuick.Controls.Material 2.13
import QtQuick.Controls 2.13
import QtQuick.Layouts 1.3
Item {
id: userVew
2019-07-29 15:29:07 +03:00
property var model: null
property int sourceId: 0
ColumnLayout {
id: columnLayout
anchors.fill: parent
ImageView {
2019-07-29 15:29:07 +03:00
drawItem: "image://userItems/" + ((model)? model.id: -1).toString()
}
}
}