##// 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 38 setFlow.visible = false;
39 39 labelsFlow.visible = false;
40 40 color = "#00a388";
41 sliceButton.color = "#79bd8f";
41 setButton.color = "#79bd8f";
42 42 labelButton.color = "#79bd8f";
43 43 }
44 44 }
@@ -65,7 +65,7 Row {
65 65 labelsFlow.visible = true;
66 66 color = "#00a388";
67 67 seriesButton.color = "#79bd8f";
68 sliceButton.color = "#79bd8f";
68 setButton.color = "#79bd8f";
69 69 }
70 70 }
71 71 }
@@ -82,12 +82,12 Row {
82 82 onClicked: axis.min -= 0.1;
83 83 }
84 84 Button {
85 text: "axis ticks count +"
86 onClicked: axis.ticksCount++;
85 text: "axis tick count +"
86 onClicked: axis.tickCount++;
87 87 }
88 88 Button {
89 text: "axis ticks count -"
90 onClicked: axis.ticksCount--;
89 text: "axis tick count -"
90 onClicked: axis.tickCount--;
91 91 }
92 92 Button {
93 93 text: "axis nice nmb"
@@ -48,7 +48,7 Rectangle {
48 48 source: "Chart.qml"
49 49 onStatusChanged: {
50 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 52 editorLoader.item.chart = chartLoader.item.chart;
53 53 else
54 54 editorLoader.item.series = chartLoader.item.series;
@@ -63,7 +63,7 Rectangle {
63 63 source: "ChartEditor.qml"
64 64 onStatusChanged: {
65 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 67 editorLoader.item.chart = chartLoader.item.chart;
68 68 else
69 69 editorLoader.item.series = chartLoader.item.series;
General Comments 0
You need to be logged in to leave comments. Login now