File: namespaceQCP.html

package info (click to toggle)
qcustomplot 2.0.1%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,376 kB
  • sloc: cpp: 21,746; sh: 180; makefile: 2
file content (505 lines) | stat: -rw-r--r-- 36,240 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="author" content="Emanuel Eichhammer" />
<meta name="copyright" content="(C) 2011-2016 Emanuel Eichhammer" />
<title>QCP Namespace Reference</title>
<link href="qcp.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top">
<a class="headerLink"  href="index.html">Main Page</a> &middot;
<a class="headerLink"  href="classoverview.html">Class Overview</a> &middot;
<a class="headerLink"  href="hierarchy.html">Hierarchy</a> &middot;
<a class="headerLink"  href="annotated.html">All Classes</a> &middot;
<a class="headerLink"  href="pages.html">Special Pages</a>
<!-- Generated by Doxygen 1.8.12 -->
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">QCP Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a715d46153da230990aa887d0f0602452"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceQCP.html#a715d46153da230990aa887d0f0602452">ResolutionUnit</a> </td></tr>
<tr class="separator:a715d46153da230990aa887d0f0602452"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17844f19e1019693a953e1eb93536d2f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceQCP.html#a17844f19e1019693a953e1eb93536d2f">ExportPen</a> </td></tr>
<tr class="separator:a17844f19e1019693a953e1eb93536d2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd50e7cf431af385614987d8553ff8a9"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceQCP.html#afd50e7cf431af385614987d8553ff8a9">SignDomain</a> </td></tr>
<tr class="separator:afd50e7cf431af385614987d8553ff8a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e487e3e2ccb62ab7771065bab7cae54"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">MarginSide</a> </td></tr>
<tr class="separator:a7e487e3e2ccb62ab7771065bab7cae54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae55dbe315d41fe80f29ba88100843a0c"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0c">AntialiasedElement</a> </td></tr>
<tr class="separator:ae55dbe315d41fe80f29ba88100843a0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5400e5fcb9528d92002ddb938c1f4ef4"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceQCP.html#a5400e5fcb9528d92002ddb938c1f4ef4">PlottingHint</a> </td></tr>
<tr class="separator:a5400e5fcb9528d92002ddb938c1f4ef4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ad6bb6281c7c2d593d4277b44c2b037"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037">Interaction</a> </td></tr>
<tr class="separator:a2ad6bb6281c7c2d593d4277b44c2b037"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9aa4d6d81ac76b094f9af9ad2d3aacf"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceQCP.html#ac9aa4d6d81ac76b094f9af9ad2d3aacf">SelectionRectMode</a> </td></tr>
<tr class="separator:ac9aa4d6d81ac76b094f9af9ad2d3aacf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6cb9db26a564b27feda362a438db038"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceQCP.html#ac6cb9db26a564b27feda362a438db038">SelectionType</a> </td></tr>
<tr class="separator:ac6cb9db26a564b27feda362a438db038"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a07ab701c05329089f933b9cae2638a63"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceQCP.html#a07ab701c05329089f933b9cae2638a63">isInvalidData</a> (double value)</td></tr>
<tr class="separator:a07ab701c05329089f933b9cae2638a63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a728903e5c3dd17847bee280f4005496f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceQCP.html#a728903e5c3dd17847bee280f4005496f">isInvalidData</a> (double value1, double value2)</td></tr>
<tr class="separator:a728903e5c3dd17847bee280f4005496f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbf6e3084c108f2bb4372107945ee82f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceQCP.html#afbf6e3084c108f2bb4372107945ee82f">setMarginValue</a> (QMargins &amp;margins, <a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a> side, int value)</td></tr>
<tr class="separator:afbf6e3084c108f2bb4372107945ee82f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23a2679d3495c444acc26acc61e35b5b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceQCP.html#a23a2679d3495c444acc26acc61e35b5b">getMarginValue</a> (const QMargins &amp;margins, <a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a> side)</td></tr>
<tr class="separator:a23a2679d3495c444acc26acc61e35b5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a07ffa1eb1537a3b1f218ff2a442b2017"><td class="memItemLeft" align="right" valign="top"><a id="a07ffa1eb1537a3b1f218ff2a442b2017"></a>
const QMetaObject&#160;</td><td class="memItemRight" valign="bottom"><b>staticMetaObject</b></td></tr>
<tr class="separator:a07ffa1eb1537a3b1f218ff2a442b2017"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="namespaceQCP.html">QCP</a> Namespace contains general enums, QFlags and functions used throughout the <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> library.</p>
<p>It provides QMetaObject-based reflection of its enums and flags via <em>QCP::staticMetaObject</em>. </p>
</div><h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="a715d46153da230990aa887d0f0602452"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a715d46153da230990aa887d0f0602452">&sect;&nbsp;</a></span>ResolutionUnit</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespaceQCP.html#a715d46153da230990aa887d0f0602452">QCP::ResolutionUnit</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Defines the different units in which the image resolution can be specified in the export functions.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCustomPlot.html#ac92cc9256d12f354b40a4be4600b5fb9">QCustomPlot::savePng</a>, <a class="el" href="classQCustomPlot.html#a76f0d278e630a711fa6f48048cfd83e4">QCustomPlot::saveJpg</a>, <a class="el" href="classQCustomPlot.html#ae3a86ed0795670e50afa21759d4fa13d">QCustomPlot::saveBmp</a>, <a class="el" href="classQCustomPlot.html#ad7723ce2edfa270632ef42b03a444352">QCustomPlot::saveRastered</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a715d46153da230990aa887d0f0602452a707d005dea5c4ab694e4270d9c6094e8"></a>ruDotsPerMeter&#160;</td><td class="fielddoc"><p>Resolution is given in dots per meter (dpm) </p>
</td></tr>
<tr><td class="fieldname"><a id="a715d46153da230990aa887d0f0602452a4224e01f49b331489ad8cb12b619b229"></a>ruDotsPerCentimeter&#160;</td><td class="fielddoc"><p>Resolution is given in dots per centimeter (dpcm) </p>
</td></tr>
<tr><td class="fieldname"><a id="a715d46153da230990aa887d0f0602452affb887d8efe79c39a1aca2acd7002afc"></a>ruDotsPerInch&#160;</td><td class="fielddoc"><p>Resolution is given in dots per inch (DPI/PPI) </p>
</td></tr>
</table>

