<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qtqml-cpp.qdoc --> <title>Qt QML C++ Classes | Qt QML 5.12.6</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 >Qt 5.12</td><td ><a href="qtqml-index.html">Qt QML</a></td><td >Qt QML C++ Classes</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtqml-index.html">Qt 5.12.6 Reference Documentation</a></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="#namespaces">Namespaces</a></li> <li class="level1"><a href="#classes">Classes</a></li> <li class="level1"><a href="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Qt QML C++ Classes</h1> <span class="subtitle"></span> <!-- $$$QtQml-brief --> <p>The C++ API provided by the Qt QML module. <a href="#details">More...</a></p> <!-- @@@QtQml --> <a name="namespaces"></a> <h2 id="namespaces">Namespaces</h2> <div class="table"><table class="annotated"> <tr class="odd topAlign"><td class="tblName"><p><a href="qtqml.html">QtQml</a></p></td><td class="tblDescr"><p>Provides functions for producing logging messages for QML types</p></td></tr> </table></div> <a name="classes"></a> <h2 id="classes">Classes</h2> <div class="table"><table class="annotated"> <tr class="odd topAlign"><td class="tblName"><p><a href="qqmlcontext-propertypair.html">QQmlContext::PropertyPair</a></p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qjsengine.html">QJSEngine</a></p></td><td class="tblDescr"><p>Environment for evaluating JavaScript code</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qjsvalue.html">QJSValue</a></p></td><td class="tblDescr"><p>Acts as a container for Qt/JavaScript data types</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qjsvalueiterator.html">QJSValueIterator</a></p></td><td class="tblDescr"><p>Java-style iterator for QJSValue</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qqmlabstracturlinterceptor.html">QQmlAbstractUrlInterceptor</a></p></td><td class="tblDescr"><p>Allows you to control QML file loading</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qqmlapplicationengine.html">QQmlApplicationEngine</a></p></td><td class="tblDescr"><p>Convenient way to load an application from a single QML file</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qqmlcomponent.html">QQmlComponent</a></p></td><td class="tblDescr"><p>Encapsulates a QML component definition</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qqmlcontext.html">QQmlContext</a></p></td><td class="tblDescr"><p>Defines a context within a QML engine</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qqmlengine.html">QQmlEngine</a></p></td><td class="tblDescr"><p>Environment for instantiating QML components</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qqmlerror.html">QQmlError</a></p></td><td class="tblDescr"><p>Encapsulates a QML error</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qqmlexpression.html">QQmlExpression</a></p></td><td class="tblDescr"><p>Evaluates JavaScript in a QML context</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qqmlextensionplugin.html">QQmlExtensionPlugin</a></p></td><td class="tblDescr"><p>Abstract base for custom QML extension plugins</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qqmlfileselector.html">QQmlFileSelector</a></p></td><td class="tblDescr"><p>A class for applying a QFileSelector to QML file loading</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qqmlimageproviderbase.html">QQmlImageProviderBase</a></p></td><td class="tblDescr"><p>Used to register image providers in the QML engine</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qqmlincubationcontroller.html">QQmlIncubationController</a></p></td><td class="tblDescr"><p>Instances drive the progress of QQmlIncubators</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qqmlincubator.html">QQmlIncubator</a></p></td><td class="tblDescr"><p>Allows QML objects to be created asynchronously</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qqmllistproperty.html">QQmlListProperty</a></p></td><td class="tblDescr"><p>Allows applications to expose list-like properties of QObject-derived classes to QML</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qqmllistreference.html">QQmlListReference</a></p></td><td class="tblDescr"><p>Allows the manipulation of QQmlListProperty properties</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qqmlnetworkaccessmanagerfactory.html">QQmlNetworkAccessManagerFactory</a></p></td><td class="tblDescr"><p>Creates QNetworkAccessManager instances for a QML engine</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qqmlparserstatus.html">QQmlParserStatus</a></p></td><td class="tblDescr"><p>Updates on the QML parser state</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qqmlproperty.html">QQmlProperty</a></p></td><td class="tblDescr"><p>Abstracts accessing properties on objects created from QML</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qqmlpropertymap.html">QQmlPropertyMap</a></p></td><td class="tblDescr"><p>Allows you to set key-value pairs that can be used in QML bindings</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qqmlpropertyvaluesource.html">QQmlPropertyValueSource</a></p></td><td class="tblDescr"><p>Interface for property value sources such as animations and bindings</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qqmlscriptstring.html">QQmlScriptString</a></p></td><td class="tblDescr"><p>Encapsulates a script and its context</p></td></tr> </table></div> <!-- $$$QtQml-description --> <a name="details"></a> <div class="descr"> <h2 id="details">Detailed Description</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>To link against the module, add this line to your qmake <code>.pro</code> file:</p> <pre class="cpp"> QT += qml </pre> <p>For more information on the Qt QML module, see the <a href="qtqml-index.html">Qt QML</a> module documentation.</p> </div> <!-- @@@QtQml --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 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>