harbour-seaprint/qml/components/Clipper.qml

11 lines
204 B
QML
Raw Normal View History

2021-07-11 15:27:03 +03:00
import QtQuick 2.6
2020-08-09 20:25:54 +03:00
import Sailfish.Silica 1.0
MouseArea {
anchors.fill: parent
onPressAndHold: {
Clipboard.text = parent.text
notifier.notify(qsTr("Copied to clipboard"))
}
}