</div>
</div>
<a id="a17844f19e1019693a953e1eb93536d2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17844f19e1019693a953e1eb93536d2f">&sect;&nbsp;</a></span>ExportPen</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespaceQCP.html#a17844f19e1019693a953e1eb93536d2f">QCP::ExportPen</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Defines how cosmetic pens (pens with numerical width 0) are handled during export.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCustomPlot.html#ad5acd34f6b39c3516887d7e54fec2412">QCustomPlot::savePdf</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a17844f19e1019693a953e1eb93536d2faae8fcfaafee234ce18558afef83f6a78"></a>epNoCosmetic&#160;</td><td class="fielddoc"><p>Cosmetic pens are converted to pens with pixel width 1 when exporting. </p>
</td></tr>
<tr><td class="fieldname"><a id="a17844f19e1019693a953e1eb93536d2fa50d3657dba3fb90560b93a823cb0a6e8"></a>epAllowCosmetic&#160;</td><td class="fielddoc"><p>Cosmetic pens are exported normally (e.g. in PDF exports, cosmetic pens always appear as 1 pixel on screen, independent of viewer zoom level) </p>
</td></tr>
</table>

</div>
</div>
<a id="afd50e7cf431af385614987d8553ff8a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd50e7cf431af385614987d8553ff8a9">&sect;&nbsp;</a></span>SignDomain</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespaceQCP.html#afd50e7cf431af385614987d8553ff8a9">QCP::SignDomain</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Represents negative and positive sign domain, e.g. for passing to <a class="el" href="classQCPAbstractPlottable.html#a4da16d3cd4b509e1104a9b0275623c96">QCPAbstractPlottable::getKeyRange</a> and <a class="el" href="classQCPAbstractPlottable.html#a4de773988b21ed090fddd27c6a3a3dcb">QCPAbstractPlottable::getValueRange</a>.</p>
<p>This is primarily needed when working with logarithmic axis scales, since only one of the sign domains can be visible at a time. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="afd50e7cf431af385614987d8553ff8a9a2d18af0bc58f6528d1e82ce699fe4829"></a>sdNegative&#160;</td><td class="fielddoc"><p>The negative sign domain, i.e. numbers smaller than zero. </p>
</td></tr>
<tr><td class="fieldname"><a id="afd50e7cf431af385614987d8553ff8a9aa38352ef02d51ddfa4399d9551566e24"></a>sdBoth&#160;</td><td class="fielddoc"><p>Both sign domains, including zero, i.e. all numbers. </p>
</td></tr>
<tr><td class="fieldname"><a id="afd50e7cf431af385614987d8553ff8a9a584784b75fb816abcc627cf743bb699f"></a>sdPositive&#160;</td><td class="fielddoc"><p>The positive sign domain, i.e. numbers greater than zero. </p>
</td></tr>
</table>

