diff options
Diffstat (limited to 'examples/quick/demos/calqlatr/content/NumberPad.qml')
-rw-r--r-- | examples/quick/demos/calqlatr/content/NumberPad.qml | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/examples/quick/demos/calqlatr/content/NumberPad.qml b/examples/quick/demos/calqlatr/content/NumberPad.qml index c7f2680651..c4ae1bb582 100644 --- a/examples/quick/demos/calqlatr/content/NumberPad.qml +++ b/examples/quick/demos/calqlatr/content/NumberPad.qml @@ -45,6 +45,8 @@ Grid { columnSpacing: 32 rowSpacing: 16 + signal buttonPressed + Button { text: "7" } Button { text: "8" } Button { text: "9" } @@ -55,15 +57,15 @@ Grid { Button { text: "2" } Button { text: "3" } Button { text: "0" } - Button { text: "." } + Button { text: "."; dimmable: true } Button { text: " " } - Button { text: "±"; color: "#6da43d"; operator: true } - Button { text: "−"; color: "#6da43d"; operator: true } - Button { text: "+"; color: "#6da43d"; operator: true } - Button { text: "√"; color: "#6da43d"; operator: true } - Button { text: "÷"; color: "#6da43d"; operator: true } - Button { text: "×"; color: "#6da43d"; operator: true } + Button { text: "±"; color: "#6da43d"; operator: true; dimmable: true } + Button { text: "−"; color: "#6da43d"; operator: true; dimmable: true } + Button { text: "+"; color: "#6da43d"; operator: true; dimmable: true } + Button { text: "√"; color: "#6da43d"; operator: true; dimmable: true } + Button { text: "÷"; color: "#6da43d"; operator: true; dimmable: true } + Button { text: "×"; color: "#6da43d"; operator: true; dimmable: true } Button { text: "C"; color: "#6da43d"; operator: true } Button { text: " "; color: "#6da43d"; operator: true } - Button { text: "="; color: "#6da43d"; operator: true } + Button { text: "="; color: "#6da43d"; operator: true; dimmable: true } } |