~dalius-sandbox/ubuntu-calculator-app/grid-issue

« back to all changes in this revision

Viewing changes to Simple/CalcKeyboard.qml

  • Committer: Tarmac
  • Author(s): Riccardo Ferrazzo
  • Date: 2013-03-14 17:09:51 UTC
  • mfrom: (13.1.26 ubuntu-calculator-app)
  • Revision ID: tarmac-20130314170951-plu7uplxmbdxe1v0
Removes realtime calculation.

Approved by Ubuntu Phone Apps Jenkins Bot, Dalius Dobravolskas.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
import QtQuick 2.0
2
2
import Ubuntu.Components 0.1
3
3
 
4
 
Item {
 
4
Rectangle {
5
5
    width: parent.width
6
6
    height: grid.height+units.gu(4)
 
7
    color: "#EDEDF0"
7
8
 
8
9
    Item {
9
10
        id: grid
130
131
            height: units.gu(14)
131
132
            text: "="
132
133
            onClicked: {
133
 
                formulaView.addCurrentToMemory();
134
 
                clear();
 
134
                calculate();
135
135
            }
136
136
        }
137
137