Sophie

Sophie

distrib > Mageia > 6 > i586 > by-pkgid > f93881942bd3805980c2fe63aa853d78 > files > 207

qtdoc5-5.9.4-1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- glossary.qdoc -->
  <title>Glossary Of QML Terms | Qt 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="index.html">Qt 5.9</a></td><td >Glossary Of QML Terms</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#common-terms">Common Terms</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Glossary Of QML Terms</h1>
<span class="subtitle"></span>
<!-- $$$qml-glossary.html-description -->
<div class="descr"> <a name="details"></a>
<a name="common-terms"></a>
<h2 id="common-terms">Common Terms</h2>
<div class="table"><table class="generic">
 <thead><tr class="qt-style"><th >Term</th><th >Definition</th></tr></thead>
<tr valign="top" class="odd"><td >QML</td><td >The language in which QML applications are written. The language architecture and engine are implemented by the Qt QML module.</td></tr>
<tr valign="top" class="even"><td >Qt Quick</td><td >The standard library of types and functionality for the QML language, which is provided by the Qt Quick module, and may be accessed with &quot;import QtQuick 2.3&quot;.</td></tr>
<tr valign="top" class="odd"><td >Type</td><td >In QML, a <i>type</i> may refer to either a Basic Type or a QML Object Type.<p>The QML language provides a number of built-in basic types, and the Qt Quick module provides various Qt Quick types for building QML applications. Types can also be provided by third-party developers through (modules) or by the application developer in the application itself through QML Documents.</p>
<p>See The QML Type System for more details.</p>
</td></tr>
<tr valign="top" class="even"><td >Basic Type</td><td >A basic type is a simple type such as <code>int</code>, <code>string</code> and <code>bool</code>. Unlike object types, an object cannot be instantiated from a basic type; for example, it is not possible to create an <code>int</code> object with properties, methods, signals and so on.<p>Basic types are built into the QML language, whereas object types cannot be used unless the appropriate module is imported.</p>
<p>See The QML Type System for more details.</p>
</td></tr>
<tr valign="top" class="odd"><td >Object Type</td><td >A QML Object Type is a type that can be instantiated by the QML engine.<p>A QML type can be defined either by a document in a .qml file beginning with a capital letter, or by a QObject-based C++ class.</p>
<p>See The QML Type System for more details.</p>
</td></tr>
<tr valign="top" class="even"><td >Object</td><td >A QML object is an instance of a QML Object Type.<p>Such objects are created by the engine when it processes object declarations, which specify the objects to be created and the attributes that are to be defined for each object.</p>
<p>Additionally, objects can be dynamically created at runtime through Component.createObject() and Qt.createQmlObject().</p>
<p>See also <a href="qml-glossary.html#lazy-instantiation">Lazy Instantiation</a>.</p>
</td></tr>
<tr valign="top" class="odd"><td >Component</td><td >A component is a template from which a QML object or object tree is created. It is produced when a document is loaded by the QML engine. Once it has been loaded, it can be used to instantiate the object or object tree that it represents.<p>Additionally, the Component type is a special type that can can be used to declare a component inline within a document. Component objects can also be dynamically created through Qt.createComponent() to dynamically create QML objects.</p>
</td></tr>
<tr valign="top" class="even"><td >Document</td><td >A QML Document is a self contained piece of QML source code that begins with one or more import statements and contains a single top-level object declaration. A document may reside in a .qml file or a text string.<p>If it is placed in a .qml file whose name begins with a capital letter, the file is recognized by the engine as a definition of a QML type. The top-level object declaration encapsulates the object tree that will be instantiated by the type.</p>
</td></tr>
<tr valign="top" class="odd"><td >Property</td><td >A property is an attribute of an object type that has a name and an associated value; this value can be read (and in most cases, also written to) externally.<p>An object can have one or more properties. Some properties are associated with the canvas (e.g&#x2e;, x, y, width, height, and opacity) while others may be data specific to that type (e.g&#x2e;, the &quot;text&quot; property of the <a href="whatsnew50.html#text">Text</a> type).</p>
<p>See QML Object Attributes for more details.</p>
</td></tr>
<tr valign="top" class="even"><td >Binding</td><td >A binding is a JavaScript expression which is &quot;bound&quot; to a property. The value of the property at any point in time will be the value returned by evaluating that expression.<p>See Property Binding for more details.</p>
</td></tr>
<tr valign="top" class="odd"><td >Signal</td><td >A signal is a notification from a QML object. When an object emits a signal, other objects can receive and process this signal through a signal handler.<p>Most properties of QML objects have a change signal, and also an associated change signal handler which may be defined by clients to implement functionality. For example, the &quot;onClicked()&quot; handler of an instance of the MouseArea type might be defined in an application to cause a sound to be played.</p>
<p>See Signal and Handler Event System for more details.</p>
</td></tr>
<tr valign="top" class="even"><td >Signal Handler</td><td >A signal handler is the expression (or function) which is triggered by a signal. It is also known as a &quot;slot&quot; in C++.<p>See Signal and Handler Event System for more details.</p>
</td></tr>
<tr valign="top" class="odd"><a name="lazy-instantiation"></a><td >Lazy Instantiation</td><td >Object instances can be instantiated &quot;lazily&quot; at run-time, to avoid performing unnecessary work until needed. Qt Quick provides the Loader type to make lazy instantiation more convenient.</td></tr>
</table></div>
</div>
<!-- @@@qml-glossary.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   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>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>