</div>
</div>
<a id="a7e487e3e2ccb62ab7771065bab7cae54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e487e3e2ccb62ab7771065bab7cae54">&sect;&nbsp;</a></span>MarginSide</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Defines the sides of a rectangular entity to which margins can be applied.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLayoutElement.html#accfda49994e3e6d51ed14504abf9d27d">QCPLayoutElement::setAutoMargins</a>, <a class="el" href="classQCPLayoutElement.html#accfda49994e3e6d51ed14504abf9d27d">QCPAxisRect::setAutoMargins</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a7e487e3e2ccb62ab7771065bab7cae54a9500c8bfcc9e80b9dff0a8e00e867f07"></a>msLeft&#160;</td><td class="fielddoc"><p><code>0x01</code> left margin </p>
</td></tr>
<tr><td class="fieldname"><a id="a7e487e3e2ccb62ab7771065bab7cae54a93c719593bb2b94ed244d52c86d83b65"></a>msRight&#160;</td><td class="fielddoc"><p><code>0x02</code> right margin </p>
</td></tr>
<tr><td class="fieldname"><a id="a7e487e3e2ccb62ab7771065bab7cae54a5db8fb0d0b0ecf0d611c2602a348e8a0"></a>msTop&#160;</td><td class="fielddoc"><p><code>0x04</code> top margin </p>
</td></tr>
<tr><td class="fieldname"><a id="a7e487e3e2ccb62ab7771065bab7cae54a5241d8eac2bab9524a38889f576179cc"></a>msBottom&#160;</td><td class="fielddoc"><p><code>0x08</code> bottom margin </p>
</td></tr>
<tr><td class="fieldname"><a id="a7e487e3e2ccb62ab7771065bab7cae54a43d7361cb0c5244eabdc962021bffebc"></a>msAll&#160;</td><td class="fielddoc"><p><code>0xFF</code> all margins </p>
</td></tr>
<tr><td class="fieldname"><a id="a7e487e3e2ccb62ab7771065bab7cae54a80aa4149f16dabd538f8b2e3d42c42d5"></a>msNone&#160;</td><td class="fielddoc"><p><code>0x00</code> no margin </p>
</td></tr>
</table>

