@@ -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,269 +1,268 | |||
|
1 | 1 | # This file is used to ignore files which are generated in the Qt build system |
|
2 | 2 | # ---------------------------------------------------------------------------- |
|
3 | 3 | |
|
4 | examples/*/*/* | |
|
5 | 4 | !examples/*/*/*[.]* |
|
6 | 5 | !examples/*/*/README |
|
7 | 6 | examples/*/*/*[.]app |
|
8 | 7 | !examples/declarative/* |
|
9 | 8 | !examples/tutorials/* |
|
10 | 9 | !examples/tutorials/*/* |
|
11 | 10 | !examples/ja_JP/*/* |
|
12 | 11 | !demos/spectrum/* |
|
13 | 12 | demos/spectrum/bin |
|
14 | 13 | !demos/*/*[.]* |
|
15 | 14 | demos/*/*[.]app |
|
16 | 15 | !demos/declarative/* |
|
17 | 16 | config.tests/*/*/* |
|
18 | 17 | !config.tests/*/*/*[.]* |
|
19 | 18 | config.tests/*/*/*[.]app |
|
20 | 19 | |
|
21 | 20 | callgrind.out.* |
|
22 | 21 | pcviewer.cfg |
|
23 | 22 | *~ |
|
24 | 23 | *.a |
|
25 | 24 | *.la |
|
26 | 25 | *.core |
|
27 | 26 | *.moc |
|
28 | 27 | *.o |
|
29 | 28 | *.obj |
|
30 | 29 | *.orig |
|
31 | 30 | *.swp |
|
32 | 31 | *.rej |
|
33 | 32 | *.so |
|
34 | 33 | *.pbxuser |
|
35 | 34 | *.mode1 |
|
36 | 35 | *.mode1v3 |
|
37 | 36 | *_pch.h.cpp |
|
38 | 37 | *_resource.rc |
|
39 | 38 | .#* |
|
40 | 39 | *.*# |
|
41 | 40 | core |
|
42 | 41 | .qmake.cache |
|
43 | 42 | .qmake.vars |
|
44 | 43 | *.prl |
|
45 | 44 | tags |
|
46 | 45 | .DS_Store |
|
47 | 46 | *.debug |
|
48 | 47 | Makefile* |
|
49 | 48 | !qmake/Makefile.win32* |
|
50 | 49 | !qmake/Makefile.unix |
|
51 | 50 | *.prl |
|
52 | 51 | *.app |
|
53 | 52 | *.pro.user* |
|
54 | 53 | *.qmlproject.user* |
|
55 | 54 | *.gcov |
|
56 | 55 | bin/Qt*.dll |
|
57 | 56 | bin/assistant* |
|
58 | 57 | bin/designer* |
|
59 | 58 | bin/dumpcpp* |
|
60 | 59 | bin/idc* |
|
61 | 60 | bin/linguist* |
|
62 | 61 | bin/lrelease* |
|
63 | 62 | bin/lupdate* |
|
64 | 63 | bin/lconvert* |
|
65 | 64 | bin/moc* |
|
66 | 65 | bin/makeqpf* |
|
67 | 66 | bin/pixeltool* |
|
68 | 67 | bin/qmake* |
|
69 | 68 | bin/qdoc3* |
|
70 | 69 | bin/qt3to4* |
|
71 | 70 | bin/qtdemo* |
|
72 | 71 | bin/qttracereplay* |
|
73 | 72 | bin/rcc* |
|
74 | 73 | bin/uic* |
|
75 | 74 | bin/patternist* |
|
76 | 75 | bin/phonon* |
|
77 | 76 | bin/qcollectiongenerator* |
|
78 | 77 | bin/qdbus* |
|
79 | 78 | bin/qhelpconverter* |
|
80 | 79 | bin/qhelpgenerator* |
|
81 | 80 | bin/qtconfig* |
|
82 | 81 | bin/xmlpatterns* |
|
83 | 82 | bin/cetest* |
|
84 | 83 | bin/collectiongenerator |
|
85 | 84 | bin/helpconverter |
|
86 | 85 | bin/helpgenerator |
|
87 | 86 | bin/kmap2qmap* |
|
88 | 87 | bin/qlalr* |
|
89 | 88 | bin/qmlconv* |
|
90 | 89 | bin/qmldebugger* |
|
91 | 90 | bin/qml* |
|
92 | 91 | bin/qttracereplay* |
|
93 | 92 | configure.cache |
|
94 | 93 | config.status |
|
95 | 94 | mkspecs/default |
|
96 | 95 | mkspecs/qconfig.pri |
|
97 | 96 | moc_*.cpp |
|
98 | 97 | qmake/qmake.exe |
|
99 | 98 | qmake/Makefile.bak |
|
100 | 99 | src/corelib/global/qconfig.cpp |
|
101 | 100 | src/corelib/global/qconfig.h |
|
102 | 101 | src/corelib/global/qconfig.h.qmake |
|
103 | 102 | src/tools/uic/qclass_lib_map.h |
|
104 | 103 | ui_*.h |
|
105 | 104 | tests/auto/qprocess/test*/*.exe |
|
106 | 105 | tests/auto/qtcpsocket/stressTest/*.exe |
|
107 | 106 | tests/auto/qprocess/fileWriterProcess/*.exe |
|
108 | 107 | tests/auto/qmake/testdata/quotedfilenames/*.exe |
|
109 | 108 | tests/auto/compilerwarnings/*.exe |
|
110 | 109 | tests/auto/qmake/testdata/quotedfilenames/test.cpp |
|
111 | 110 | tests/auto/qprocess/fileWriterProcess.txt |
|
112 | 111 | .com.apple.timemachine.supported |
|
113 | 112 | tests/auto/qlibrary/libmylib.so* |
|
114 | 113 | tests/auto/qresourceengine/runtime_resource.rcc |
|
115 | 114 | tools/qtestlib/chart/chart* |
|
116 | 115 | tools/qtestlib/updater/updater* |
|
117 | 116 | tools/activeqt/testcon/testcon.tlb |
|
118 | 117 | translations/*.qm |
|
119 | 118 | translations/*_untranslated.ts |
|
120 | 119 | qrc_*.cpp |
|
121 | 120 | |
|
122 | 121 | # Test generated files |
|
123 | 122 | QObject.log |
|
124 | 123 | tst_* |
|
125 | 124 | !tst_*.* |
|
126 | 125 | tst_*.log |
|
127 | 126 | tst_*.debug |
|
128 | 127 | tst_*~ |
|
129 | 128 | |
|
130 | 129 | # xemacs temporary files |
|
131 | 130 | *.flc |
|
132 | 131 | |
|
133 | 132 | # Vim temporary files |
|
134 | 133 | .*.swp |
|
135 | 134 | |
|
136 | 135 | # Visual Studio generated files |
|
137 | 136 | *.ib_pdb_index |
|
138 | 137 | *.idb |
|
139 | 138 | *.ilk |
|
140 | 139 | *.pdb |
|
141 | 140 | *.sln |
|
142 | 141 | *.suo |
|
143 | 142 | *.vcproj |
|
144 | 143 | *vcproj.*.*.user |
|
145 | 144 | *.ncb |
|
146 | 145 | *.vcxproj |
|
147 | 146 | *.vcxproj.filters |
|
148 | 147 | *.vcxproj.user |
|
149 | 148 | |
|
150 | 149 | # MinGW generated files |
|
151 | 150 | *.Debug |
|
152 | 151 | *.Release |
|
153 | 152 | |
|
154 | 153 | # WebKit temp files |
|
155 | 154 | src/3rdparty/webkit/WebCore/mocinclude.tmp |
|
156 | 155 | src/3rdparty/webkit/includes.txt |
|
157 | 156 | src/3rdparty/webkit/includes2.txt |
|
158 | 157 | |
|
159 | 158 | # Symlinks generated by configure |
|
160 | 159 | tools/qvfb/qvfbhdr.h |
|
161 | 160 | tools/qvfb/qlock_p.h |
|
162 | 161 | tools/qvfb/qlock.cpp |
|
163 | 162 | tools/qvfb/qwssignalhandler.cpp |
|
164 | 163 | tools/qvfb/qwssignalhandler_p.h |
|
165 | 164 | .DS_Store |
|
166 | 165 | .pch |
|
167 | 166 | .rcc |
|
168 | 167 | *.app |
|
169 | 168 | config.status |
|
170 | 169 | config.tests/unix/cups/cups |
|
171 | 170 | config.tests/unix/getaddrinfo/getaddrinfo |
|
172 | 171 | config.tests/unix/getifaddrs/getifaddrs |
|
173 | 172 | config.tests/unix/iconv/iconv |
|
174 | 173 | config.tests/unix/ipv6/ipv6 |
|
175 | 174 | config.tests/unix/ipv6ifname/ipv6ifname |
|
176 | 175 | config.tests/unix/largefile/largefile |
|
177 | 176 | config.tests/unix/nis/nis |
|
178 | 177 | config.tests/unix/odbc/odbc |
|
179 | 178 | config.tests/unix/openssl/openssl |
|
180 | 179 | config.tests/unix/stl/stl |
|
181 | 180 | config.tests/unix/zlib/zlib |
|
182 | 181 | config.tests/unix/3dnow/3dnow |
|
183 | 182 | config.tests/unix/mmx/mmx |
|
184 | 183 | config.tests/unix/sse/sse |
|
185 | 184 | config.tests/unix/sse2/sse2 |
|
186 | 185 | |
|
187 | 186 | |
|
188 | 187 | |
|
189 | 188 | # Directories to ignore |
|
190 | 189 | # --------------------- |
|
191 | 190 | |
|
192 | 191 | debug |
|
193 | 192 | examples/tools/plugandpaint/plugins |
|
194 | 193 | include/* |
|
195 | 194 | include/*/* |
|
196 | 195 | lib/* |
|
197 | 196 | !lib/fonts |
|
198 | 197 | !lib/README |
|
199 | 198 | plugins/*/* |
|
200 | 199 | release |
|
201 | 200 | tmp |
|
202 | 201 | doc-build |
|
203 | 202 | doc/html/* |
|
204 | 203 | tools/qdoc3/doc/html/* |
|
205 | 204 | doc/qch |
|
206 | 205 | doc-build |
|
207 | 206 | .rcc |
|
208 | 207 | .pch |
|
209 | 208 | .metadata |
|
210 | 209 | build/* |
|
211 | 210 | bin/* |
|
212 | 211 | coverage/* |
|
213 | 212 | |
|
214 | 213 | # Symbian build system generated files |
|
215 | 214 | # --------------------- |
|
216 | 215 | |
|
217 | 216 | ABLD.BAT |
|
218 | 217 | bld.inf* |
|
219 | 218 | *.mmp |
|
220 | 219 | *.mk |
|
221 | 220 | *.rss |
|
222 | 221 | *.loc |
|
223 | 222 | !s60main.rss |
|
224 | 223 | *.pkg |
|
225 | 224 | plugin_commonu.def |
|
226 | 225 | *.qtplugin |
|
227 | 226 | *.sis |
|
228 | 227 | *.sisx |
|
229 | 228 | *.lst |
|
230 | 229 | *.exe |
|
231 | 230 | *.mif |
|
232 | 231 | *.rsc |
|
233 | 232 | *.sym |
|
234 | 233 | *.lib |
|
235 | 234 | |
|
236 | 235 | # runonphone crash dumps |
|
237 | 236 | d_exc_*.txt |
|
238 | 237 | d_exc_*.stk |
|
239 | 238 | |
|
240 | 239 | # Generated by abldfast.bat from devtools. |
|
241 | 240 | .abldsteps.* |
|
242 | 241 | |
|
243 | 242 | # Carbide project files |
|
244 | 243 | # --------------------- |
|
245 | 244 | .project |
|
246 | 245 | .cproject |
|
247 | 246 | .make.cache |
|
248 | 247 | *.d |
|
249 | 248 | |
|
250 | 249 | # OSX build files |
|
251 | 250 | *.xcodeproj |
|
252 | 251 | Info.plist |
|
253 | 252 | |
|
254 | 253 | qtc-debugging-helper |
|
255 | 254 | qtc-qmldump |
|
256 | 255 | qtc-qmldbg |
|
257 | 256 | |
|
258 | 257 | .pc/ |
|
259 | 258 | |
|
260 | 259 | # INTEGRITY generated files |
|
261 | 260 | *.gpj |
|
262 | 261 | *.int |
|
263 | 262 | *.ael |
|
264 | 263 | *.dla |
|
265 | 264 | *.dnm |
|
266 | 265 | *.dep |
|
267 | 266 | *.map |
|
268 | 267 | work |
|
269 | 268 |
General Comments 0
You need to be logged in to leave comments.
Login now