1 2 3 4 5 6 7 8 9 10 11
import QtQuick Rectangle { width: 100 height: 100 color: th.pressed ? "steelblue" : "beige" TapHandler { id: th } }