</div>
</div>
<a id="ae55dbe315d41fe80f29ba88100843a0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae55dbe315d41fe80f29ba88100843a0c">&sect;&nbsp;</a></span>AntialiasedElement</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Defines what objects of a plot can be forcibly drawn antialiased/not antialiased. If an object is neither forcibly drawn antialiased nor forcibly drawn not antialiased, it is up to the respective element how it is drawn. Typically it provides a <em>setAntialiased</em> function for this.</p>
<p><code>AntialiasedElements</code> is a flag of or-combined elements of this enum type.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCustomPlot.html#af6f91e5eab1be85f67c556e98c3745e8">QCustomPlot::setAntialiasedElements</a>, <a class="el" href="classQCustomPlot.html#ae10d685b5eabea2999fb8775ca173c24">QCustomPlot::setNotAntialiasedElements</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ae55dbe315d41fe80f29ba88100843a0caefa92e89cd37f8a081fd2075aa1af73f"></a>aeAxes&#160;</td><td class="fielddoc"><p><code>0x0001</code> Axis base line and tick marks </p>
</td></tr>
<tr><td class="fieldname"><a id="ae55dbe315d41fe80f29ba88100843a0ca4fbb37118d62288af0ca601ff2b07a2f"></a>aeGrid&#160;</td><td class="fielddoc"><p><code>0x0002</code> Grid lines </p>
</td></tr>
<tr><td class="fieldname"><a id="ae55dbe315d41fe80f29ba88100843a0caaedf83369188a15a69f92bb1d85ca97b"></a>aeSubGrid&#160;</td><td class="fielddoc"><p><code>0x0004</code> Sub grid lines </p>
</td></tr>
<tr><td class="fieldname"><a id="ae55dbe315d41fe80f29ba88100843a0ca9e0127a6361b5d0596b031a482c5cf97"></a>aeLegend&#160;</td><td class="fielddoc"><p><code>0x0008</code> Legend box </p>
</td></tr>
<tr><td class="fieldname"><a id="ae55dbe315d41fe80f29ba88100843a0ca1aca7a50c1b95403958733a4acafe773"></a>aeLegendItems&#160;</td><td class="fielddoc"><p><code>0x0010</code> Legend items </p>
</td></tr>
<tr><td class="fieldname"><a id="ae55dbe315d41fe80f29ba88100843a0ca4145e4251b0cf2dbedabeea0a38f84f6"></a>aePlottables&#160;</td><td class="fielddoc"><p><code>0x0020</code> Main lines of plottables </p>
</td></tr>
<tr><td class="fieldname"><a id="ae55dbe315d41fe80f29ba88100843a0caf7712a85d6b0c75b24301d2fe9484db3"></a>aeItems&#160;</td><td class="fielddoc"><p><code>0x0040</code> Main lines of items </p>
</td></tr>
<tr><td class="fieldname"><a id="ae55dbe315d41fe80f29ba88100843a0cae45ed8cd167bffe27d7f40da4bc17e9c"></a>aeScatters&#160;</td><td class="fielddoc"><p><code>0x0080</code> Scatter symbols of plottables (excluding scatter symbols of type ssPixmap) </p>
</td></tr>
<tr><td class="fieldname"><a id="ae55dbe315d41fe80f29ba88100843a0ca788810f0aa930137de6ad6cc6d83d354"></a>aeFills&#160;</td><td class="fielddoc"><p><code>0x0100</code> Borders of fills (e.g. under or between graphs) </p>
</td></tr>
<tr><td class="fieldname"><a id="ae55dbe315d41fe80f29ba88100843a0ca261f8ea78cf3c9561726223ffa33dc12"></a>aeZeroLine&#160;</td><td class="fielddoc"><p><code>0x0200</code> Zero-lines, see <a class="el" href="classQCPGrid.html#a209f40fdb252397b418b82d3494d8ea0">QCPGrid::setZeroLinePen</a> </p>
</td></tr>
<tr><td class="fieldname"><a id="ae55dbe315d41fe80f29ba88100843a0ca51dfdad36b2907277ae1221b09936441"></a>aeOther&#160;</td><td class="fielddoc"><p><code>0x8000</code> Other elements that don't fit into any of the existing categories </p>
</td></tr>
<tr><td class="fieldname"><a id="ae55dbe315d41fe80f29ba88100843a0caa897c232a0ffc8368e7c100ffc59ef31"></a>aeAll&#160;</td><td class="fielddoc"><p><code>0xFFFF</code> All elements </p>
</td></tr>
<tr><td class="fieldname"><a id="ae55dbe315d41fe80f29ba88100843a0caa9e90d81896358757d94275aeaa58f6a"></a>aeNone&#160;</td><td class="fielddoc"><p><code>0x0000</code> No elements </p>
</td></tr>
</table>

