From 7a07231716f04ee98091a946e122056e1fa69686 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Fri, 12 Feb 2016 12:39:43 -0200 Subject: 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 --- main_view.qml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'main_view.qml') 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; } -- cgit v1.2.3