/usr/share/qt5/doc/qtqml/qtqml-index.html is in qtdeclarative5-doc-html 5.2.1-3ubuntu15.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <?xml version="1.0" encoding="UTF-8"?>
<!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" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qtqml.qdoc -->
<title>Qt QML | QtQml 5.2</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.2</li>
<li>Qt QML</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#getting-started">Getting Started</a></li>
<li class="level1"><a href="#qml-and-qml-types">QML and QML Types</a></li>
<li class="level2"><a href="#lists-and-models">Lists and Models</a></li>
<li class="level1"><a href="#javascript-environment-for-qml-applications">JavaScript Environment for QML Applications</a></li>
<li class="level1"><a href="#integrating-qml-with-c-applications">Integrating QML with C++ Applications</a></li>
<li class="level1"><a href="#guides-and-other-information">Guides and Other Information</a></li>
<li class="level2"><a href="#reference">Reference</a></li>
</ul>
</div>
<h1 class="title">Qt QML</h1>
<span class="subtitle"></span>
<!-- $$$qtqml-index.html-description -->
<div class="descr"> <a name="details"></a>
<p>The Qt QML module provides a framework for developing applications and libraries with the QML language. It defines and implements the language and engine infrastructure, and provides an API to enable application developers to extend the QML language with custom types and integrate QML code with JavaScript and C++. The Qt QML module provides both a <a href="qtqml-qmlmodule.html">QML API</a> and a <a href="qtqml-module.html">C++ API</a>.</p>
<p>Note that while the Qt QML module provides the language and infrastructure for QML applications, the Qt Quick module provides many visual components, model-view support, an animation framework, and much more for building user interfaces.</p>
<p>For those new to QML and Qt Quick, please see QML Applications for an introduction to writing QML applications.</p>
<a name="getting-started"></a>
<h2>Getting Started</h2>
<p>To include the definitions of the module's classes, use the following directive:</p>
<pre class="cpp"><span class="preprocessor">#include <QtQml></span></pre>
<p>The QML types in Qt QML are available through the <tt>QtQML</tt> import. To use the types, add the following import statement to your .qml file:</p>
<pre class="cpp">import <span class="type"><a href="qtqml-module.html">QtQml</a></span> <span class="number">2.0</span></pre>
<p>To link against the module, add this line to your qmake <tt>.pro</tt> file:</p>
<pre class="cpp">QT <span class="operator">+</span><span class="operator">=</span> qml</pre>
<a name="qml-and-qml-types"></a>
<h2>QML and QML Types</h2>
<p>The Qt QML module contains the QML framework and important QML types used in applications. The constructs of QML are described in the <a href="qmlreference.html">The QML Reference</a>.</p>
<p>In addition to the <a href="qtqml-typesystem-basictypes.html">QML Basic Types</a>, the module comes with the following QML object types:</p>
<ul>
<li><a href="qml-qtqml-component.html">Component</a></li>
<li><a href="qml-qtqml-qtobject.html">QtObject</a></li>
<li><a href="qml-qtqml-binding.html">Binding</a></li>
<li><a href="qml-qtqml-connections.html">Connections</a></li>
<li><a href="qml-qtqml-timer.html">Timer</a></li>
</ul>
<p>The <a href="qml-qtqml-qt.html">Qt</a> global object provides useful enums and functions for various QML types.</p>
<a name="lists-and-models"></a>
<h3>Lists and Models</h3>
<p>New in Qt 5.1, the model types are moved to a submodule, <tt>QtQml.Models</tt>. The <a href="qtqml-models-qmlmodule.html">Qt QML Models</a> page has more information.</p>
<ul>
<li><a href="qml-qtqml-models-delegatemodel.html">DelegateModel</a></li>
<li><a href="qml-qtqml-models-delegatemodelgroup.html">DelegateModelGroup</a></li>
<li><a href="qml-qtqml-models-listelement.html">ListElement</a></li>
<li><a href="qml-qtqml-models-listmodel.html">ListModel</a></li>
<li><a href="qml-qtqml-models-objectmodel.html">ObjectModel</a></li>
</ul>
<a name="javascript-environment-for-qml-applications"></a>
<h2>JavaScript Environment for QML Applications</h2>
<p>JavaScript expressions allow QML code to contain application logic. Qt QML provides the framework for running JavaScript expressions in QML and from C++.</p>
<p>These sections are from <a href="qmlreference.html">The QML Reference</a>. <a href="qtqml-javascript-topic.html">Integrating QML and JavaScript</a></p>
<ul>
<li><a href="qtqml-javascript-expressions.html">Using JavaScript Expressions with QML</a></li>
<li><a href="qtqml-javascript-dynamicobjectcreation.html">Dynamic QML Object Creation from JavaScript</a></li>
<li><a href="qtqml-javascript-resources.html">Defining JavaScript Resources In QML</a></li>
<li><a href="qtqml-javascript-imports.html">Importing JavaScript Resources In QML</a></li>
<li><a href="qtqml-javascript-hostenvironment.html">JavaScript Host Environment</a></li>
</ul>
<a name="integrating-qml-with-c-applications"></a>
<h2>Integrating QML with C++ Applications</h2>
<p>The module also provides the framework for running QML applications. The QML framework allows QML code to contain JavaScript expressions and for the QML code to interact with C++ code.</p>
<ul>
<li><a href="qtqml-cppclasses-topic.html">Important C++ Classes Provided By The Qt QML Module</a></li>
<li><a href="qtqml-cppintegration-topic.html">Integrating QML and C++</a></li>
</ul>
<a name="guides-and-other-information"></a>
<h2>Guides and Other Information</h2>
<p>Further information for writing QML applications:</p>
<ul>
<li><a href="qmlreference.html">The QML Reference</a></li>
<li>QML Applications - essential information for application development with QML and Qt Quick</li>
<li>Qt Quick - a module which provides a set of QML types and C++ classes for building user interfaces and applications with QML</li>
<li><a href="qtqml-releasenotes.html">Qt QML Release Notes</a> - list of changes and additions in the Qt QML module</li>
</ul>
<a name="reference"></a>
<h3>Reference</h3>
<ul>
<li><a href="qtqml-module.html">C++ Classes</a></li>
<li><a href="qtqml-qmlmodule.html">QML Types</a></li>
</ul>
</div>
<!-- @@@qtqml-index.html -->
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2013 Digia Plc and/or its
subsidiaries. Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|