mirror of
https://github.com/muesli/telephant
synced 2024-11-22 11:23:05 +00:00
16 lines
300 B
QML
16 lines
300 B
QML
import QtQuick 2.13
|
|
import QtQuick.Controls 2.13
|
|
|
|
Label {
|
|
id: label
|
|
property var onClicked: function () {}
|
|
|
|
MouseArea {
|
|
id: mouseArea
|
|
anchors.fill: parent
|
|
hoverEnabled: true
|
|
cursorShape: Qt.PointingHandCursor
|
|
|
|
onClicked: parent.onClicked()
|
|
}
|
|
}
|