Fix various bugs in calqlatr
authorShawn Rutledge <shawn.rutledge@digia.com>
Wed, 29 May 2013 13:22:32 +0000 (15:22 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 30 May 2013 10:07:24 +0000 (12:07 +0200)
commit5e3d81ecfe0a14be2e1028a15df80df16d301db2
tree074169ac9254a5ff4df34e59bec0b0ae38022ace
parent251a267fb5a48790b1446b5eda3ee553cd4abfab
Fix various bugs in calqlatr

It's still not a great example but at least it's somewhat usable now.
- added files to .pro so you see them all in Creator
- keypad is fixed size and the "tape" takes up the rest, so you can
  resize the window to be able to see long numbers
- you can flick the ListView (MouseArea not on top of the whole thing!)
- ListView scrolls to the bottom when you add numbers past the point
  that scrolling is necessary to see them
- Clear, sqrt and +/- keys are functional

Task-number: QTBUG-26556
Change-Id: I485e4123ad6c24ca64bad3efc3acfc14587268d8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
examples/quick/demos/calqlatr/calqlatr.pro
examples/quick/demos/calqlatr/calqlatr.qml
examples/quick/demos/calqlatr/content/Display.qml
examples/quick/demos/calqlatr/content/NumberPad.qml
examples/quick/demos/calqlatr/content/calculator.js