-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.html
431 lines (389 loc) · 32.5 KB
/
index.html
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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Qt5 Cadaques — Qt5 Cadaques Book vmaster</title>
<link rel="stylesheet" href="_static/bootstrap-sphinx.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/custom-styles.css" type="text/css" />
<script type="text/javascript" src="_static/documentation_options.js"></script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="1. Meet Qt 5" href="ch01-meetqt/meetqt.html" />
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
<meta name="apple-mobile-web-app-capable" content="yes">
<script type="text/javascript" src="_static/js/jquery-1.11.0.min.js "></script>
<script type="text/javascript" src="_static/js/jquery-fix.js "></script>
<script type="text/javascript" src="_static/bootstrap-3.3.7/js/bootstrap.min.js "></script>
<script type="text/javascript" src="_static/bootstrap-sphinx.js "></script>
</head><body>
<div id="navbar" class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">
QmlBook</a>
<span class="navbar-text navbar-version pull-left"><b>master</b></span>
</div>
<div class="collapse navbar-collapse nav-collapse">
<ul class="nav navbar-nav">
<li class="dropdown globaltoc-container">
<a role="button"
id="dLabelGlobalToc"
data-toggle="dropdown"
data-target="#"
href="#">Chapters <b class="caret"></b></a>
<ul class="dropdown-menu globaltoc"
role="menu"
aria-labelledby="dLabelGlobalToc"><ul>
<li class="toctree-l1"><a class="reference internal" href="ch01-meetqt/meetqt.html">1. Meet Qt 5</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch02-start/start.html">2. Get Started</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch03-qtcreator/qtcreator.html">3. Qt Creator IDE</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch04-qmlstart/qmlstart.html">4. Quick Starter</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch05-fluid/fluid.html">5. Fluid Elements</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch06-controls/controls.html">6. Qt Quick Controls 2</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch07-modelview/modelview.html">7. Model-View-Delegate</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch08-felgo/felgo.html">8. Felgo</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch09-canvas/canvas.html">9. Canvas Element</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch10-particles/particles.html">10. Particle Simulations</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch11-shaders/shaders.html">11. Shader Effects</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch12-multimedia/multimedia.html">12. Multimedia</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch13-networking/networking.html">13. Networking</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch14-storage/storage.html">14. Storage</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch15-dynamicqml/dynamicqml.html">15. Dynamic QML</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch16-javascript/javascript.html">16. JavaScript</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch17-qtcpp/qtcpp.html">17. Qt and C++</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch18-extensions/extensions.html">18. Extending QML with C++</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch19-felgo-plugins/felgo-plugins.html">19. Felgo Plugins and QML Hot Reloading</a></li>
<li class="toctree-l1"><a class="reference internal" href="ch20-python/python.html">20. Qt for Python</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="testing/testing.html">1. Testing</a></li>
<li class="toctree-l1"><a class="reference internal" href="deployment/deployment.html">2. Deploying QML Applications</a></li>
<li class="toctree-l1"><a class="reference internal" href="draganddrop/draganddrop.html">3. Drag and Drop</a></li>
</ul>
</ul>
</li>
<li class="dropdown">
<a role="button"
id="dLabelLocalToc"
data-toggle="dropdown"
data-target="#"
href="#">Page <b class="caret"></b></a>
<ul class="dropdown-menu localtoc"
role="menu"
aria-labelledby="dLabelLocalToc"><ul>
<li><a class="reference internal" href="#">A Book about Qt5</a><ul>
<li><a class="reference internal" href="#offline-books">Offline Books</a></li>
<li><a class="reference internal" href="#source-code-examples">Source Code Examples</a></li>
</ul>
</li>
</ul>
</ul>
</li>
<li>
<a href="ch01-meetqt/meetqt.html" title="Next Chapter: 1. Meet Qt 5"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">1. Meet Qt 5 »</span>
</a>
</li>
<li class="hidden-sm"></li>
</ul>
<form class="navbar-form navbar-right" action="search.html" method="get">
<div class="form-group">
<input type="text" name="q" class="form-control" placeholder="Search" />
</div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-3">
<div id="sidebar" class="bs-sidenav" role="complementary">
<p>Download this book in <a href="assets/index.html">PDF</a> or <a href="assets/index.html">ePub</a> format for free.</p>
<p>You will find the chapter examples in the <a href="assets/index.html">assets</a> folder.</p>
<p>The source of this book is hosted on <a href="https://github.com/qmlbook/qmlbook">GitHub</a>. Patches, suggestions and comments are welcome.</p>
<p>
<iframe src="https://ghbtns.com/github-btn.html?user=qmlbook&repo=qmlbook&type=watch&count=true&v=2" frameborder="0" scrolling="0" width="170px" height="20px"></iframe>
<iframe src="https://ghbtns.com/github-btn.html?user=qmlbook&repo=qmlbook&type=star&count=true&v=2" frameborder="0" scrolling="0" width="170px" height="20px"></iframe>
<iframe src="https://ghbtns.com/github-btn.html?user=qmlbook&repo=qmlbook&type=fork&count=true" frameborder="0" scrolling="0" width="170px" height="20px"></iframe>
</p>
<p>
<a href="https://gitter.im/qmlbook/qmlbook?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge">
<img src="https://badges.gitter.im/Join%20Chat.svg"alt="Join the chat at https://gitter.im/qmlbook/qmlbook"/>
</a>
</p>
</div>
</div>
<div class="body col-md-9 content" role="main">
<div class="section" id="a-book-about-qt5">
<h1>A Book about Qt5<a class="headerlink" href="#a-book-about-qt5" title="Permalink to this headline">¶</a></h1>
<p><div class="btn-group" role="group"><a class="btn btn-link btn-xs" href="https://github.com/qmlbook/qmlbook//new?labels=master&body=back-link%3A+index.html%23a-book-about-qt5"><i class="glyphicon glyphicon-plus"></i> Issue</a><a class="btn btn-link btn-xs" href="https://github.com/qmlbook/qmlbook/?labels=master&page=1&state=open"><i class="glyphicon glyphicon-search"></i> Issues</a></div></p><p>Last Build: December 07, 2020 at 10:50 CET</p>
<a href="https://github.com/qmlbook/qmlbook"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/652c5b9acfaddf3a9c326fa6bde407b87f7be0f4/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6f72616e67655f6666373630302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" /></a><p>Welcome to the online book of Qt5 Cadaques! Why Qt5? Because Qt5 is awesome! Why Cadaques? Because one of the authors had a great holiday in this rocky coastline in the north-east of Spain.</p>
<p>The entire collection of chapters covering Qt5 programming, written by Jürgen Bocklage-Ryannel and Johan Thelin, is available here. All book content is licensed under the <a class="reference external" href="http://creativecommons.org/licenses/by-nc/4.0">Creative Commons Attribution Non-Commercial Share Alike 4.0</a> license and examples are licensed under the <a class="reference external" href="http://en.wikipedia.org/wiki/BSD_licenses">BSD</a> license.</p>
<div class="admonition-personal-note admonition">
<p class="first admonition-title">Personal Note</p>
<p>Jürgen Ryannel, the lead author has stopped working in his normal job and is bootstrapping a new company called <a class="reference external" href="https://apigear.io">ApiGear</a>, which is all about API architectures.
While the company is slowly forming, Jürgen is available for freelancing, ideally in the area of UI creating using QML or UI Architecture coaching. You can reach him via <a class="reference external" href="https://www.linkedin.com/in/jryannel/">LinkedIn</a>.</p>
<p class="last">/ jryannel</p>
</div>
<p><strong>Enjoy!</strong></p>
<p class="rubric">Content</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="ch01-meetqt/meetqt.html">1. Meet Qt 5</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch01-meetqt/meetqt.html#preface">1.1. Preface</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch01-meetqt/meetqt.html#qt-5-introduction">1.2. Qt 5 Introduction</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch01-meetqt/meetqt.html#qt-building-blocks">1.3. Qt Building Blocks</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch01-meetqt/meetqt.html#qt-project">1.4. Qt Project</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch02-start/start.html">2. Get Started</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch02-start/start.html#installing-qt-5-sdk">2.1. Installing Qt 5 SDK</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch02-start/start.html#hello-world">2.2. Hello World</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch02-start/start.html#application-types">2.3. Application Types</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch02-start/start.html#summary">2.4. Summary</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch03-qtcreator/qtcreator.html">3. Qt Creator IDE</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch03-qtcreator/qtcreator.html#the-user-interface">3.1. The User Interface</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch03-qtcreator/qtcreator.html#registering-your-qt-kit">3.2. Registering your Qt Kit</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch03-qtcreator/qtcreator.html#managing-projects">3.3. Managing Projects</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch03-qtcreator/qtcreator.html#using-the-editor">3.4. Using the Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch03-qtcreator/qtcreator.html#locator">3.5. Locator</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch03-qtcreator/qtcreator.html#debugging">3.6. Debugging</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch03-qtcreator/qtcreator.html#shortcuts">3.7. Shortcuts</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch04-qmlstart/qmlstart.html">4. Quick Starter</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch04-qmlstart/qmlstart.html#qml-syntax">4.1. QML Syntax</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch04-qmlstart/qmlstart.html#basic-elements">4.2. Basic Elements</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch04-qmlstart/qmlstart.html#components">4.3. Components</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch04-qmlstart/qmlstart.html#simple-transformations">4.4. Simple Transformations</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch04-qmlstart/qmlstart.html#positioning-elements">4.5. Positioning Elements</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch04-qmlstart/qmlstart.html#layout-items">4.6. Layout Items</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch04-qmlstart/qmlstart.html#input-elements">4.7. Input Elements</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch04-qmlstart/qmlstart.html#advanced-techniques">4.8. Advanced Techniques</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch05-fluid/fluid.html">5. Fluid Elements</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch05-fluid/fluid.html#animations">5.1. Animations</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch05-fluid/fluid.html#states-and-transitions">5.2. States and Transitions</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch05-fluid/fluid.html#advanced-techniques">5.3. Advanced Techniques</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch06-controls/controls.html">6. Qt Quick Controls 2</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch06-controls/controls.html#introduction-to-controls">6.1. Introduction to Controls</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch06-controls/controls.html#an-image-viewer">6.2. An Image Viewer</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch06-controls/controls.html#common-patterns">6.3. Common Patterns</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch06-controls/controls.html#the-imagine-style">6.4. The Imagine Style</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch06-controls/controls.html#summary">6.5. Summary</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch07-modelview/modelview.html">7. Model-View-Delegate</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch07-modelview/modelview.html#concept">7.1. Concept</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch07-modelview/modelview.html#basic-models">7.2. Basic Models</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch07-modelview/modelview.html#dynamic-views">7.3. Dynamic Views</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch07-modelview/modelview.html#delegate">7.4. Delegate</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch07-modelview/modelview.html#advanced-techniques">7.5. Advanced Techniques</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch07-modelview/modelview.html#summary">7.6. Summary</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch08-felgo/felgo.html">8. Felgo</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch08-felgo/felgo.html#why-choose-felgo">8.1. Why choose Felgo?</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch08-felgo/felgo.html#installing-felgo">8.2. Installing Felgo</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch08-felgo/felgo.html#hello-world-with-felgo">8.3. Hello World with Felgo</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch08-felgo/felgo.html#a-messaging-app">8.4. A Messaging App</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch08-felgo/felgo.html#advanced-topics">8.5. Advanced Topics</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch08-felgo/felgo.html#summary">8.6. Summary</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch09-canvas/canvas.html">9. Canvas Element</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch09-canvas/canvas.html#convenient-api">9.1. Convenient API</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch09-canvas/canvas.html#gradients">9.2. Gradients</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch09-canvas/canvas.html#shadows">9.3. Shadows</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch09-canvas/canvas.html#images">9.4. Images</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch09-canvas/canvas.html#transformation">9.5. Transformation</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch09-canvas/canvas.html#composition-modes">9.6. Composition Modes</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch09-canvas/canvas.html#pixel-buffers">9.7. Pixel Buffers</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch09-canvas/canvas.html#canvas-paint">9.8. Canvas Paint</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch09-canvas/canvas.html#porting-from-html5-canvas">9.9. Porting from HTML5 Canvas</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch10-particles/particles.html">10. Particle Simulations</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch10-particles/particles.html#concept">10.1. Concept</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch10-particles/particles.html#simple-simulation">10.2. Simple Simulation</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch10-particles/particles.html#particle-parameters">10.3. Particle Parameters</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch10-particles/particles.html#directed-particles">10.4. Directed Particles</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch10-particles/particles.html#particle-painters">10.5. Particle Painters</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch10-particles/particles.html#affecting-particles">10.6. Affecting Particles</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch10-particles/particles.html#particle-groups">10.7. Particle Groups</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch10-particles/particles.html#summary">10.8. Summary</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch11-shaders/shaders.html">11. Shader Effects</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch11-shaders/shaders.html#opengl-shaders">11.1. OpenGL Shaders</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch11-shaders/shaders.html#shader-elements">11.2. Shader Elements</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch11-shaders/shaders.html#fragment-shaders">11.3. Fragment Shaders</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch11-shaders/shaders.html#wave-effect">11.4. Wave Effect</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch11-shaders/shaders.html#vertex-shader">11.5. Vertex Shader</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch11-shaders/shaders.html#curtain-effect">11.6. Curtain Effect</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch11-shaders/shaders.html#qt-graphicseffect-library">11.7. Qt GraphicsEffect Library</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch12-multimedia/multimedia.html">12. Multimedia</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch12-multimedia/multimedia.html#playing-media">12.1. Playing Media</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch12-multimedia/multimedia.html#sound-effects">12.2. Sound Effects</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch12-multimedia/multimedia.html#video-streams">12.3. Video Streams</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch12-multimedia/multimedia.html#capturing-images">12.4. Capturing Images</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch12-multimedia/multimedia.html#advanced-techniques">12.5. Advanced Techniques</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch12-multimedia/multimedia.html#summary">12.6. Summary</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch13-networking/networking.html">13. Networking</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch13-networking/networking.html#serving-ui-via-http">13.1. Serving UI via HTTP</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch13-networking/networking.html#templating">13.2. Templating</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch13-networking/networking.html#http-requests">13.3. HTTP Requests</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch13-networking/networking.html#local-files">13.4. Local files</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch13-networking/networking.html#rest-api">13.5. REST API</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch13-networking/networking.html#authentication-using-oauth">13.6. Authentication using OAuth</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch13-networking/networking.html#web-sockets">13.7. Web Sockets</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch13-networking/networking.html#summary">13.8. Summary</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch14-storage/storage.html">14. Storage</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch14-storage/storage.html#settings">14.1. Settings</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch14-storage/storage.html#local-storage-sql">14.2. Local Storage - SQL</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch14-storage/storage.html#other-storage-apis">14.3. Other Storage APIs</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch15-dynamicqml/dynamicqml.html">15. Dynamic QML</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch15-dynamicqml/dynamicqml.html#loading-components-dynamically">15.1. Loading Components Dynamically</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch15-dynamicqml/dynamicqml.html#creating-and-destroying-objects">15.2. Creating and Destroying Objects</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch15-dynamicqml/dynamicqml.html#tracking-dynamic-objects">15.3. Tracking Dynamic Objects</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch15-dynamicqml/dynamicqml.html#summary">15.4. Summary</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch16-javascript/javascript.html">16. JavaScript</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch16-javascript/javascript.html#browser-html-vs-qtquick-qml">16.1. Browser/HTML vs QtQuick/QML</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch16-javascript/javascript.html#the-language">16.2. The Language</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch16-javascript/javascript.html#js-objects">16.3. JS Objects</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch16-javascript/javascript.html#creating-a-js-console">16.4. Creating a JS Console</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch17-qtcpp/qtcpp.html">17. Qt and C++</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch17-qtcpp/qtcpp.html#a-boilerplate-application">17.1. A Boilerplate Application</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch17-qtcpp/qtcpp.html#the-qobject">17.2. The QObject</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch17-qtcpp/qtcpp.html#build-systems">17.3. Build Systems</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch17-qtcpp/qtcpp.html#common-qt-classes">17.4. Common Qt Classes</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch17-qtcpp/qtcpp.html#models-in-c">17.5. Models in C++</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch18-extensions/extensions.html">18. Extending QML with C++</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch18-extensions/extensions.html#understanding-the-qml-run-time">18.1. Understanding the QML Run-time</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch18-extensions/extensions.html#plugin-content">18.2. Plugin Content</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch18-extensions/extensions.html#creating-the-plugin">18.3. Creating the plugin</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch18-extensions/extensions.html#fileio-implementation">18.4. FileIO Implementation</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch18-extensions/extensions.html#using-fileio">18.5. Using FileIO</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch18-extensions/extensions.html#summary">18.6. Summary</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch19-felgo-plugins/felgo-plugins.html">19. Felgo Plugins and QML Hot Reloading</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch19-felgo-plugins/felgo-plugins.html#tooling">19.1. Tooling</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch19-felgo-plugins/felgo-plugins.html#felgo-plugins">19.2. Felgo Plugins</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch19-felgo-plugins/felgo-plugins.html#monetization-ads-and-in-app-purchases">19.3. Monetization, Ads and In-App Purchases</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch19-felgo-plugins/felgo-plugins.html#notifications">19.4. Notifications</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch19-felgo-plugins/felgo-plugins.html#analytics-and-crash-reporting">19.5. Analytics and Crash Reporting</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch19-felgo-plugins/felgo-plugins.html#firebase-authentication-databases-and-storage">19.6. Firebase: Authentication, Databases, and Storage</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch19-felgo-plugins/felgo-plugins.html#cloud-storage-augmented-reality-and-more">19.7. Cloud Storage, Augmented Reality, and More</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch19-felgo-plugins/felgo-plugins.html#felgo-webassembly">19.8. Felgo & WebAssembly</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch19-felgo-plugins/felgo-plugins.html#summary">19.9. Summary</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ch20-python/python.html">20. Qt for Python</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ch20-python/python.html#introduction">20.1. Introduction</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch20-python/python.html#installing">20.2. Installing</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch20-python/python.html#building-an-application">20.3. Building an Application</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch20-python/python.html#limitations">20.4. Limitations</a></li>
<li class="toctree-l2"><a class="reference internal" href="ch20-python/python.html#summary">20.5. Summary</a></li>
</ul>
</li>
</ul>
</div>
<p class="rubric">Assets</p>
<p>The assets contain all files for reading the book offline and also the chapter examples as a downloadable format.</p>
<div class="section" id="offline-books">
<h2>Offline Books<a class="headerlink" href="#offline-books" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><a class="reference external" href="assets/qt5_cadaques.epub">Book as eBook</a></li>
<li><a class="reference external" href="assets/qt5_cadaques.pdf">Book as PDF</a></li>
</ul>
</div>
<div class="section" id="source-code-examples">
<h2>Source Code Examples<a class="headerlink" href="#source-code-examples" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><a class="reference external" href="assets/ch01-meetqt-assets.tgz">Chapter 1 examples (ch01-meetqt-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch04-qmlstart-assets.tgz">Chapter 4 examples (ch04-qmlstart-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch05-fluid-assets.tgz">Chapter 5 examples (ch05-fluid-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch06-controls-assets.tgz">Chapter 6 examples (ch06-controls-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch07-modelview-assets.tgz">Chapter 7 examples (ch07-modelview-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch08-felgo-assets.tgz">Chapter 8 examples (ch08-felgo-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch09-canvas-assets.tgz">Chapter 9 examples (ch09-canvas-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch10-particles-assets.tgz">Chapter 10 examples (ch10-particles-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch11-shaders-assets.tgz">Chapter 11 examples (ch11-shaders-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch12-multimedia-assets.tgz">Chapter 12 examples (ch12-multimedia-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch13-networking-assets.tgz">Chapter 13 examples (ch13-networking-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch14-storage-assets.tgz">Chapter 14 examples (ch14-storage-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch15-dynamicqml-assets.tgz">Chapter 15 examples (ch15-dynamicqml-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch16-javascript-assets.tgz">Chapter 16 examples (ch16-javascript-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch17-qtcpp-assets.tgz">Chapter 17 examples (ch17-qtcpp-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch18-extensions-assets.tgz">Chapter 18 examples (ch18-extensions-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch19-felgo-plugins-assets.tgz">Chapter 19 examples (ch19-felgo-plugins-assets.tgz)</a></li>
<li><a class="reference external" href="assets/ch20-python-assets.tgz">Chapter 20 examples (ch20-python-assets.tgz)</a></li>
</ul>
<p class="rubric">Chapter Queue</p>
<p>The chapter queue is the chapters we are working on. They might be almost ready or in an infant state. Give it a try if you like.</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="testing/testing.html">1. Testing</a></li>
<li class="toctree-l1"><a class="reference internal" href="deployment/deployment.html">2. Deploying QML Applications</a></li>
<li class="toctree-l1"><a class="reference internal" href="draganddrop/draganddrop.html">3. Drag and Drop</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<p class="pull-right">
<a href="#">Back to top</a>
</p>
<p>
© Copyright 2012-2018 Jürgen Bocklage-Ryannel and Johan Thelin. This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.<br/>
Last updated on Dec 07, 2020.<br/>
</p>
</div>
</footer>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-46104829-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>