qcustom3dlabel.html 21.5 KB
Newer Older
xuebingbing's avatar
xuebingbing committed
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qcustom3dlabel.cpp -->
  <title>QCustom3DLabel Class | Qt Data Visualization 5.11</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="../qtdoc/index.html">Qt 5.11</a></td><td ><a href="qtdatavisualization-index.html">Qt Data Visualization</a></td><td ><a href="qtdatavisualization-module.html">C++ Classes</a></td><td >QCustom3DLabel</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.11.2 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="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#signals">Signals</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">QCustom3DLabel Class</h1>
<!-- $$$QCustom3DLabel-brief -->
<p>The <a href="qcustom3dlabel.html">QCustom3DLabel</a> class adds a custom label to a graph. <a href="#details">More...</a></p>
<!-- @@@QCustom3DLabel -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QCustom3DLabel&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  QtDataVisualization 1.1</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qtdatavisualization-custom3dlabel.html">Custom3DLabel</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qcustom3ditem.html">QCustom3DItem</a></td></tr></table></div><ul>
<li><a href="qcustom3dlabel-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<div class="table"><table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><b><a href="qcustom3dlabel.html#backgroundColor-prop">backgroundColor</a></b> : QColor</li>
<li class="fn"><b><a href="qcustom3dlabel.html#backgroundEnabled-prop">backgroundEnabled</a></b> : bool</li>
<li class="fn"><b><a href="qcustom3dlabel.html#borderEnabled-prop">borderEnabled</a></b> : bool</li>
<li class="fn"><b><a href="qcustom3dlabel.html#facingCamera-prop">facingCamera</a></b> : bool</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qcustom3dlabel.html#font-prop">font</a></b> : QFont</li>
<li class="fn"><b><a href="qcustom3dlabel.html#text-prop">text</a></b> : QString</li>
<li class="fn"><b><a href="qcustom3dlabel.html#textColor-prop">textColor</a></b> : QColor</li>
</ul>
</td></tr>
</table></div>
<ul>
<li class="fn">9 properties inherited from <a href="qcustom3ditem.html#properties">QCustom3DItem</a></li>
<li class="fn">1 property inherited from <a href="../qtcore/qobject.html#properties">QObject</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#QCustom3DLabel">QCustom3DLabel</a></b>(QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#QCustom3DLabel-1">QCustom3DLabel</a></b>(const QString &amp;<i>text</i>, const QFont &amp;<i>font</i>, const QVector3D &amp;<i>position</i>, const QVector3D &amp;<i>scaling</i>, const QQuaternion &amp;<i>rotation</i>, QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#dtor.QCustom3DLabel">~QCustom3DLabel</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QColor </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#backgroundColor-prop">backgroundColor</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QFont </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#font-prop">font</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#backgroundEnabled-prop">isBackgroundEnabled</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#borderEnabled-prop">isBorderEnabled</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#facingCamera-prop">isFacingCamera</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#backgroundColor-prop">setBackgroundColor</a></b>(const QColor &amp;<i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#backgroundEnabled-prop">setBackgroundEnabled</a></b>(bool <i>enabled</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#borderEnabled-prop">setBorderEnabled</a></b>(bool <i>enabled</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#facingCamera-prop">setFacingCamera</a></b>(bool <i>enabled</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#font-prop">setFont</a></b>(const QFont &amp;<i>font</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#text-prop">setText</a></b>(const QString &amp;<i>text</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#textColor-prop">setTextColor</a></b>(const QColor &amp;<i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#text-prop">text</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QColor </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#textColor-prop">textColor</a></b>() const</td></tr>
</table></div>
<ul>
<li class="fn">20 public functions inherited from <a href="qcustom3ditem.html#public-functions">QCustom3DItem</a></li>
<li class="fn">34 public functions inherited from <a href="../qtcore/qobject.html#public-functions">QObject</a></li>
</ul>
<a name="signals"></a>
<h2 id="signals">Signals</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#backgroundColor-prop">backgroundColorChanged</a></b>(const QColor &amp;<i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#backgroundEnabled-prop">backgroundEnabledChanged</a></b>(bool <i>enabled</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#borderEnabled-prop">borderEnabledChanged</a></b>(bool <i>enabled</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#facingCamera-prop">facingCameraChanged</a></b>(bool <i>enabled</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#font-prop">fontChanged</a></b>(const QFont &amp;<i>font</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#text-prop">textChanged</a></b>(const QString &amp;<i>text</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcustom3dlabel.html#textColor-prop">textColorChanged</a></b>(const QColor &amp;<i>color</i>)</td></tr>
</table></div>
<ul>
<li class="fn">9 signals inherited from <a href="qcustom3ditem.html#signals">QCustom3DItem</a></li>
<li class="fn">2 signals inherited from <a href="../qtcore/qobject.html#signals">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 public slot inherited from <a href="../qtcore/qobject.html#public-slots">QObject</a></li>
<li class="fn">1 public variable inherited from <a href="../qtcore/qobject.html#public-variables">QObject</a></li>
<li class="fn">10 static public members inherited from <a href="../qtcore/qobject.html#static-public-members">QObject</a></li>
<li class="fn">9 protected functions inherited from <a href="../qtcore/qobject.html#protected-functions">QObject</a></li>
<li class="fn">2 protected variables inherited from <a href="../qtcore/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$QCustom3DLabel-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qcustom3dlabel.html">QCustom3DLabel</a> class adds a custom label to a graph.</p>
<p>The text, font, position, scaling, rotation, and colors of a custom label can be set. In addition, the visibility of the borders and background of the label can be toggled. Colors, borders, and background are determined by the active theme unless set explicitly.</p>
<p><b>Note: </b>In scaling, the z-coordinate has no effect. Setting the same x- and y-coordinates retains the original font dimensions.</p></div>
<p><b>See also </b><a href="qabstract3dgraph.html#addCustomItem">QAbstract3DGraph::addCustomItem</a>().</p>
<!-- @@@QCustom3DLabel -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$backgroundColor-prop$$$backgroundColor$$$setBackgroundColorconstQColor&$$$backgroundColorChangedconstQColor& -->
<h3 class="fn" id="backgroundColor-prop"><a name="backgroundColor-prop"></a><span class="name">backgroundColor</span> : <span class="type"><a href="../qtgui/qcolor.html">QColor</a></span></h3>
<p>This property holds the color for the label background, if enabled.</p>
<p>Defaults to <code>Qt::gray</code>.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QColor </td><td class="memItemRight bottomAlign"><span class="name"><b>backgroundColor</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setBackgroundColor</b></span>(const QColor &amp;<i>color</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>backgroundColorChanged</b></span>(const QColor &amp;<i>color</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qcustom3dlabel.html#backgroundEnabled-prop">backgroundEnabled</a>.</p>
<!-- @@@backgroundColor -->
<!-- $$$backgroundEnabled-prop$$$isBackgroundEnabled$$$setBackgroundEnabledbool$$$backgroundEnabledChangedbool -->
<h3 class="fn" id="backgroundEnabled-prop"><a name="backgroundEnabled-prop"></a><span class="name">backgroundEnabled</span> : <span class="type">bool</span></h3>
<p>This property holds whether the label background is enabled.</p>
<p>If set to <code>false</code>, <a href="qcustom3dlabel.html#backgroundColor-prop">backgroundColor</a>() has no effect. Defaults to <code>true</code>.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>isBackgroundEnabled</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setBackgroundEnabled</b></span>(bool <i>enabled</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>backgroundEnabledChanged</b></span>(bool <i>enabled</i>)</td></tr>
</table></div>
<!-- @@@backgroundEnabled -->
<!-- $$$borderEnabled-prop$$$isBorderEnabled$$$setBorderEnabledbool$$$borderEnabledChangedbool -->
<h3 class="fn" id="borderEnabled-prop"><a name="borderEnabled-prop"></a><span class="name">borderEnabled</span> : <span class="type">bool</span></h3>
<p>This property holds whether label borders are enabled.</p>
<p>Defaults to <code>true</code>.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>isBorderEnabled</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setBorderEnabled</b></span>(bool <i>enabled</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>borderEnabledChanged</b></span>(bool <i>enabled</i>)</td></tr>
</table></div>
<!-- @@@borderEnabled -->
<!-- $$$facingCamera-prop$$$isFacingCamera$$$setFacingCamerabool$$$facingCameraChangedbool -->
<h3 class="fn" id="facingCamera-prop"><a name="facingCamera-prop"></a><span class="name">facingCamera</span> : <span class="type">bool</span></h3>
<p>This property holds whether the label will always face the camera.</p>
<p>Defaults to <code>false</code>. If set to <code>true</code>, <a href="qcustom3ditem.html#rotation-prop">rotation</a>() has no effect.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>isFacingCamera</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setFacingCamera</b></span>(bool <i>enabled</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>facingCameraChanged</b></span>(bool <i>enabled</i>)</td></tr>
</table></div>
<!-- @@@facingCamera -->
<!-- $$$font-prop$$$font$$$setFontconstQFont&$$$fontChangedconstQFont& -->
<h3 class="fn" id="font-prop"><a name="font-prop"></a><span class="name">font</span> : <span class="type"><a href="../qtgui/qfont.html">QFont</a></span></h3>
<p>This property holds the font to be used for the label.</p>
<p>Defaults to <code>QFont(&quot;Arial&quot;, 20)</code>. Special formatting (for example, outlined) is not supported.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QFont </td><td class="memItemRight bottomAlign"><span class="name"><b>font</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setFont</b></span>(const QFont &amp;<i>font</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>fontChanged</b></span>(const QFont &amp;<i>font</i>)</td></tr>
</table></div>
<!-- @@@font -->
<!-- $$$text-prop$$$text$$$setTextconstQString&$$$textChangedconstQString& -->
<h3 class="fn" id="text-prop"><a name="text-prop"></a><span class="name">text</span> : <span class="type"><a href="../qtcore/qstring.html">QString</a></span></h3>
<p>This property holds the text for the label.</p>
<p>Rich text is not supported.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><span class="name"><b>text</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setText</b></span>(const QString &amp;<i>text</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>textChanged</b></span>(const QString &amp;<i>text</i>)</td></tr>
</table></div>
<!-- @@@text -->
<!-- $$$textColor-prop$$$textColor$$$setTextColorconstQColor&$$$textColorChangedconstQColor& -->
<h3 class="fn" id="textColor-prop"><a name="textColor-prop"></a><span class="name">textColor</span> : <span class="type"><a href="../qtgui/qcolor.html">QColor</a></span></h3>
<p>This property holds the color for the label text.</p>
<p>Also affects the label border, if enabled. Defaults to <code>Qt::white</code>.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QColor </td><td class="memItemRight bottomAlign"><span class="name"><b>textColor</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setTextColor</b></span>(const QColor &amp;<i>color</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>textColorChanged</b></span>(const QColor &amp;<i>color</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qcustom3dlabel.html#borderEnabled-prop">borderEnabled</a>.</p>
<!-- @@@textColor -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QCustom3DLabel[overload1]$$$QCustom3DLabelQObject* -->
<h3 class="fn" id="QCustom3DLabel"><a name="QCustom3DLabel"></a>QCustom3DLabel::<span class="name">QCustom3DLabel</span>(<span class="type"><a href="../qtcore/qobject.html#QObject">QObject</a></span> *<i>parent</i> = nullptr)</h3>
<p>Constructs a custom 3D label with the given <i>parent</i>.</p>
<!-- @@@QCustom3DLabel -->
<!-- $$$QCustom3DLabel$$$QCustom3DLabelconstQString&constQFont&constQVector3D&constQVector3D&constQQuaternion&QObject* -->
<h3 class="fn" id="QCustom3DLabel-1"><a name="QCustom3DLabel-1"></a>QCustom3DLabel::<span class="name">QCustom3DLabel</span>(const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i>text</i>, const <span class="type"><a href="../qtgui/qfont.html">QFont</a></span> &amp;<i>font</i>, const <span class="type"><a href="../qtgui/qvector3d.html">QVector3D</a></span> &amp;<i>position</i>, const <span class="type"><a href="../qtgui/qvector3d.html">QVector3D</a></span> &amp;<i>scaling</i>, const <span class="type"><a href="../qtgui/qquaternion.html">QQuaternion</a></span> &amp;<i>rotation</i>, <span class="type"><a href="../qtcore/qobject.html#QObject">QObject</a></span> *<i>parent</i> = nullptr)</h3>
<p>Constructs a custom 3D label with the given <i>text</i>, <i>font</i>, <i>position</i>, <i>scaling</i>, <i>rotation</i>, and optional <i>parent</i>.</p>
<p><b>Note: </b>Setting the same x- and y-coordinates for <i>scaling</i> retains the original font dimensions.</p><!-- @@@QCustom3DLabel -->
<!-- $$$~QCustom3DLabel[overload1]$$$~QCustom3DLabel -->
<h3 class="fn" id="dtor.QCustom3DLabel"><a name="dtor.QCustom3DLabel"></a><code>[virtual] </code>QCustom3DLabel::<span class="name">~QCustom3DLabel</span>()</h3>
<p>Deletes the custom 3D label.</p>
<!-- @@@~QCustom3DLabel -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2018 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>