##// END OF EJS Templates
QML chart properties tester to match the current QML api
Tero Ahola -
r2096:4834084a6f1a
parent child
Show More
@@ -38,7 +38,7 Row {
38 setFlow.visible = false;
38 setFlow.visible = false;
39 labelsFlow.visible = false;
39 labelsFlow.visible = false;
40 color = "#00a388";
40 color = "#00a388";
41 sliceButton.color = "#79bd8f";
41 setButton.color = "#79bd8f";
42 labelButton.color = "#79bd8f";
42 labelButton.color = "#79bd8f";
43 }
43 }
44 }
44 }
@@ -65,7 +65,7 Row {
65 labelsFlow.visible = true;
65 labelsFlow.visible = true;
66 color = "#00a388";
66 color = "#00a388";
67 seriesButton.color = "#79bd8f";
67 seriesButton.color = "#79bd8f";
68 sliceButton.color = "#79bd8f";
68 setButton.color = "#79bd8f";
69 }
69 }
70 }
70 }
71 }
71 }
@@ -82,12 +82,12 Row {
82 onClicked: axis.min -= 0.1;
82 onClicked: axis.min -= 0.1;
83 }
83 }
84 Button {
84 Button {
85 text: "axis ticks count +"
85 text: "axis tick count +"
86 onClicked: axis.ticksCount++;
86 onClicked: axis.tickCount++;
87 }
87 }
88 Button {
88 Button {
89 text: "axis ticks count -"
89 text: "axis tick count -"
90 onClicked: axis.ticksCount--;
90 onClicked: axis.tickCount--;
91 }
91 }
92 Button {
92 Button {
93 text: "axis nice nmb"
93 text: "axis nice nmb"
@@ -48,7 +48,7 Rectangle {
48 source: "Chart.qml"
48 source: "Chart.qml"
49 onStatusChanged: {
49 onStatusChanged: {
50 if (status == Loader.Ready && editorLoader.status == Loader.Ready && chartLoader.item) {
50 if (status == Loader.Ready && editorLoader.status == Loader.Ready && chartLoader.item) {
51 if (source.toString().search("Chart.qml") > 0)
51 if (source.toString().search("/Chart.qml") > 0)
52 editorLoader.item.chart = chartLoader.item.chart;
52 editorLoader.item.chart = chartLoader.item.chart;
53 else
53 else
54 editorLoader.item.series = chartLoader.item.series;
54 editorLoader.item.series = chartLoader.item.series;
@@ -63,7 +63,7 Rectangle {
63 source: "ChartEditor.qml"
63 source: "ChartEditor.qml"
64 onStatusChanged: {
64 onStatusChanged: {
65 if (status == Loader.Ready && chartLoader.status == Loader.Ready && chartLoader.item) {
65 if (status == Loader.Ready && chartLoader.status == Loader.Ready && chartLoader.item) {
66 if (source.toString().search("ChartEditor.qml") > 0)
66 if (source.toString().search("/ChartEditor.qml") > 0)
67 editorLoader.item.chart = chartLoader.item.chart;
67 editorLoader.item.chart = chartLoader.item.chart;
68 else
68 else
69 editorLoader.item.series = chartLoader.item.series;
69 editorLoader.item.series = chartLoader.item.series;
General Comments 0
You need to be logged in to leave comments. Login now