From: Venu Date: Wed, 13 Aug 2014 12:35:20 +0000 (+0200) Subject: Added a signal handler X-Git-Tag: v5.3.99+beta1~80^2^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4422be44ae3bd159e6f68ff22330196f6666368c;p=platform%2Fupstream%2Fqtdeclarative.git Added a signal handler Without the onHeightChanged signal handler the transition of the NumberPad from left to right is incomplete especially on a mobile device where the window is scaled to fit the view. So the NumberPad ends up hidden behind the Display. Task-number: QTBUG-36086 Change-Id: Iab021c9f2572a4ac83bc393dddc24ddd31849cb4 Reviewed-by: Niels Weber Reviewed-by: Topi Reiniƶ --- diff --git a/examples/quick/demos/calqlatr/calqlatr.qml b/examples/quick/demos/calqlatr/calqlatr.qml index 0a092c2..5f0ebe8 100644 --- a/examples/quick/demos/calqlatr/calqlatr.qml +++ b/examples/quick/demos/calqlatr/calqlatr.qml @@ -51,6 +51,7 @@ Rectangle { color: "#272822" onWidthChanged: controller.reload() + onHeightChanged: controller.reload() function operatorPressed(operator) { CalcEngine.operatorPressed(operator) } function digitPressed(digit) { CalcEngine.digitPressed(digit) }