blob: d0b1120c5264b65c34290ec36237408f2a1a2eee [file] [log] [blame]
import QtQuick 2.0
import QtQuick.Layouts 1.12
import QtQuick.Controls 2.0
RowLayout {
id: root
property string name: "Hello.refnb"
property alias containsMouse: mouseArea.containsMouse
signal clicked()
Image {
id: nbIcon
width: 100
height: 100
source: "qrc:///icons/document.svg"
fillMode: Image.PreserveAspectFit
}
Label {
text: name
Layout.fillWidth: true
MouseArea {
id: mouseArea
anchors.fill: parent
hoverEnabled: true
onClicked: root.clicked()
}
}
}
/*##^##
Designer {
D{i:0;autoSize:true;height:24;width:300}
}
##^##*/