aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/demos/calqlatr/content/Button.qml
diff options
context:
space:
mode:
authorJohanna Aijala <johanna.aijala@digia.com>2014-09-16 15:14:16 +0300
committerTopi Reiniƶ <topi.reinio@digia.com>2014-09-25 10:26:26 +0200
commitda217ce941e1f4bde594cf97221f953b106cb15a (patch)
tree4aede517d3665b8e87685165c721e5b205a3002e /examples/quick/demos/calqlatr/content/Button.qml
parent6641214214213f079176b81e9a98d63cf21bfd3c (diff)
Updated calqlatr demo
Fixes and finetuning of calqlatr demo: - fixed text overlapping, changed max length of a number from 14 to 9 - fixed app "freeze" after entering number of maximum length - implemented +/- operator functionality - fixed listview scrolling, after multiple operations listview was scrolling only when entering '=' leaving the active line hidden when the numbers and operator were typed - added support for entering numbers and certain operators from keyboard - removed commented code Task-number: QTBUG-38818 Change-Id: Ic0ecd2dff68a89007421e95a5bdc3ab7ca2e401d Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'examples/quick/demos/calqlatr/content/Button.qml')
-rw-r--r--examples/quick/demos/calqlatr/content/Button.qml7
1 files changed, 0 insertions, 7 deletions
diff --git a/examples/quick/demos/calqlatr/content/Button.qml b/examples/quick/demos/calqlatr/content/Button.qml
index 3f28e6f3c0..fc6234414f 100644
--- a/examples/quick/demos/calqlatr/content/Button.qml
+++ b/examples/quick/demos/calqlatr/content/Button.qml
@@ -59,18 +59,11 @@ Item {
color: "white"
}
-// Rectangle {
-// color: "red"
-// opacity: 0.2
-// anchors.fill: mouse
-// }
-
MouseArea {
id: mouse
anchors.fill: parent
anchors.margins: -5
onClicked: {
- //parent.clicked()
if (operator)
window.operatorPressed(parent.text)
else