</div>
</div>
<a id="a5400e5fcb9528d92002ddb938c1f4ef4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5400e5fcb9528d92002ddb938c1f4ef4">&sect;&nbsp;</a></span>PlottingHint</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespaceQCP.html#a5400e5fcb9528d92002ddb938c1f4ef4">QCP::PlottingHint</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Defines plotting hints that control various aspects of the quality and speed of plotting.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCustomPlot.html#a94a33cbdadbbac5934843508bcfc210d">QCustomPlot::setPlottingHints</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a5400e5fcb9528d92002ddb938c1f4ef4ab7283c5bfc1ba9e597015389880bda42"></a>phNone&#160;</td><td class="fielddoc"><p><code>0x000</code> No hints are set </p>
</td></tr>
<tr><td class="fieldname"><a id="a5400e5fcb9528d92002ddb938c1f4ef4aa5fd227bc878c56ad2a87ea32c74ee4d"></a>phFastPolylines&#160;</td><td class="fielddoc"><p><code>0x001</code> Graph/Curve lines are drawn with a faster method. This reduces the quality especially of the line segment joins, thus is most effective for pen sizes larger than 1. It is only used for solid line pens. </p>
</td></tr>
<tr><td class="fieldname"><a id="a5400e5fcb9528d92002ddb938c1f4ef4a30840fba10eebfa519a92cf5c3d32870"></a>phImmediateRefresh&#160;</td><td class="fielddoc"><p><code>0x002</code> causes an immediate repaint() instead of a soft update() when <a class="el" href="classQCustomPlot.html#aa4bfe7d70dbe67e81d877819b75ab9af">QCustomPlot::replot()</a> is called with parameter <a class="el" href="classQCustomPlot.html#a45d61392d13042e712a956d27762aa39a49666a5854a68dbcca8b277b03331260">QCustomPlot::rpRefreshHint</a>. This is set by default to prevent the plot from freezing on fast consecutive replots (e.g. user drags ranges with mouse). </p>
</td></tr>
<tr><td class="fieldname"><a id="a5400e5fcb9528d92002ddb938c1f4ef4a8e9cfe5ee0c5cd36dd7accf9739aff65"></a>phCacheLabels&#160;</td><td class="fielddoc"><p><code>0x004</code> axis (tick) labels will be cached as pixmaps, increasing replot performance. </p>
</td></tr>
</table>

</div>
</div>
<a id="a2ad6bb6281c7c2d593d4277b44c2b037"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ad6bb6281c7c2d593d4277b44c2b037">&sect;&nbsp;</a></span>Interaction</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Defines the mouse interactions possible with <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>.</p>
<p><code>Interactions</code> is a flag of or-combined elements of this enum type.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18"></a>iRangeDrag&#160;</td><td class="fielddoc"><p><code>0x001</code> Axis ranges are draggable (see <a class="el" href="classQCPAxisRect.html#ae6aef2f7211ba6097c925dcd26008418">QCPAxisRect::setRangeDrag</a>, <a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">QCPAxisRect::setRangeDragAxes</a>) </p>
</td></tr>
<tr><td class="fieldname"><a id="a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14"></a>iRangeZoom&#160;</td><td class="fielddoc"><p><code>0x002</code> Axis ranges are zoomable with the mouse wheel (see <a class="el" href="classQCPAxisRect.html#a7960a9d222f1c31d558b064b60f86a31">QCPAxisRect::setRangeZoom</a>, <a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">QCPAxisRect::setRangeZoomAxes</a>) </p>
</td></tr>
<tr><td class="fieldname"><a id="a2ad6bb6281c7c2d593d4277b44c2b037aef673112c5067c3cf4cfddb62da7265d"></a>iMultiSelect&#160;</td><td class="fielddoc"><p><code>0x004</code> The user can select multiple objects by holding the modifier set by <a class="el" href="classQCustomPlot.html#a8fc96e3b5138a06759a2a90c166df516">QCustomPlot::setMultiSelectModifier</a> while clicking </p>
</td></tr>
<tr><td class="fieldname"><a id="a2ad6bb6281c7c2d593d4277b44c2b037a67148c8227b4155eca49135fc274c7ec"></a>iSelectPlottables&#160;</td><td class="fielddoc"><p><code>0x008</code> Plottables are selectable (e.g. graphs, curves, bars,... see <a class="el" href="classQCPAbstractPlottable.html" title="The abstract base class for all data representing objects in a plot. ">QCPAbstractPlottable</a>) </p>
</td></tr>
<tr><td class="fieldname"><a id="a2ad6bb6281c7c2d593d4277b44c2b037ad6644ac55bef621645326e9dd7469caa"></a>iSelectAxes&#160;</td><td class="fielddoc"><p><code>0x010</code> Axes are selectable (or parts of them, see <a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">QCPAxis::setSelectableParts</a>) </p>
</td></tr>
<tr><td class="fieldname"><a id="a2ad6bb6281c7c2d593d4277b44c2b037a269c9af298e257d1108edec0432b5513"></a>iSelectLegend&#160;</td><td class="fielddoc"><p><code>0x020</code> Legends are selectable (or their child items, see <a class="el" href="classQCPLegend.html#a9ce60aa8bbd89f62ae4fa83ac6c60110">QCPLegend::setSelectableParts</a>) </p>
</td></tr>
<tr><td class="fieldname"><a id="a2ad6bb6281c7c2d593d4277b44c2b037aea2f7c105d674e76d9b187b02ef29260"></a>iSelectItems&#160;</td><td class="fielddoc"><p><code>0x040</code> Items are selectable (Rectangles, Arrows, Textitems, etc. see <a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a>) </p>
</td></tr>
<tr><td class="fieldname"><a id="a2ad6bb6281c7c2d593d4277b44c2b037af67a50bc26147a13b551b3a625374949"></a>iSelectOther&#160;</td><td class="fielddoc"><p><code>0x080</code> All other objects are selectable (e.g. your own derived layerables, other layout elements,...) </p>
</td></tr>
</table>

