##// END OF EJS Templates
Added missing example qml file
Tero Ahola -
r1471:ea706bda59f1
parent child
Show More
@@ -0,0 +1,53
1 /****************************************************************************
2 **
3 ** Copyright (C) 2012 Digia Plc
4 ** All rights reserved.
5 ** For any questions to Digia, please use contact form at http://qt.digia.com
6 **
7 ** This file is part of the Qt Commercial Charts Add-on.
8 **
9 ** $QT_BEGIN_LICENSE$
10 ** Licensees holding valid Qt Commercial licenses may use this file in
11 ** accordance with the Qt Commercial License Agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and Digia.
14 **
15 ** If you have questions regarding the use of this file, please use
16 ** contact form at http://qt.digia.com
17 ** $QT_END_LICENSE$
18 **
19 ****************************************************************************/
20
21 //![1]
22 import QtQuick 1.0
23 import QtCommercial.Chart 1.0
24
25 ChartView {
26 width: 400
27 height: 300
28 theme: ChartView.ChartThemeBrownSand
29
30 //![1]
31 //![2]
32 PieSeries {
33 id: pieSeries
34 PieSlice { label: "eaten"; value: 94.9 }
35 PieSlice { label: "not yet eaten"; value: 5.1 }
36 }
37 //![2]
38
39 Component.onCompleted: {
40 if (false) {
41 //![4]
42 pieSeries.append("don't care", 1.1);
43 //![4]
44
45 //![5]
46 pieSeries.at(0).exploded = true;
47 //![5]
48 }
49 }
50
51 //![3]
52 }
53 //![3]
@@ -1,7 +1,6
1 # This file is used to ignore files which are generated in the Qt build system
1 # This file is used to ignore files which are generated in the Qt build system
2 # ----------------------------------------------------------------------------
2 # ----------------------------------------------------------------------------
3
3
4 examples/*/*/*
5 !examples/*/*/*[.]*
4 !examples/*/*/*[.]*
6 !examples/*/*/README
5 !examples/*/*/README
7 examples/*/*/*[.]app
6 examples/*/*/*[.]app
General Comments 0
You need to be logged in to leave comments. Login now