diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2016-01-29 11:08:21 +0100 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2016-01-29 11:08:21 +0100 |
commit | dc5102d5fccac6e527913128f219c6199f1b8882 (patch) | |
tree | bc6d14f73b0e37e0cf64810b01e32eb389d0d0ad /main_view.qml | |
parent | 9b3c79e34d543b78ff200d14e67d2bc96cb0995f (diff) |
Changed default color scale to a rainbow variant.
Diffstat (limited to 'main_view.qml')
-rw-r--r-- | main_view.qml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/main_view.qml b/main_view.qml index 2336e44..48caa12 100644 --- a/main_view.qml +++ b/main_view.qml @@ -126,7 +126,8 @@ ApplicationWindow { anchors.fill: parent Label { - width: parent.width + anchors.fill: parent + anchors.margins: 5 horizontalAlignment: Text.AlignRight text: "Control points" } @@ -163,8 +164,8 @@ ApplicationWindow { anchors.fill: parent Label { + anchors.fill: parent anchors.margins: 5 - width: parent.width horizontalAlignment: Text.AlignRight text: "Regular points" } @@ -429,7 +430,6 @@ ApplicationWindow { text: "&Save data" shortcut: "Ctrl+S" onTriggered: { - console.log("Saving control points' map...") Main.saveData() } } @@ -454,6 +454,10 @@ ApplicationWindow { Component.onCompleted: { this.append({ + "value": Main.ColorScaleRainbow, + "text": "Rainbow" + }); + this.append({ "value": Main.ColorScaleContinuous, "text": "Continuous" }); @@ -465,10 +469,6 @@ ApplicationWindow { "value": Main.ColorScaleDivergent, "text": "Divergent" }); - this.append({ - "value": Main.ColorScaleRainbow, - "text": "Rainbow" - }); } } } |