</div>
</div>
<a id="ac9aa4d6d81ac76b094f9af9ad2d3aacf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9aa4d6d81ac76b094f9af9ad2d3aacf">&sect;&nbsp;</a></span>SelectionRectMode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespaceQCP.html#ac9aa4d6d81ac76b094f9af9ad2d3aacf">QCP::SelectionRectMode</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Defines the behaviour of the selection rect.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCustomPlot.html#a810ef958ebe84db661c7288b526c0deb">QCustomPlot::setSelectionRectMode</a>, <a class="el" href="classQCustomPlot.html#ad7df2bcbba307e644db383b449e31efd">QCustomPlot::selectionRect</a>, <a class="el" href="classQCPSelectionRect.html" title="Provides rect/rubber-band data selection and range zoom interaction. ">QCPSelectionRect</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ac9aa4d6d81ac76b094f9af9ad2d3aacfa9032f170490d67240a6c68c2638ffab1"></a>srmNone&#160;</td><td class="fielddoc"><p>The selection rect is disabled, and all mouse events are forwarded to the underlying objects, e.g. for axis range dragging. </p>
</td></tr>
<tr><td class="fieldname"><a id="ac9aa4d6d81ac76b094f9af9ad2d3aacfa739c260bf4d9a15f73423c91158b9428"></a>srmZoom&#160;</td><td class="fielddoc"><p>When dragging the mouse, a selection rect becomes active. Upon releasing, the axes that are currently set as range zoom axes (<a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">QCPAxisRect::setRangeZoomAxes</a>) will have their ranges zoomed accordingly. </p>
</td></tr>
<tr><td class="fieldname"><a id="ac9aa4d6d81ac76b094f9af9ad2d3aacfa62c286e8da283a0cbb88ecac2f3f7506"></a>srmSelect&#160;</td><td class="fielddoc"><p>When dragging the mouse, a selection rect becomes active. Upon releasing, plottable data points that were within the selection rect are selected, if the plottable's selectability setting permits. (See <a class="el" href="dataselection.html">data selection mechanism</a> for details.) </p>
</td></tr>
<tr><td class="fieldname"><a id="ac9aa4d6d81ac76b094f9af9ad2d3aacfa15e7a00c8e7e0673c7b31d75266888d4"></a>srmCustom&#160;</td><td class="fielddoc"><p>When dragging the mouse, a selection rect becomes active. It is the programmer's responsibility to connect according slots to the selection rect's signals (e.g. <a class="el" href="classQCPSelectionRect.html#a15a43542e1f7b953a44c260b419e6d2c">QCPSelectionRect::accepted</a>) in order to process the user interaction. </p>
</td></tr>
</table>

</div>
</div>
<a id="ac6cb9db26a564b27feda362a438db038"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6cb9db26a564b27feda362a438db038">&sect;&nbsp;</a></span>SelectionType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespaceQCP.html#ac6cb9db26a564b27feda362a438db038">QCP::SelectionType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Defines the different ways a plottable can be selected. These images show the effect of the different selection types, when the indicated selection rect was dragged:</p>
<center> <table class="doxtable">
<tr>
<td><div class="image">
<img src="selectiontype-none.png" alt="selectiontype-none.png"/>
<div class="caption">
stNone</div></div>
 </td><td><div class="image">
<img src="selectiontype-whole.png" alt="selectiontype-whole.png"/>
<div class="caption">
stWhole</div></div>
 </td><td><div class="image">
<img src="selectiontype-singledata.png" alt="selectiontype-singledata.png"/>
<div class="caption">
stSingleData</div></div>
 </td><td><div class="image">
