MouseTouchEmulationCheckbox: make checkbox label to be clickable
commit9b372b07a6cfd51190fc641a3766cb73a7f7a211
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
dateFri 28 Oct 2016, 15:11 (10 years ago)
parent30b24fb
tests/utils/modules/Unity/Test/MouseTouchEmulationCheckbox.qml+4
@@ -40,5 +40,9 @@ RowLayout {
4040 id: label
4141 text: "Mouse emulates touch"
4242 anchors.verticalCenter: parent.verticalCenter
43+ AbstractButton {
44+ anchors.fill: parent
45+ onClicked: checkbox.checked = !checkbox.checked
46+ }
4347 }
4448}