Index: sources/gui/qml/components/TouchRect.qml =================================================================== diff -u -rf7392d985121b21e9f9814e444b0810cd1d00b18 -r5e3b27057e9c7dedf9c46e3881609b7e96c3fb71 --- sources/gui/qml/components/TouchRect.qml (.../TouchRect.qml) (revision f7392d985121b21e9f9814e444b0810cd1d00b18) +++ sources/gui/qml/components/TouchRect.qml (.../TouchRect.qml) (revision 5e3b27057e9c7dedf9c46e3881609b7e96c3fb71) @@ -26,11 +26,16 @@ */ Rectangle { id : _root property alias text : _text + property alias pixelSize : _text.font.pixelSize + property alias fgColor : _text.color + property alias bgColor : _root.color + property bool touchable : true property bool animated : true property bool isDefault : false property bool selectable : false property bool selected : false + readonly property alias isPressed : _mouseArea.pressed property color textColor : Colors.textButton @@ -93,6 +98,7 @@ } MouseArea { id: _mouseArea + enabled : _root.touchable anchors.fill : parent anchors.margins : touchExpanding * -1 onClicked : _root.clicked()