<img src="selectiontype-datarange.png" alt="selectiontype-datarange.png"/>
<div class="caption">
stDataRange</div></div>
 </td><td><div class="image">
<img src="selectiontype-multipledataranges.png" alt="selectiontype-multipledataranges.png"/>
<div class="caption">
stMultipleDataRanges</div></div>
  </td></tr>
</table>
</center><dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPAbstractPlottable.html#ac238d6e910f976f1f30d41c2bca44ac3">QCPAbstractPlottable::setSelectable</a>, <a class="el" href="classQCPDataSelection.html#a17b84d852911531d229f4a76aa239a75">QCPDataSelection::enforceType</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ac6cb9db26a564b27feda362a438db038aa64628e338a2dd1e6f0dc84dec0b63fe"></a>stNone&#160;</td><td class="fielddoc"><p>The plottable is not selectable. </p>
</td></tr>
<tr><td class="fieldname"><a id="ac6cb9db26a564b27feda362a438db038aff7a688d4d520e8e7f01be098a034a2d"></a>stWhole&#160;</td><td class="fielddoc"><p>Selection behaves like <a class="el" href="namespaceQCP.html#ac6cb9db26a564b27feda362a438db038a7cf82676966ebf79cc371f65278e0e16">stMultipleDataRanges</a>, but if there are any data points selected, the entire plottable is drawn as selected. </p>
</td></tr>
<tr><td class="fieldname"><a id="ac6cb9db26a564b27feda362a438db038ae5b11259c42962db355e7448f4a8633a"></a>stSingleData&#160;</td><td class="fielddoc"><p>One individual data point can be selected at a time. </p>
</td></tr>
<tr><td class="fieldname"><a id="ac6cb9db26a564b27feda362a438db038aa05d2cba99c724df004d9c48971e4371"></a>stDataRange&#160;</td><td class="fielddoc"><p>Multiple contiguous data points (a data range) can be selected. </p>
</td></tr>
<tr><td class="fieldname"><a id="ac6cb9db26a564b27feda362a438db038a7cf82676966ebf79cc371f65278e0e16"></a>stMultipleDataRanges&#160;</td><td class="fielddoc"><p>Any combination of data points/ranges can be selected. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a07ab701c05329089f933b9cae2638a63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07ab701c05329089f933b9cae2638a63">&sect;&nbsp;</a></span>isInvalidData() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QCP::isInvalidData </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns whether the specified <em>value</em> is considered an invalid data value for plottables (i.e. is <em>nan</em> or <em>+/-inf</em>). This function is used to check data validity upon replots, when the compiler flag <code>QCUSTOMPLOT_CHECK_DATA</code> is set. </p>

</div>
</div>
<a id="a728903e5c3dd17847bee280f4005496f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a728903e5c3dd17847bee280f4005496f">&sect;&nbsp;</a></span>isInvalidData() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QCP::isInvalidData </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Checks two arguments instead of one. </p>

</div>
</div>
<a id="afbf6e3084c108f2bb4372107945ee82f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afbf6e3084c108f2bb4372107945ee82f">&sect;&nbsp;</a></span>setMarginValue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCP::setMarginValue </td>
          <td>(</td>
          <td class="paramtype">QMargins &amp;&#160;</td>
          <td class="paramname"><em>margins</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a>&#160;</td>
          <td class="paramname"><em>side</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Sets the specified <em>side</em> of <em>margins</em> to <em>value</em> </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespaceQCP.html#a23a2679d3495c444acc26acc61e35b5b">getMarginValue</a> </dd></dl>

</div>
</div>
<a id="a23a2679d3495c444acc26acc61e35b5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23a2679d3495c444acc26acc61e35b5b">&sect;&nbsp;</a></span>getMarginValue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int QCP::getMarginValue </td>
          <td>(</td>
          <td class="paramtype">const QMargins &amp;&#160;</td>
          <td class="paramname"><em>margins</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a>&#160;</td>
          <td class="paramname"><em>side</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the value of the specified <em>side</em> of <em>margins</em>. If <em>side</em> is <a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54a80aa4149f16dabd538f8b2e3d42c42d5">QCP::msNone</a> or <a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54a43d7361cb0c5244eabdc962021bffebc">QCP::msAll</a>, returns 0.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespaceQCP.html#afbf6e3084c108f2bb4372107945ee82f">setMarginValue</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
</body>
</html>