PresentationApp/qml/img.qml
lordwelch a8534bd967 Now in in a not completely worthless state
Need to do some basic checks like bounds checking
And make the images show back up
2018-02-07 10:00:10 -08:00

24 lines
541 B
QML

import QtQuick 2.4
Image {
id: img
antialiasing: true
source: "image://images/"
objectName: "cellImg"
property int index: 0
height: 100
transformOrigin: Item.TopLeft
fillMode: Image.PreserveAspectFit
anchors.right: parent.right
anchors.left: parent.left
//cache: false
MouseArea {
id: cellMouse
hoverEnabled: true
enabled: true
objectName: "cellMouse"
anchors.fill: parent
acceptedButtons: Qt.AllButtons
}
}