/usr/share/qt5/doc/qtquickcontrols2/qtquickcontrols2-differences.html is in qtquickcontrols2-5-doc-html 5.9.5-0ubuntu2.
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 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 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qtquickcontrols2-differences.qdoc -->
<title>Differences between Qt Quick Controls | Qt Quick Controls 2 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 >Qt 5.9</td><td ><a href="qtquickcontrols2-index.html">Qt Quick Controls 2</a></td><td >Differences between Qt Quick Controls</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.5 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="level2"><a href="#c-and-qml">C++ and QML</a></li>
<li class="level2"><a href="#styles">Styles</a></li>
<li class="level2"><a href="#modularity-and-simplicity">Modularity and Simplicity</a></li>
<li class="level2"><a href="#feature-comparison-table">Feature Comparison Table</a></li>
<li class="level2"><a href="#porting-qt-quick-controls-code">Porting Qt Quick Controls Code</a></li>
<li class="level2"><a href="#type-comparison-table">Type Comparison Table</a></li>
<li class="level1"><a href="#related-information">Related Information</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Differences between Qt Quick Controls</h1>
<span class="subtitle"></span>
<!-- $$$qtquickcontrols2-differences.html-description -->
<div class="descr"> <a name="details"></a>
<p>Qt Quick Controls were originally developed to support desktop platforms, with mobile and embedded support coming shortly afterwards. They have a very broad scope, in that they provide a styling system flexible enough to allow the development of applications that have either a platform-dependent or platform-independent style.</p>
<p>On embedded systems, where the hardware has limited resources, this approach can be inefficient. Qt Quick Controls 2 were designed to solve this problem, using <a href="https://blog.qt.io/blog/2015/03/31/qt-quick-controls-for-embedded/">benchmarks</a> to guide the development.</p>
<a name="c-and-qml"></a>
<h3 >C++ and QML</h3>
<p>In many cases, the internal state of a control can be more efficiently processed in C++. For example, handling input events in C++ makes a difference for controls that would otherwise need to create internal MouseAreas and attached Keys objects.</p>
<a name="styles"></a>
<h3 >Styles</h3>
<p>Not only does handling events and logic in C++ increase performance, but it allows the visual QML layer to be a simple, declarative layer on top. This is reflected in the structure of the controls project: all visual implementations sit in the <i>imports</i> folder, so that users who want to create their own complete style can copy the folder and start tweaking. Read more about implementing a style plugin <a href="qtquickcontrols2-customize.html#creating-a-custom-style">here</a>.</p>
<p>In Qt Quick Controls 2, styles no longer provide components that are dynamically instantiated by controls, but controls themselves consist of item delegates that can be replaced. In effect, this means that delegates are Qt Quick items that are instantiated on the spot, as properties of the control, and are simply parented to the control.</p>
<a name="modularity-and-simplicity"></a>
<h3 >Modularity and Simplicity</h3>
<p>When it comes to more complex controls, it is sometimes better to split them up into separate building blocks. As an example, the complex <a href="qml-qtquick-controls2-scrollview.html">ScrollView</a> control:</p>
<pre class="qml">
<span class="type"><a href="qml-qtquick-controls2-scrollview.html">ScrollView</a></span> {
<span class="name">horizontalScrollBarPolicy</span>: <span class="name">Qt</span>.<span class="name">ScrollBarAlwaysOff</span>
<span class="type"><a href="../qtquick/qml-qtquick-flickable.html">Flickable</a></span> {
<span class="comment">// ...</span>
}
}
</pre>
<p>Is replaced with simple <a href="qml-qtquick-controls2-scrollbar.html">ScrollBar</a>/<a href="qml-qtquick-controls2-scrollindicator.html">ScrollIndicator</a> controls that can be attached to any Flickable:</p>
<pre class="qml">
<span class="type"><a href="../qtquick/qml-qtquick-flickable.html">Flickable</a></span> {
<span class="comment">// ...</span>
<span class="name">ScrollBar</span>.vertical: <span class="name">ScrollBar</span> { }
}
</pre>
<p>The API of Qt Quick Controls 2 aims to be clean and simple. Common operations are easy, and more advanced ones are liberally documented with snippets that can be copied into your code.</p>
<a name="feature-comparison-table"></a>
<h3 >Feature Comparison Table</h3>
<div class="table"><table class="generic">
<thead><tr class="qt-style"><th ></th><th >Qt Quick Controls</th><th >Qt Quick Controls 2</th></tr></thead>
<tr valign="top" class="odd"><td >Stylable delegates</td><td >Yes</td><td >Yes</td></tr>
<tr valign="top" class="even"><td >Pre-built native styles</td><td >Yes</td><td >No</td></tr>
<tr valign="top" class="odd"><td >Runtime style/theme changes</td><td >Yes <sup>1</sup></td><td >Yes <sup>2</sup></td></tr>
<tr valign="top" class="even"><td >Can be used on Desktop</td><td >Yes</td><td >Yes</td></tr>
<tr valign="top" class="odd"><td >Can be used on Mobile</td><td >Yes <sup>3</sup></td><td >Yes</td></tr>
<tr valign="top" class="even"><td >Can be used on Embedded</td><td >Yes <sup>3</sup></td><td >Yes</td></tr>
<tr valign="top" class="odd"><td >Internal event handling</td><td >QML</td><td >C++</td></tr>
</table></div>
<ol class="1" type="1"><li>Not officially supported, but technically possible via private APIs</li>
<li>Only themes for specific styles can be changed at runtime, styles are fixed</li>
<li>Performance may not be optimal</li>
</ol>
<a name="porting-qt-quick-controls-code"></a>
<h3 >Porting Qt Quick Controls Code</h3>
<p>The API of Qt Quick Controls 2 is very similar to Qt Quick Controls, but it does come with some changes necessary to facilitate the improvements. The majority of changes are to do with styling; all of a control's delegates are now accessible in the control itself, instead of in a separate style object.</p>
<p>For example, to style a button in Qt Quick Controls:</p>
<pre class="cpp plain">
Button {
style: ButtonStyle {
label: Label {
// ...
}
}
}
</pre>
<p>To style a button in Qt Quick Controls 2:</p>
<pre class="qml">
<span class="type"><a href="qml-qtquick-controls2-button.html">Button</a></span> {
<span class="name">contentItem</span>: <span class="name">Label</span> {
<span class="comment">// ...</span>
}
}
</pre>
<a name="preparing-for-migration"></a>
<h4 >Preparing for Migration</h4>
<p>With this in mind, a good way to prepare for a migration to Qt Quick Controls 2 is to place each control that you have a custom style for in its own QML file. For example, the Qt Quick Controls button above could be moved to a file named <code>Button.qml</code> in a directory named <code>controls</code>, and used in the following manner:</p>
<pre class="cpp plain">
import "controls" as Controls
Controls.Button {
...
}
</pre>
<p>This works with both modules, and will reduce the amount of work needed when the migration begins.</p>
<a name="type-comparison-table"></a>
<h3 >Type Comparison Table</h3>
<p>The first column lists all types available in Qt Quick Controls 1, Qt Quick Dialogs, and Qt Quick Extras. The second column documents the respective type in Qt Quick Controls 2. When a direct alternative is not available, the third column contains an alternative that provides related functionality. The last column contains some remarks about the differences between the types in the different modules.</p>
<div class="table"><table class="generic">
<thead><tr class="qt-style"><th >Qt Quick Controls 1</th><th >Qt Quick Controls 2</th><th >Alternatives</th><th >Remarks</th></tr></thead>
<tr valign="top" class="odd"><td >Action</td><td >—</td><td ><a href="../qtquick/qml-qtquick-shortcut.html">Shortcut</a> <br />
<sup>(Qt Quick)</sup></td><td ><ul>
<li><b>Qt Quick Controls 1</b>: <code>Action</code> is an abstract user interface action that is bound to buttons and menu items, and can provide shortcuts.</li>
<li><b>Qt Quick</b>: <code>Shortcut</code> provides the shortcut functionality that was previously only provided by <code>Action</code>.</li>
</ul>
</td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a></td><td ><a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td ><a href="qml-qtquick-controls2-busyindicator.html">BusyIndicator</a></td><td ><a href="qml-qtquick-controls2-busyindicator.html">BusyIndicator</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtquick-controls2-button.html">Button</a></td><td ><a href="qml-qtquick-controls2-button.html">Button</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td >Calendar</td><td >—</td><td >MonthGrid,<br />
DayOfWeekRow,<br />
WeekNumberColumn <br />
<sup>(Qt Labs Calendar)</sup></td><td ><ul>
<li><b>Qt Labs Calendar</b>: <code>MonthGrid</code>, <code>DayOfWeek</code>, and <code>WeekNumberColumn</code> are <i>experimental</i> unstyled building blocks for calendar views.</li>
</ul>
</td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtquick-controls2-checkbox.html">CheckBox</a></td><td ><a href="qml-qtquick-controls2-checkbox.html">CheckBox</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td ><a href="qml-qtquick-controls2-combobox.html">ComboBox</a></td><td ><a href="qml-qtquick-controls2-combobox.html">ComboBox</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td >ExclusiveGroup</td><td >—</td><td ><a href="qml-qtquick-controls2-buttongroup.html">ButtonGroup</a> <br />
<sup>(Qt Quick Controls 2)</sup></td><td ><ul>
<li><b>Qt Quick Controls 2</b>: <code>ButtonGroup</code> offers similar functionality.</li>
</ul>
</td></tr>
<tr valign="top" class="odd"><td ><a href="qml-qtquick-controls2-groupbox.html">GroupBox</a></td><td ><a href="qml-qtquick-controls2-groupbox.html">GroupBox</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtquick-controls2-label.html">Label</a></td><td ><a href="qml-qtquick-controls2-label.html">Label</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td ><a href="qml-qtquick-controls2-menu.html">Menu</a></td><td ><a href="qml-qtquick-controls2-menu.html">Menu</a></td><td ><a href="qml-qtquick-controls2-menu.html">Menu</a> <br />
<sup>(Qt Labs Platform)</sup></td><td ><ul>
<li><b>Qt Quick Controls 1</b>: <code>Menu</code> is native on platforms where an implementation is available in the Qt Platform Abstraction Layer. Other platforms use a QML-based top-level menu popup window. <code>Menu</code> supports traditional desktop style cascading submenus, but does not work on Embedded Linux because EGLFS does not support multiple top-level windows.</li>
<li><b>Qt Quick Controls 2</b>: <code>Menu</code> is a non-native <code>Item-based</code> popup that is stacked above the application content. Due to this, menu popups are restricted within window boundaries. <code>Menu</code> is fully customizable using QML and Qt Quick, and allows adding any <code>Items</code>. Traditional desktop oriented features, such as cascading submenus and visualizing keyboard shortcuts are missing.</li>
<li><b>Qt Labs Platform</b>: <code>Menu</code> is an <i>experimental</i> native menu that uses Qt Widgets as a fallback on platforms where a native implementation is not available in the Qt Platform Abstraction Layer.</li>
</ul>
</td></tr>
<tr valign="top" class="even"><td >MenuBar</td><td >—</td><td >MenuBar <br />
<sup>(Qt Labs Platform)</sup></td><td ><ul>
<li><b>Qt Quick Controls 1</b>: <code>MenuBar</code> is native on platforms where an implementation is available in the Qt Platform Abstraction Layer. Other platforms use a QML-based menubar item stacked at the top of the window.</li>
<li><b>Qt Labs Platform</b>: <code>MenuBar</code> is an <i>experimental</i> native menubar. It is only available on platforms where a native implementation is available in the Qt Platform Abstraction Layer.</li>
</ul>
</td></tr>
<tr valign="top" class="odd"><td ><a href="qml-qtquick-controls2-menuitem.html">MenuItem</a>,<br />
<a href="qml-qtquick-controls2-menuseparator.html">MenuSeparator</a></td><td ><a href="qml-qtquick-controls2-menuitem.html">MenuItem</a>,<br />
<a href="qml-qtquick-controls2-menuseparator.html">MenuSeparator</a></td><td ><a href="qml-qtquick-controls2-menuitem.html">MenuItem</a>,<br />
<a href="qml-qtquick-controls2-menuseparator.html">MenuSeparator</a> <br />
<sup>(Qt Labs Platform)</sup></td><td ><ul>
<li><b>Qt Quick Controls 1</b>: <code>MenuItem</code> and <code>MenuSeparator</code> are native on platforms where an implementation is available in the Qt Platform Abstraction Layer. Other platforms use QML-based menu items and separators.</li>
<li><b>Qt Quick Controls 2</b>: <code>MenuItem</code> and <code>MenuSeparator</code> are a non-native QML-based menu items and separators that can be fully customized using QML and Qt Quick.</li>
<li><b>Qt Labs Platform</b>: <code>MenuItem</code> and <code>MenuSeparator</code> are <i>experimental</i> native menu items and separators.</li>
</ul>
</td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtquick-controls2-progressbar.html">ProgressBar</a></td><td ><a href="qml-qtquick-controls2-progressbar.html">ProgressBar</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td ><a href="qml-qtquick-controls2-radiobutton.html">RadioButton</a></td><td ><a href="qml-qtquick-controls2-radiobutton.html">RadioButton</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtquick-controls2-scrollview.html">ScrollView</a></td><td ><a href="qml-qtquick-controls2-scrollview.html">ScrollView</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td ><a href="qml-qtquick-controls2-slider.html">Slider</a></td><td ><a href="qml-qtquick-controls2-slider.html">Slider</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtquick-controls2-spinbox.html">SpinBox</a></td><td ><a href="qml-qtquick-controls2-spinbox.html">SpinBox</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td >SplitView</td><td >—</td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtquick-controls2-stackview.html">StackView</a>,<br />
StackViewDelegate,<br />
Stack</td><td ><a href="qml-qtquick-controls2-stackview.html">StackView</a></td><td ></td><td ><ul>
<li><b>Qt Quick Controls 2</b>: <code>StackView</code> provides customizable transitions and attached properties via a single <code>StackView</code> type.</li>
</ul>
</td></tr>
<tr valign="top" class="odd"><td >StatusBar</td><td >—</td><td ><a href="qml-qtquick-controls2-toolbar.html">ToolBar</a> <br />
<sup>(Qt Quick Controls 2)</sup></td><td ><ul>
<li><b>Qt Quick Controls 2</b>: <code>ApplicationWindow</code> allows assigning any item or control, such as <code>ToolBar</code>, as a header or footer.</li>
</ul>
</td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtquick-controls2-switch.html">Switch</a></td><td ><a href="qml-qtquick-controls2-switch.html">Switch</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td >TabView,<br />
Tab</td><td >—</td><td ><a href="qml-qtquick-controls2-tabbar.html">TabBar</a>,<br />
<a href="qml-qtquick-controls2-tabbutton.html">TabButton</a> <br />
<sup>(Qt Quick Controls 2)</sup></td><td ><ul>
<li><b>Qt Quick Controls 2</b>: <code>TabBar</code> and <code>TabButton</code> offer similar functionality, and can be used to build tabbed views.</li>
</ul>
</td></tr>
<tr valign="top" class="even"><td >TableView</td><td >—</td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td ><a href="qml-qtquick-controls2-textarea.html">TextArea</a></td><td ><a href="qml-qtquick-controls2-textarea.html">TextArea</a></td><td ></td><td ><ul>
<li><b>Qt Quick Controls 1</b>: <code>TextArea</code> inherits <code>ScrollView</code> and is therefore always a scrollable editor.</li>
<li><b>Qt Quick Controls 2</b>: <code>TextArea</code> is a simpler multi-line editor that can be optionally attached to a <code>Flickable</code> to provide scrolling functionality. This allows using <code>TextArea</code> in a scrollable page without having two nested scrollable areas, which can be problematic and cause usability issues.</li>
</ul>
</td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtquick-controls2-textfield.html">TextField</a></td><td ><a href="qml-qtquick-controls2-textfield.html">TextField</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td ><a href="qml-qtquick-controls2-toolbar.html">ToolBar</a></td><td ><a href="qml-qtquick-controls2-toolbar.html">ToolBar</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtquick-controls2-toolbutton.html">ToolButton</a></td><td ><a href="qml-qtquick-controls2-toolbutton.html">ToolButton</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td >TreeView</td><td >—</td><td ></td><td ></td></tr>
<thead><tr class="qt-style"><th >Qt Quick Dialogs</th><th >Qt Quick Controls 2</th><th >Alternatives</th><th >Remarks</th></tr></thead>
<tr valign="top" class="even"><td ><a href="qml-qtquick-controls2-dialog.html">Dialog</a></td><td >—</td><td ><a href="qml-qtquick-controls2-dialog.html">Dialog</a></td><td ><ul>
<li><b>Qt Quick Dialogs</b>: <code>Dialog</code> is either a top-level window or an <code>Item-based</code> popup depending on whether the underlying platform supports multiple top-level windows.</li>
<li><b>Qt Quick Controls 2</b>: <code>Dialog</code> is not a top-level window, but an <code>Item-based</code> popup that is stacked above the application content. Due to this, dialogs are restricted within window boundaries.</li>
</ul>
</td></tr>
<tr valign="top" class="odd"><td >ColorDialog,<br />
FileDialog,<br />
FontDialog,<br />
MessageDialog</td><td >—</td><td >ColorDialog,<br />
FileDialog,<br />
FolderDialog,<br />
FontDialog,<br />
MessageDialog <br />
<sup>(Qt Labs Platform)</sup></td><td ><ul>
<li><b>Qt Quick Dialogs</b>: Dialogs are native on platforms where an implementation is available in the Qt Platform Abstraction Layer. Other platforms use either Qt Widgets or QML-based dialogs depending on whether the underlying platform supports multiple top-level windows.</li>
<li><b>Qt Labs Platform</b>: <i>Experimental</i> native dialogs that use Qt Widgets as a fallback on platforms where a native implementation is not available in the Qt Platform Abstraction Layer.</li>
</ul>
</td></tr>
<thead><tr class="qt-style"><th >Qt Quick Extras</th><th >Qt Quick Controls 2</th><th >Alternatives</th><th >Remarks</th></tr></thead>
<tr valign="top" class="even"><td >CircularGauge</td><td >—</td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td ><a href="qml-qtquick-controls2-delaybutton.html">DelayButton</a></td><td ><a href="qml-qtquick-controls2-delaybutton.html">DelayButton</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtquick-controls2-dial.html">Dial</a></td><td ><a href="qml-qtquick-controls2-dial.html">Dial</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td >Gauge</td><td >—</td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td >Picture</td><td >—</td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td >PieMenu</td><td >—</td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td >StatusIndicator</td><td >—</td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td >ToggleButton</td><td >—</td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtquick-controls2-tumbler.html">Tumbler</a>,<br />
TumblerColumn</td><td ><a href="qml-qtquick-controls2-tumbler.html">Tumbler</a></td><td ></td><td ><ul>
<li><b>Qt Quick Extras</b>: <code>Tumbler</code> can consist of multiple columns.</li>
<li><b>Qt Quick Controls 2</b>: <code>Tumbler</code> presents a single spinnable wheel. Multiple columns can be created by placing multiple <code>Tumblers</code> next to each other.</li>
</ul>
</td></tr>
<thead><tr class="qt-style"><th >No Predecessor</th><th >Qt Quick Controls 2</th><th >Alternatives</th><th >Remarks</th></tr></thead>
<tr valign="top" class="odd"><td >—</td><td ><a href="qml-qtquick-controls2-abstractbutton.html">AbstractButton</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td >—</td><td ><a href="qml-qtquick-controls2-buttongroup.html">ButtonGroup</a></td><td >ExclusiveGroup <br />
<sup>(Qt Quick Controls 1)</sup></td><td ><ul>
<li><b>Qt Quick Controls 1</b>: <code>ExclusiveGroup</code> offers similar functionality.</li>
</ul>
</td></tr>
<tr valign="top" class="odd"><td >—</td><td ><a href="qml-qtquick-controls2-checkdelegate.html">CheckDelegate</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td >—</td><td ><a href="qml-qtquick-controls2-container.html">Container</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td >—</td><td ><a href="qml-qtquick-controls2-control.html">Control</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td >—</td><td ><a href="qml-qtquick-controls2-drawer.html">Drawer</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td >—</td><td ><a href="qml-qtquick-controls2-frame.html">Frame</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td >—</td><td ><a href="qml-qtquick-controls2-itemdelegate.html">ItemDelegate</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td >—</td><td ><a href="qml-qtquick-controls2-page.html">Page</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td >—</td><td ><a href="qml-qtquick-controls2-pageindicator.html">PageIndicator</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td >—</td><td ><a href="qml-qtquick-controls2-pane.html">Pane</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td >—</td><td ><a href="qml-qtquick-controls2-popup.html">Popup</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td >—</td><td ><a href="qml-qtquick-controls2-radiodelegate.html">RadioDelegate</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td >—</td><td ><a href="qml-qtquick-controls2-rangeslider.html">RangeSlider</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td >—</td><td ><a href="qml-qtquick-controls2-roundbutton.html">RoundButton</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td >—</td><td ><a href="qml-qtquick-controls2-scrollbar.html">ScrollBar</a>,<br />
<a href="qml-qtquick-controls2-scrollindicator.html">ScrollIndicator</a></td><td ><a href="qml-qtquick-controls2-scrollview.html">ScrollView</a> <br />
<sup>(Qt Quick Controls 1)</sup></td><td ><ul>
<li><b>Qt Quick Controls 1</b>: <code>ScrollView</code> offers similar functionality. It combines horizontal and vertical scrollbars, and the background and frame around the scrollable view.</li>
</ul>
</td></tr>
<tr valign="top" class="odd"><td >—</td><td >—</td><td >StandardPaths <br />
<sup>(Qt Labs Platform)</sup></td><td ><ul>
<li><b>Qt Quick Dialogs</b>: <code>FileDialog</code> offers a shortcut property that can be used to access the most common standard paths.</li>
<li><b>Qt Labs Platform</b>: <code>StandardPaths</code> offers a separate type to give full access to the standard paths.</li>
</ul>
</td></tr>
<tr valign="top" class="even"><td >—</td><td ><a href="qml-qtquick-controls2-swipedelegate.html">SwipeDelegate</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td >—</td><td ><a href="qml-qtquick-controls2-swipeview.html">SwipeView</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td >—</td><td ><a href="qml-qtquick-controls2-switchdelegate.html">SwitchDelegate</a></td><td ></td><td ></td></tr>
<tr valign="top" class="odd"><td >—</td><td >—</td><td >SystemTrayIcon <br />
<sup>(Qt Labs Platform)</sup></td><td ><ul>
<li><b>Qt Labs Platform</b>: <code>SystemTrayIcon</code> is an <i>experimental</i> native system tray icon that uses Qt Widgets as a fallback on platforms where a native implementation is not available in the Qt Platform Abstraction Layer.</li>
</ul>
</td></tr>
<tr valign="top" class="even"><td >—</td><td ><a href="qml-qtquick-controls2-tabbar.html">TabBar</a>,<br />
<a href="qml-qtquick-controls2-tabbutton.html">TabButton</a></td><td >TabView <br />
<sup>(Qt Quick Controls 1)</sup></td><td ><ul>
<li><b>Qt Quick Controls 1</b>: <code>TabView</code> offers similar functionality. It combines the tab bar, background and frame around the tabs.</li>
</ul>
</td></tr>
<tr valign="top" class="odd"><td >—</td><td ><a href="qml-qtquick-controls2-toolseparator.html">ToolSeparator</a></td><td ></td><td ></td></tr>
<tr valign="top" class="even"><td >—</td><td ><a href="qml-qtquick-controls2-tooltip.html">ToolTip</a></td><td ></td><td ><ul>
<li><b>Qt Quick Controls 1</b>: <code>Button</code> and <code>Action</code> have built-in Qt Widgets-based tooltips.</li>
<li><b>Qt Quick Controls 2</b>: <code>ToolTip</code> can be attached to any <code>Item</code>.</li>
</ul>
</td></tr>
</table></div>
<a name="related-information"></a>
<h2 id="related-information">Related Information</h2>
<ul>
<li><a href="../qtquick/qtquick-index.html">Qt Quick</a></li>
<li><a href="qtquick-controls2-qmlmodule.html">Qt Quick Controls 2 QML Types</a></li>
<li>Qt Quick Controls QML Types</li>
<li>Qt Quick Extras QML Types</li>
<li>Qt Labs Calendar QML Types</li>
<li>Qt Labs Platform QML Types</li>
</ul>
</div>
<!-- @@@qtquickcontrols2-differences.html -->
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</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>
|