aboutsummaryrefslogtreecommitdiff
path: root/main_view.qml
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-02-12 12:39:43 -0200
committerSamuel Fadel <samuelfadel@gmail.com>2016-02-12 12:39:43 -0200
commit7a07231716f04ee98091a946e122056e1fa69686 (patch)
tree2998baa4336a4dae4638e29d2a2b3f2ba6958a21 /main_view.qml
parent893380be1bde766736c1e099731bacb87f239a3a (diff)
Code cleanup: enums & properties renamed/added.
* VoronoiSplat: alpha & beta are now properties * ContinuousColorScale: enums renamed to the Qt standard way * Scatterplot: internal state enum renamed * ProjectionObserver: observer type enum renamed
Diffstat (limited to 'main_view.qml')
-rw-r--r--main_view.qml12
1 files changed, 6 insertions, 6 deletions
diff --git a/main_view.qml b/main_view.qml
index b0cee3c..65e1095 100644
--- a/main_view.qml
+++ b/main_view.qml
@@ -336,10 +336,10 @@ ApplicationWindow {
id: alphaSpinBox
maximumValue: 100
minimumValue: 1
- value: splat.alpha()
+ value: splat.alpha
decimals: 2
stepSize: 1
- onValueChanged: splat.setAlpha(this.value)
+ onValueChanged: splat.alpha = this.value
}
Label { text: "Radius (β):" }
@@ -347,10 +347,10 @@ ApplicationWindow {
id: betaSpinBox
maximumValue: 100
minimumValue: 1
- value: splat.beta()
+ value: splat.beta
decimals: 2
stepSize: 1
- onValueChanged: splat.setBeta(this.value)
+ onValueChanged: splat.beta = this.value
}
Label { text: "Opacity:" }
@@ -417,10 +417,10 @@ ApplicationWindow {
}
RadioButton {
id: diffOriginalMetricRadioButton
- text: "Diff. to original"
+ text: "Diff. to first"
exclusiveGroup: wrtMetricsGroup
onClicked: {
- if (!Main.setObserverType(Main.ObserverDiffOriginal)) {
+ if (!Main.setObserverType(Main.ObserverDiffFirst)) {
this.checked = false;
currentMetricRadioButton.checked = true;
}