<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qtquick-cpp.qdoc --> <title>Qt Quick C++ Classes | Qt Quick 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="qtquick-index.html">Qt Quick</a></td><td >Qt Quick C++ Classes</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtquick-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="#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 Quick C++ Classes</h1> <span class="subtitle"></span> <!-- $$$QtQuick-brief --> <p>The Qt Quick module provides classes for embedding Qt Quick in Qt/C++ applications. <a href="#details">More...</a></p> <!-- @@@QtQuick --> <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="qsggeometry-attribute.html">QSGGeometry::Attribute</a></p></td><td class="tblDescr"><p>QSGGeometry::Attribute describes a single vertex attribute in a QSGGeometry</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsggeometry-attributeset.html">QSGGeometry::AttributeSet</a></p></td><td class="tblDescr"><p>QSGGeometry::AttributeSet describes how the vertices in a QSGGeometry are built up</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsggeometry-coloredpoint2d.html">QSGGeometry::ColoredPoint2D</a></p></td><td class="tblDescr"><p>QSGGeometry::ColoredPoint2D struct is a convenience struct for accessing 2D Points with a color</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qquickitem-itemchangedata.html">QQuickItem::ItemChangeData</a></p></td><td class="tblDescr"><p>Adds supplimentary information to the QQuickItem::itemChange() function</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsggeometry-point2d.html">QSGGeometry::Point2D</a></p></td><td class="tblDescr"><p>QSGGeometry::Point2D struct is a convenience struct for accessing 2D Points</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qquickasyncimageprovider.html">QQuickAsyncImageProvider</a></p></td><td class="tblDescr"><p>Interface for for asynchronous control of QML image requests</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qquickframebufferobject.html">QQuickFramebufferObject</a></p></td><td class="tblDescr"><p>Convenience class for integrating OpenGL rendering using a framebuffer object (FBO) with Qt Quick</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qquickimageprovider.html">QQuickImageProvider</a></p></td><td class="tblDescr"><p>Interface for supporting pixmaps and threaded image requests in QML</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qquickimageresponse.html">QQuickImageResponse</a></p></td><td class="tblDescr"><p>Interface for asynchronous image loading in QQuickAsyncImageProvider</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qquickitem.html">QQuickItem</a></p></td><td class="tblDescr"><p>The most basic of all visual items in Qt Quick</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qquickitemgrabresult.html">QQuickItemGrabResult</a></p></td><td class="tblDescr"><p>Contains the result from QQuickItem::grabToImage()</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qquickpainteditem.html">QQuickPaintedItem</a></p></td><td class="tblDescr"><p>Way to use the QPainter API in the QML Scene Graph</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qquickrendercontrol.html">QQuickRenderControl</a></p></td><td class="tblDescr"><p>Mechanism for rendering the Qt Quick scenegraph onto an offscreen render target in a fully application-controlled manner</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qquicktextdocument.html">QQuickTextDocument</a></p></td><td class="tblDescr"><p>Access to the QTextDocument of QQuickTextEdit</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qquicktexturefactory.html">QQuickTextureFactory</a></p></td><td class="tblDescr"><p>Interface for loading custom textures from QML</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qquickview.html">QQuickView</a></p></td><td class="tblDescr"><p>Window for displaying a Qt Quick user interface</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qquickwindow.html">QQuickWindow</a></p></td><td class="tblDescr"><p>The window for displaying a graphical QML scene</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsgabstractrenderer.html">QSGAbstractRenderer</a></p></td><td class="tblDescr"><p>Gives access to the scene graph nodes and rendering of a QSGEngine</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsgbasicgeometrynode.html">QSGBasicGeometryNode</a></p></td><td class="tblDescr"><p>Serves as a baseclass for geometry based nodes</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsgclipnode.html">QSGClipNode</a></p></td><td class="tblDescr"><p>Implements the clipping functionality in the scene graph</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsgdynamictexture.html">QSGDynamicTexture</a></p></td><td class="tblDescr"><p>Serves as a baseclass for dynamically changing textures, such as content that is rendered to FBO's</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsgengine.html">QSGEngine</a></p></td><td class="tblDescr"><p>Allows low level rendering of a scene graph</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsgflatcolormaterial.html">QSGFlatColorMaterial</a></p></td><td class="tblDescr"><p>Convenient way of rendering solid colored geometry in the scene graph</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsggeometry.html">QSGGeometry</a></p></td><td class="tblDescr"><p>Low-level storage for graphics primitives in the Qt Quick Scene Graph</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsggeometrynode.html">QSGGeometryNode</a></p></td><td class="tblDescr"><p>Used for all rendered content in the scene graph</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsgimagenode.html">QSGImageNode</a></p></td><td class="tblDescr"><p>Provided for convenience to easily draw textured content using the QML scene graph</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsgmaterial.html">QSGMaterial</a></p></td><td class="tblDescr"><p>Encapsulates rendering state for a shader program</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsgmaterialshader.html">QSGMaterialShader</a></p></td><td class="tblDescr"><p>Represents an OpenGL shader program in the renderer</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsgmaterialtype.html">QSGMaterialType</a></p></td><td class="tblDescr"><p>Used as a unique type token in combination with QSGMaterial</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsgnode.html">QSGNode</a></p></td><td class="tblDescr"><p>The base class for all nodes in the scene graph</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsgopacitynode.html">QSGOpacityNode</a></p></td><td class="tblDescr"><p>Used to change opacity of nodes</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsgopaquetexturematerial.html">QSGOpaqueTextureMaterial</a></p></td><td class="tblDescr"><p>Convenient way of rendering textured geometry in the scene graph</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsgrectanglenode.html">QSGRectangleNode</a></p></td><td class="tblDescr"><p>Convenience class for drawing solid filled rectangles using scenegraph</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsgrendernode.html">QSGRenderNode</a></p></td><td class="tblDescr"><p>Represents a set of custom rendering commands targeting the graphics API that is in use by the scenegraph</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsgrendererinterface.html">QSGRendererInterface</a></p></td><td class="tblDescr"><p>An interface providing access to some of the graphics API specific internals of the scenegraph</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsgsimplematerial.html">QSGSimpleMaterial</a></p></td><td class="tblDescr"><p>Template generated class used to store the state used with a QSGSimpleMateralShader</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsgsimplematerialshader.html">QSGSimpleMaterialShader</a></p></td><td class="tblDescr"><p>Convenient way of building custom OpenGL-based materials for the scene graph</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsgtexture.html">QSGTexture</a></p></td><td class="tblDescr"><p>Baseclass for textures used in the scene graph</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsgtexturematerial.html">QSGTextureMaterial</a></p></td><td class="tblDescr"><p>Convenient way of rendering textured geometry in the scene graph</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsgtextureprovider.html">QSGTextureProvider</a></p></td><td class="tblDescr"><p>Encapsulates texture based entities in QML</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsgtransformnode.html">QSGTransformNode</a></p></td><td class="tblDescr"><p>Implements transformations in the scene graph</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsgvertexcolormaterial.html">QSGVertexColorMaterial</a></p></td><td class="tblDescr"><p>Convenient way of rendering per-vertex colored geometry in the scene graph</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsgmaterialshader-renderstate.html">QSGMaterialShader::RenderState</a></p></td><td class="tblDescr"><p>QSGMaterialShader::RenderState encapsulates the current rendering state during a call to QSGMaterialShader::updateState()</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qquickframebufferobject-renderer.html">QQuickFramebufferObject::Renderer</a></p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsggeometry-texturedpoint2d.html">QSGGeometry::TexturedPoint2D</a></p></td><td class="tblDescr"><p>QSGGeometry::TexturedPoint2D struct is a convenience struct for accessing 2D Points with texture coordinates</p></td></tr> </table></div> <!-- $$$QtQuick-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 <QtQuick></span> </pre> <p>To link against the module, add this line to your qmake <code>.pro</code> file:</p> <pre class="cpp"> QT += quick </pre> <p>For more information on the Qt Quick module, see the <a href="qtquick-index.html">Qt Quick</a> module documentation.</p> </div> <!-- @@@QtQuick --> </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>