|
1 | NO CONTENT: new file 100644, binary diff hidden |
@@ -0,0 +1,44 | |||
|
1 | #include($QTDIR/compat.qdocconf) | |
|
2 | #include($QTDIR/qt-html-templates.qdocconf) | |
|
3 | #include(C:/Qt/QtCommercialSdk/src/qt/480/tools/qdoc3/doc/files/qt.qdocconf) | |
|
4 | ||
|
5 | project = QtCommercialCharts | |
|
6 | description = Library for creating charts | |
|
7 | ||
|
8 | sourcedirs = ../src \ | |
|
9 | ../example | |
|
10 | headerdirs = ../src \ | |
|
11 | ../example | |
|
12 | exampledirs = ../src \ | |
|
13 | ../example | |
|
14 | ||
|
15 | HTML.templatedir = . | |
|
16 | HTML.stylesheets = style/offline.css | |
|
17 | HTML.headerstyles = \ | |
|
18 | " <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline.css\" />\n" | |
|
19 | sources.fileextensions = "*.cpp *.qdoc *.mm *.qml" | |
|
20 | headers.fileextensions = "*.h *.ch *.h++ *.hh *.hpp *.hxx" | |
|
21 | examples.fileextensions = "*.cpp *.h *.js *.xq *.svg *.xml *.ui *.qhp *.qhcp *.qml" | |
|
22 | examples.imageextensions = "*.png *.jpeg *.jpg *.gif *.mng" | |
|
23 | imagedirs = ./images | |
|
24 | outputdir = ./html | |
|
25 | ||
|
26 | Cpp.ignoretokens = QTCOMMERCIALCHART_EXPORT \ | |
|
27 | QTCOMMERCIALCHART_END_NAMESPACE \ | |
|
28 | QTCOMMERCIALCHART_BEGIN_NAMESPACE | |
|
29 | Cpp.ignoredirectives = Q_DECLARE_HANDLE \ | |
|
30 | Q_DECLARE_INTERFACE \ | |
|
31 | Q_DECLARE_METATYPE \ | |
|
32 | Q_DECLARE_OPERATORS_FOR_FLAGS \ | |
|
33 | Q_DECLARE_PRIVATE \ | |
|
34 | Q_DECLARE_PUBLIC \ | |
|
35 | Q_DECLARE_SHARED \ | |
|
36 | Q_DECLARE_TR_FUNCTIONS \ | |
|
37 | Q_DECLARE_TYPEINFO \ | |
|
38 | Q_DISABLE_COPY \ | |
|
39 | QT_FORWARD_DECLARE_CLASS \ | |
|
40 | Q_DUMMY_COMPARISON_OPERATOR \ | |
|
41 | Q_ENUMS \ | |
|
42 | Q_FLAGS \ | |
|
43 | Q_INTERFACES \ | |
|
44 | __attribute__ No newline at end of file |
This diff has been collapsed as it changes many lines, (673 lines changed) Show them Hide them | |||
@@ -0,0 +1,673 | |||
|
1 | @media screen | |
|
2 | { | |
|
3 | ||
|
4 | /* basic elements */ | |
|
5 | html | |
|
6 | { | |
|
7 | color: #000000; | |
|
8 | background: #FFFFFF; | |
|
9 | } | |
|
10 | table | |
|
11 | { | |
|
12 | border-collapse: collapse; | |
|
13 | border-spacing: 0; | |
|
14 | } | |
|
15 | fieldset, img | |
|
16 | { | |
|
17 | border: 0; | |
|
18 | max-width:100%; | |
|
19 | } | |
|
20 | address, caption, cite, code, dfn, em, strong, th, var, optgroup | |
|
21 | { | |
|
22 | font-style: inherit; | |
|
23 | font-weight: inherit; | |
|
24 | } | |
|
25 | del, ins | |
|
26 | { | |
|
27 | text-decoration: none; | |
|
28 | } | |
|
29 | li | |
|
30 | { | |
|
31 | list-style: none; | |
|
32 | } | |
|
33 | ol li | |
|
34 | { | |
|
35 | list-style: decimal; | |
|
36 | } | |
|
37 | caption, th | |
|
38 | { | |
|
39 | text-align: left; | |
|
40 | } | |
|
41 | h1, h2, h3, h4, h5, h6 | |
|
42 | { | |
|
43 | font-size: 100%; | |
|
44 | } | |
|
45 | q:before, q:after | |
|
46 | { | |
|
47 | content: ''; | |
|
48 | } | |
|
49 | abbr, acronym | |
|
50 | { | |
|
51 | border: 0; | |
|
52 | font-variant: normal; | |
|
53 | } | |
|
54 | sup, sub | |
|
55 | { | |
|
56 | vertical-align: baseline; | |
|
57 | } | |
|
58 | tt, .qmlreadonly span, .qmldefault span | |
|
59 | { | |
|
60 | word-spacing:0.5em; | |
|
61 | } | |
|
62 | legend | |
|
63 | { | |
|
64 | color: #000000; | |
|
65 | } | |
|
66 | strong | |
|
67 | { | |
|
68 | font-weight: bold; | |
|
69 | } | |
|
70 | em | |
|
71 | { | |
|
72 | font-style: italic; | |
|
73 | } | |
|
74 | ||
|
75 | body | |
|
76 | { | |
|
77 | margin-left: 0.5em; | |
|
78 | margin-right: 0.5em; | |
|
79 | } | |
|
80 | a | |
|
81 | { | |
|
82 | color: #00732F; | |
|
83 | text-decoration: none; | |
|
84 | } | |
|
85 | hr | |
|
86 | { | |
|
87 | background-color: #E6E6E6; | |
|
88 | border: 1px solid #E6E6E6; | |
|
89 | height: 1px; | |
|
90 | width: 100%; | |
|
91 | text-align: left; | |
|
92 | margin: 1.5em 0 1.5em 0; | |
|
93 | } | |
|
94 | ||
|
95 | pre | |
|
96 | { | |
|
97 | border: 1px solid #DDDDDD; | |
|
98 | -moz-border-radius: 0.7em 0.7em 0.7em 0.7em; | |
|
99 | -webkit-border-radius: 0.7em 0.7em 0.7em 0.7em; | |
|
100 | border-radius: 0.7em 0.7em 0.7em 0.7em; | |
|
101 | margin: 0 1.5em 1em 1em; | |
|
102 | padding: 1em 1em 1em 1em; | |
|
103 | overflow-x: auto; | |
|
104 | } | |
|
105 | table, pre | |
|
106 | { | |
|
107 | -moz-border-radius: 0.7em 0.7em 0.7em 0.7em; | |
|
108 | -webkit-border-radius: 0.7em 0.7em 0.7em 0.7em; | |
|
109 | border-radius: 0.7em 0.7em 0.7em 0.7em; | |
|
110 | background-color: #F6F6F6; | |
|
111 | border: 1px solid #E6E6E6; | |
|
112 | border-collapse: separate; | |
|
113 | margin-bottom: 2.5em; | |
|
114 | } | |
|
115 | pre { | |
|
116 | font-size: 90%; | |
|
117 | display: block; | |
|
118 | overflow:hidden; | |
|
119 | } | |
|
120 | thead | |
|
121 | { | |
|
122 | margin-top: 0.5em; | |
|
123 | font-weight: bold | |
|
124 | } | |
|
125 | th | |
|
126 | { | |
|
127 | padding: 0.5em 1.5em 0.5em 1.5em; | |
|
128 | background-color: #E1E1E1; | |
|
129 | border-left: 1px solid #E6E6E6; | |
|
130 | } | |
|
131 | td | |
|
132 | { | |
|
133 | padding: 0.25em 1.5em 0.25em 2em; | |
|
134 | } | |
|
135 | ||
|
136 | td.rightAlign | |
|
137 | { | |
|
138 | padding: 0.25em 0.5em 0.25em 1em; | |
|
139 | } | |
|
140 | table tr.odd | |
|
141 | { | |
|
142 | border-left: 1px solid #E6E6E6; | |
|
143 | background-color: #F6F6F6; | |
|
144 | color: #66666E; | |
|
145 | } | |
|
146 | table tr.even | |
|
147 | { | |
|
148 | border-left: 1px solid #E6E6E6; | |
|
149 | background-color: #ffffff; | |
|
150 | color: #66666E; | |
|
151 | } | |
|
152 | ||
|
153 | div.float-left | |
|
154 | { | |
|
155 | float: left; margin-right: 2em | |
|
156 | } | |
|
157 | div.float-right | |
|
158 | { | |
|
159 | float: right; margin-left: 2em | |
|
160 | } | |
|
161 | ||
|
162 | span.comment | |
|
163 | { | |
|
164 | color: #008B00; | |
|
165 | font-style: italic | |
|
166 | } | |
|
167 | span.string, span.char | |
|
168 | { | |
|
169 | color: #000084; | |
|
170 | } | |
|
171 | span.number | |
|
172 | { | |
|
173 | color: #a46200; | |
|
174 | } | |
|
175 | span.operator | |
|
176 | { | |
|
177 | color: #202020; | |
|
178 | } | |
|
179 | span.keyword | |
|
180 | { | |
|
181 | color: #840000; | |
|
182 | } | |
|
183 | span.name | |
|
184 | { | |
|
185 | color: black | |
|
186 | } | |
|
187 | span.type | |
|
188 | { | |
|
189 | font-weight: bold | |
|
190 | } | |
|
191 | span.type a:visited | |
|
192 | { | |
|
193 | color: #0F5300; | |
|
194 | } | |
|
195 | span.preprocessor | |
|
196 | { | |
|
197 | color: #404040 | |
|
198 | } | |
|
199 | /* end basic elements */ | |
|
200 | ||
|
201 | /* font style elements */ | |
|
202 | .heading | |
|
203 | { | |
|
204 | font-weight: bold; | |
|
205 | font-size: 125%; | |
|
206 | } | |
|
207 | .subtitle | |
|
208 | { | |
|
209 | font-size: 110% | |
|
210 | } | |
|
211 | .small-subtitle | |
|
212 | { | |
|
213 | font-size: 100% | |
|
214 | } | |
|
215 | .red | |
|
216 | { | |
|
217 | color:red; | |
|
218 | } | |
|
219 | /* end font style elements */ | |
|
220 | ||
|
221 | /* global settings*/ | |
|
222 | .header, .footer | |
|
223 | { | |
|
224 | display: block; | |
|
225 | clear: both; | |
|
226 | overflow: hidden; | |
|
227 | } | |
|
228 | /* end global settings*/ | |
|
229 | ||
|
230 | /* header elements */ | |
|
231 | .header .qtref | |
|
232 | { | |
|
233 | color: #00732F; | |
|
234 | font-weight: bold; | |
|
235 | font-size: 130%; | |
|
236 | } | |
|
237 | ||
|
238 | .header .content | |
|
239 | { | |
|
240 | margin-bottom: 0.5em | |
|
241 | } | |
|
242 | ||
|
243 | .naviNextPrevious | |
|
244 | { | |
|
245 | display: none | |
|
246 | } | |
|
247 | .header .breadcrumb | |
|
248 | { | |
|
249 | font-size: 90%; | |
|
250 | padding: 0.5em 0 0.5em 1em; | |
|
251 | margin: 0; | |
|
252 | background-color: #fafafa; | |
|
253 | height: 1.35em; | |
|
254 | border-bottom: 1px solid #d1d1d1; | |
|
255 | } | |
|
256 | ||
|
257 | .header .breadcrumb ul | |
|
258 | { | |
|
259 | margin: 0; | |
|
260 | padding: 0; | |
|
261 | } | |
|
262 | ||
|
263 | .header .content | |
|
264 | { | |
|
265 | word-wrap: break-word; | |
|
266 | } | |
|
267 | ||
|
268 | .header .breadcrumb ul li | |
|
269 | { | |
|
270 | float: left; | |
|
271 | background: url(../images/breadcrumb.png) no-repeat 0 3px; | |
|
272 | padding-left: 1.5em; | |
|
273 | margin-left: 1.5em; | |
|
274 | } | |
|
275 | ||
|
276 | .header .breadcrumb ul li.last | |
|
277 | { | |
|
278 | font-weight: normal; | |
|
279 | } | |
|
280 | ||
|
281 | .header .breadcrumb ul li a | |
|
282 | { | |
|
283 | color: #00732F; | |
|
284 | } | |
|
285 | ||
|
286 | .header .breadcrumb ul li.first | |
|
287 | { | |
|
288 | background-image: none; | |
|
289 | padding-left: 0; | |
|
290 | margin-left: 0; | |
|
291 | } | |
|
292 | ||
|
293 | .header .content ol li { | |
|
294 | background: none; | |
|
295 | margin-bottom: 1.0em; | |
|
296 | margin-left: 1.2em; | |
|
297 | padding-left: 0 | |
|
298 | } | |
|
299 | ||
|
300 | .header .content li | |
|
301 | { | |
|
302 | background: url(../images/bullet_sq.png) no-repeat 0 5px; | |
|
303 | margin-bottom: 1em; | |
|
304 | padding-left: 1.2em; | |
|
305 | } | |
|
306 | ||
|
307 | /* end header elements */ | |
|
308 | ||
|
309 | /* content elements */ | |
|
310 | .content h1 | |
|
311 | { | |
|
312 | font-weight: bold; | |
|
313 | font-size: 150% | |
|
314 | } | |
|
315 | ||
|
316 | .content h2 | |
|
317 | { | |
|
318 | font-weight: bold; | |
|
319 | font-size: 135%; | |
|
320 | width: 100%; | |
|
321 | } | |
|
322 | .content h3 | |
|
323 | { | |
|
324 | font-weight: bold; | |
|
325 | font-size: 120%; | |
|
326 | width: 100%; | |
|
327 | } | |
|
328 | .content table p | |
|
329 | { | |
|
330 | margin: 0 | |
|
331 | } | |
|
332 | .content ul | |
|
333 | { | |
|
334 | padding-left: 2.5em; | |
|
335 | } | |
|
336 | .content li | |
|
337 | { | |
|
338 | padding-top: 0.25em; | |
|
339 | padding-bottom: 0.25em; | |
|
340 | } | |
|
341 | .content ul img { | |
|
342 | vertical-align: middle; | |
|
343 | } | |
|
344 | ||
|
345 | .content a:visited | |
|
346 | { | |
|
347 | color: #4c0033; | |
|
348 | text-decoration: none; | |
|
349 | } | |
|
350 | ||
|
351 | .content a:visited:hover | |
|
352 | { | |
|
353 | color: #4c0033; | |
|
354 | text-decoration: underline; | |
|
355 | } | |
|
356 | ||
|
357 | a:hover | |
|
358 | { | |
|
359 | color: #4c0033; | |
|
360 | text-decoration: underline; | |
|
361 | } | |
|
362 | descr p a | |
|
363 | { | |
|
364 | text-decoration: underline; | |
|
365 | } | |
|
366 | ||
|
367 | .descr p a:visited | |
|
368 | { | |
|
369 | text-decoration: underline; | |
|
370 | } | |
|
371 | ||
|
372 | .alphaChar{ | |
|
373 | width:95%; | |
|
374 | background-color:#F6F6F6; | |
|
375 | border:1px solid #E6E6E6; | |
|
376 | -moz-border-radius: 7px 7px 7px 7px; | |
|
377 | border-radius: 7px 7px 7px 7px; | |
|
378 | -webkit-border-radius: 7px 7px 7px 7px; | |
|
379 | font-size:12pt; | |
|
380 | padding-left:10px; | |
|
381 | margin-top:10px; | |
|
382 | margin-bottom:10px; | |
|
383 | } | |
|
384 | .flowList{ | |
|
385 | /*vertical-align:top;*/ | |
|
386 | /*margin:20px auto;*/ | |
|
387 | ||
|
388 | column-count:3; | |
|
389 | -webkit-column-count:3; | |
|
390 | -moz-column-count:3; | |
|
391 | /* | |
|
392 | column-width:100%; | |
|
393 | -webkit-column-width:200px; | |
|
394 | -col-column-width:200px; | |
|
395 | */ | |
|
396 | column-gap:41px; | |
|
397 | -webkit-column-gap:41px; | |
|
398 | -moz-column-gap:41px; | |
|
399 | ||
|
400 | column-rule: 1px dashed #ccc; | |
|
401 | -webkit-column-rule: 1px dashed #ccc; | |
|
402 | -moz-column-rule: 1px dashed #ccc; | |
|
403 | } | |
|
404 | ||
|
405 | .flowList dl{ | |
|
406 | } | |
|
407 | .flowList dd{ | |
|
408 | /*display:inline-block;*/ | |
|
409 | margin-left:10px; | |
|
410 | min-width:250px; | |
|
411 | line-height: 1.5; | |
|
412 | min-width:100%; | |
|
413 | min-height:15px; | |
|
414 | } | |
|
415 | ||
|
416 | .flowList dd a{ | |
|
417 | } | |
|
418 | ||
|
419 | .content .flowList p{ | |
|
420 | padding:0px; | |
|
421 | } | |
|
422 | ||
|
423 | .content .alignedsummary | |
|
424 | { | |
|
425 | margin: 15px; | |
|
426 | } | |
|
427 | ||
|
428 | ||
|
429 | .qmltype | |
|
430 | { | |
|
431 | text-align: center; | |
|
432 | font-size: 120%; | |
|
433 | } | |
|
434 | .qmlreadonly | |
|
435 | { | |
|
436 | padding-left: 5px; | |
|
437 | float: right; | |
|
438 | color: #254117; | |
|
439 | } | |
|
440 | ||
|
441 | .qmldefault | |
|
442 | { | |
|
443 | padding-left: 5px; | |
|
444 | float: right; | |
|
445 | color: red; | |
|
446 | } | |
|
447 | ||
|
448 | .qmldoc | |
|
449 | { | |
|
450 | } | |
|
451 | ||
|
452 | .generic .alphaChar{ | |
|
453 | margin-top:5px; | |
|
454 | } | |
|
455 | ||
|
456 | .generic .odd .alphaChar{ | |
|
457 | background-color: #F6F6F6; | |
|
458 | } | |
|
459 | ||
|
460 | .generic .even .alphaChar{ | |
|
461 | background-color: #FFFFFF; | |
|
462 | } | |
|
463 | ||
|
464 | .memItemRight{ | |
|
465 | padding: 0.25em 1.5em 0.25em 0; | |
|
466 | } | |
|
467 | .highlightedCode | |
|
468 | { | |
|
469 | margin: 1.0em; | |
|
470 | } | |
|
471 | .annotated td { | |
|
472 | padding: 0.25em 0.5em 0.25em 0.5em; | |
|
473 | } | |
|
474 | ||
|
475 | .header .content .toc ul | |
|
476 | { | |
|
477 | padding-left: 0px; | |
|
478 | } | |
|
479 | ||
|
480 | .content .toc h3 { | |
|
481 | border-bottom: 0px; | |
|
482 | margin-top: 0px; | |
|
483 | } | |
|
484 | ||
|
485 | .content .toc h3 a:hover { | |
|
486 | color: #00732F; | |
|
487 | text-decoration: none; | |
|
488 | } | |
|
489 | ||
|
490 | .content .toc .level2 | |
|
491 | { | |
|
492 | margin-left: 1.5em; | |
|
493 | } | |
|
494 | ||
|
495 | .content .toc .level3 | |
|
496 | { | |
|
497 | margin-left: 3.0em; | |
|
498 | } | |
|
499 | ||
|
500 | .content ul li | |
|
501 | { | |
|
502 | background: url(../images/bullet_sq.png) no-repeat 0 0.7em; | |
|
503 | padding-left: 1em | |
|
504 | } | |
|
505 | ||
|
506 | .content .toc li | |
|
507 | { | |
|
508 | background: url(../images/bullet_dn.png) no-repeat 0 5px; | |
|
509 | padding-left: 1em | |
|
510 | } | |
|
511 | ||
|
512 | .relpage | |
|
513 | { | |
|
514 | -moz-border-radius: 7px 7px 7px 7px; | |
|
515 | -webkit-border-radius: 7px 7px 7px 7px; | |
|
516 | border-radius: 7px 7px 7px 7px; | |
|
517 | border: 1px solid #DDDDDD; | |
|
518 | padding: 25px 25px; | |
|
519 | clear: both; | |
|
520 | } | |
|
521 | .relpage ul | |
|
522 | { | |
|
523 | float: none; | |
|
524 | padding: 1.5em; | |
|
525 | } | |
|
526 | ||
|
527 | h3.fn, span.fn | |
|
528 | { | |
|
529 | -moz-border-radius:7px 7px 7px 7px; | |
|
530 | -webkit-border-radius:7px 7px 7px 7px; | |
|
531 | border-radius:7px 7px 7px 7px; | |
|
532 | background-color: #F6F6F6; | |
|
533 | border-width: 1px; | |
|
534 | border-style: solid; | |
|
535 | border-color: #E6E6E6; | |
|
536 | font-weight: bold; | |
|
537 | word-spacing:3px; | |
|
538 | padding:3px 5px; | |
|
539 | } | |
|
540 | ||
|
541 | .functionIndex { | |
|
542 | font-size:12pt; | |
|
543 | word-spacing:10px; | |
|
544 | margin-bottom:10px; | |
|
545 | background-color: #F6F6F6; | |
|
546 | border-width: 1px; | |
|
547 | border-style: solid; | |
|
548 | border-color: #E6E6E6; | |
|
549 | -moz-border-radius: 7px 7px 7px 7px; | |
|
550 | -webkit-border-radius: 7px 7px 7px 7px; | |
|
551 | border-radius: 7px 7px 7px 7px; | |
|
552 | width:100%; | |
|
553 | } | |
|
554 | ||
|
555 | .centerAlign | |
|
556 | { | |
|
557 | text-align:center; | |
|
558 | } | |
|
559 | ||
|
560 | .rightAlign | |
|
561 | { | |
|
562 | text-align:right; | |
|
563 | } | |
|
564 | ||
|
565 | .leftAlign | |
|
566 | { | |
|
567 | text-align:left; | |
|
568 | } | |
|
569 | ||
|
570 | .topAlign{ | |
|
571 | vertical-align:top | |
|
572 | } | |
|
573 | ||
|
574 | .functionIndex a{ | |
|
575 | display:inline-block; | |
|
576 | } | |
|
577 | ||
|
578 | /* end content elements */ | |
|
579 | /* footer elements */ | |
|
580 | ||
|
581 | .footer | |
|
582 | { | |
|
583 | color: #393735; | |
|
584 | font-size: 0.75em; | |
|
585 | text-align: center; | |
|
586 | padding-top: 1.5em; | |
|
587 | padding-bottom: 1em; | |
|
588 | background-color: #E6E7E8; | |
|
589 | margin: 0; | |
|
590 | } | |
|
591 | .footer p | |
|
592 | { | |
|
593 | margin: 0.25em | |
|
594 | } | |
|
595 | .small | |
|
596 | { | |
|
597 | font-size: 0.5em; | |
|
598 | } | |
|
599 | /* end footer elements */ | |
|
600 | ||
|
601 | .item { | |
|
602 | float: left; | |
|
603 | position: relative; | |
|
604 | width: 100%; | |
|
605 | overflow: hidden; | |
|
606 | } | |
|
607 | ||
|
608 | ||
|
609 | .item .primary { | |
|
610 | margin-right: 220px; | |
|
611 | position: relative; | |
|
612 | } | |
|
613 | ||
|
614 | .item hr { | |
|
615 | margin-left: -220px; | |
|
616 | } | |
|
617 | ||
|
618 | .item .secondary { | |
|
619 | float: right; | |
|
620 | width: 200px; | |
|
621 | position: relative; | |
|
622 | } | |
|
623 | ||
|
624 | .item .cols { | |
|
625 | clear: both; | |
|
626 | display: block; | |
|
627 | } | |
|
628 | ||
|
629 | .item .cols .col { | |
|
630 | float: left; | |
|
631 | margin-left: 1.5%; | |
|
632 | } | |
|
633 | ||
|
634 | .item .cols .col.first { | |
|
635 | margin-left: 0; | |
|
636 | } | |
|
637 | ||
|
638 | .item .cols.two .col { | |
|
639 | width: 45%; | |
|
640 | } | |
|
641 | ||
|
642 | .item .box { | |
|
643 | margin: 0 0 10px 0; | |
|
644 | } | |
|
645 | ||
|
646 | .item .box h3 { | |
|
647 | margin: 0 0 10px 0; | |
|
648 | } | |
|
649 | ||
|
650 | .cols.unclear { | |
|
651 | clear:none; | |
|
652 | } | |
|
653 | } | |
|
654 | ||
|
655 | /* end of screen media */ | |
|
656 | ||
|
657 | /* start of print media */ | |
|
658 | ||
|
659 | @media print | |
|
660 | { | |
|
661 | input, textarea, .header, .footer, .toolbar, .feedback, .wrapper .hd, .wrapper .bd .sidebar, .wrapper .ft, #feedbackBox, #blurpage, .toc, .breadcrumb, .toolbar, .floatingResult | |
|
662 | { | |
|
663 | display: none; | |
|
664 | background: none; | |
|
665 | } | |
|
666 | .content | |
|
667 | { | |
|
668 | background: none; | |
|
669 | display: block; | |
|
670 | width: 100%; margin: 0; float: none; | |
|
671 | } | |
|
672 | } | |
|
673 | /* end of print media */ |
@@ -1,6 +1,5 | |||
|
1 | 1 | #include <QtGui/QApplication> |
|
2 | 2 | #include <QMainWindow> |
|
3 | #include <cmath> | |
|
4 | 3 | #include <qchartglobal.h> |
|
5 | 4 | #include <qchartview.h> |
|
6 | 5 | #include <qscatterseries.h> |
@@ -12,7 +11,7 int main(int argc, char *argv[]) | |||
|
12 | 11 | QApplication a(argc, argv); |
|
13 | 12 | |
|
14 | 13 | // Create chart widget |
|
15 |
QChartView *chart |
|
|
14 | QChartView *chartView = new QChartView(); | |
|
16 | 15 | |
|
17 | 16 | // Add scatter series with simple test data |
|
18 | 17 | QScatterSeries *scatter = new QScatterSeries(); |
@@ -23,7 +22,8 int main(int argc, char *argv[]) | |||
|
23 | 22 | << QPointF(2.0, 4.5) |
|
24 | 23 | << QPointF(2.0, 5.5) |
|
25 | 24 | << QPointF(2.5, 5.0); |
|
26 | chartWidget->addSeries(scatter); | |
|
25 | // Chart takes ownership | |
|
26 | chartView->addSeries(scatter); | |
|
27 | 27 | |
|
28 | 28 | // Add another scatter series |
|
29 | 29 | // - more data with random component |
@@ -32,7 +32,7 int main(int argc, char *argv[]) | |||
|
32 | 32 | (*scatter2) << QPointF(i + (qreal)(rand() % 100) / 100.0, |
|
33 | 33 | i + (qreal)(rand() % 100) / 100.0); |
|
34 | 34 | } |
|
35 |
chart |
|
|
35 | chartView->addSeries(scatter2); | |
|
36 | 36 | // Custom pen and brush (not those defined by the chart theme) |
|
37 | 37 | // - uses opaque color |
|
38 | 38 | QColor color("#2685BF"); |
@@ -50,7 +50,7 int main(int argc, char *argv[]) | |||
|
50 | 50 | // Use the chart widget as the central widget |
|
51 | 51 | QMainWindow w; |
|
52 | 52 | w.resize(640, 480); |
|
53 |
w.setCentralWidget(chart |
|
|
53 | w.setCentralWidget(chartView); | |
|
54 | 54 | w.show(); |
|
55 | 55 | |
|
56 | 56 | return a.exec(); |
@@ -15,23 +15,64 QScatterSeriesPrivate::QScatterSeriesPrivate() : | |||
|
15 | 15 | m_markerBrush.setColor(QColor::Invalid); |
|
16 | 16 | } |
|
17 | 17 | |
|
18 | /*! | |
|
19 | \class QScatterSeries | |
|
20 | \brief QtCommercial Chart series API for showing scatter series. | |
|
21 | ||
|
22 | Example on how to create a chart with scatter series: | |
|
23 | \code | |
|
24 | #include <qchartglobal.h> | |
|
25 | #include <qchartview.h> | |
|
26 | #include <qscatterseries.h> | |
|
27 | ... | |
|
28 | QTCOMMERCIALCHART_USE_NAMESPACE | |
|
29 | ||
|
30 | // Create chart widget | |
|
31 | QChartView *chartView = new QChartView(); | |
|
32 | QScatterSeries *scatter = new QScatterSeries(); | |
|
33 | *scatter << QPointF(0.5, 5.0) << QPointF(1.0, 4.5) << QPointF(1.0, 5.5) << QPointF(1.5, 5.0); | |
|
34 | chartView->addSeries(scatter); | |
|
35 | // Then add the QChartView into a layout... | |
|
36 | \endcode | |
|
37 | ||
|
38 | The example code would result the following: | |
|
39 | ||
|
40 | \image scatter_example1.jpg | |
|
41 | */ | |
|
18 | 42 | QScatterSeries::QScatterSeries(QObject *parent) : |
|
19 | 43 | QChartSeries(parent), |
|
20 | 44 | d(new QScatterSeriesPrivate()) |
|
21 | 45 | { |
|
22 | 46 | } |
|
23 | 47 | |
|
48 | /*! | |
|
49 | Destructor | |
|
50 | */ | |
|
24 | 51 | QScatterSeries::~QScatterSeries() |
|
25 | 52 | { |
|
26 | 53 | delete d; |
|
27 | 54 | } |
|
28 | 55 | |
|
56 | /*! | |
|
57 | Add single data point to the series. | |
|
58 | */ | |
|
29 | 59 | void QScatterSeries::addData(QPointF value) |
|
30 | 60 | { |
|
31 | 61 | d->m_data.append(value); |
|
32 | 62 | emit changed(); |
|
33 | 63 | } |
|
34 | 64 | |
|
65 | /*! | |
|
66 | Stream operator for adding a data point to the series. | |
|
67 | \sa addData(), QScatterSeries::addData(QPointF value) | |
|
68 | ||
|
69 | For example: | |
|
70 | \code | |
|
71 | mySeries << QPointF(0.5, 5.0) | |
|
72 | << QPointF(1.0, 4.5); | |
|
73 | \endcode | |
|
74 | ||
|
75 | */ | |
|
35 | 76 | QScatterSeries& QScatterSeries::operator << (const QPointF &value) |
|
36 | 77 | { |
|
37 | 78 | d->m_data.append(value); |
@@ -39,22 +80,35 QScatterSeries& QScatterSeries::operator << (const QPointF &value) | |||
|
39 | 80 | return *this; |
|
40 | 81 | } |
|
41 | 82 | |
|
83 | /*! | |
|
84 | Replaces the data of the series with the given list of data points. | |
|
85 | */ | |
|
42 | 86 | void QScatterSeries::setData(QList<QPointF> data) |
|
43 | 87 | { |
|
44 | 88 | d->m_data = data; |
|
45 | 89 | emit changed(); |
|
46 | 90 | } |
|
47 | 91 | |
|
92 | /*! | |
|
93 | returns the current list of data points of the series. | |
|
94 | */ | |
|
48 | 95 | QList<QPointF> QScatterSeries::data() |
|
49 | 96 | { |
|
50 | 97 | return d->m_data; |
|
51 | 98 | } |
|
52 | 99 | |
|
100 | /*! | |
|
101 | Customizes the graphical presentation of the marker items. Replaces the default pen used for | |
|
102 | drawing a marker item with a user defined pen. | |
|
103 | */ | |
|
53 | 104 | void QScatterSeries::setMarkerPen(QPen pen) |
|
54 | 105 | { |
|
55 | 106 | d->m_markerPen = pen; |
|
56 | 107 | } |
|
57 | 108 | |
|
109 | /*! | |
|
110 | ||
|
111 | */ | |
|
58 | 112 | QPen QScatterSeries::markerPen() |
|
59 | 113 | { |
|
60 | 114 | return d->m_markerPen; |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now