1 2 3 4 5 6 7 8 9
import QtQuick 1.0 Text { property string error: "not pressed" text: (new Date()).valueOf() MouseArea { anchors.fill: parent onPressed: error="" } }