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