45 lines
2.1 KiB
HTML
45 lines
2.1 KiB
HTML
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
|
<meta name="qrichtext" content="1">
|
||
|
<title>Text Editor Example</title>
|
||
|
<style type="text/css">
|
||
|
p,
|
||
|
body, <!-- specifiying font-size for body seems to be necessary to avoid bullet points being incorrectly positioned -->
|
||
|
li {
|
||
|
white-space: pre-wrap;
|
||
|
font-size:11pt;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<p align="center">
|
||
|
<img src="qrc:/images/qt-logo.png" />
|
||
|
</p>
|
||
|
<h2 align="center">
|
||
|
Qt Quick Controls 2
|
||
|
</h2>
|
||
|
<p align="center">
|
||
|
This example demonstrates a modern rich text editor. The UI uses Qt Labs Platforms to provide native menus and dialogs.
|
||
|
</p>
|
||
|
<br />
|
||
|
<br />
|
||
|
<br />
|
||
|
|
||
|
<p>
|
||
|
Below you'll find a list of the native controls used in this application.
|
||
|
</p>
|
||
|
|
||
|
<ul>
|
||
|
<!-- TODO: update the links before the 5.8 release -->
|
||
|
<li><a href="http://doc-snapshots.qt.io/qt5-dev/qml-qt-labs-platform-menu.html">Menu</a> - provides a QML API for native platform menu popups.</li>
|
||
|
<li><a href="http://doc-snapshots.qt.io/qt5-dev/qml-qt-labs-platform-menubar.html">MenuBar</a> - provides a QML API for native platform menubars.</li>
|
||
|
<li><a href="http://doc-snapshots.qt.io/qt5-dev/qml-qt-labs-platform-menuitem.html">MenuItem</a> - provides a QML API for native platform menu items.</li>
|
||
|
<li><a href="http://doc-snapshots.qt.io/qt5-dev/qml-qt-labs-platform-filedialog.html">FileDialog</a> - provides a QML API for native platform file dialogs.</li>
|
||
|
<li><a href="http://doc-snapshots.qt.io/qt5-dev/qml-qt-labs-platform-fontdialog.html">FontDialog</a> - provides a QML API for native platform font dialogs.</li>
|
||
|
<li><a href="http://doc-snapshots.qt.io/qt5-dev/qml-qt-labs-platform-colordialog.html">ColorDialog</a> - provides a QML API for native platform color dialogs.</li>
|
||
|
<li><a href="http://doc-snapshots.qt.io/qt5-dev/qml-qt-labs-platform-messagedialog.html">MessageDialog</a> - provides a QML API for native platform message dialogs.</li>
|
||
|
</ul>
|
||
|
</body>
|
||
|
</html>
|