aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/texteditor/texteditor.html
blob: 41705f85f0971f66e4aa8948966d40369b0ef0e5 (plain)
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
<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>
        <li><a href="https://doc.qt.io/qt-5/qml-qt-labs-platform-menu.html">Menu</a> - provides a QML API for native platform menu popups.</li>
        <li><a href="https://doc.qt.io/qt-5/qml-qt-labs-platform-menubar.html">MenuBar</a> - provides a QML API for native platform menubars.</li>
        <li><a href="https://doc.qt.io/qt-5/qml-qt-labs-platform-menuitem.html">MenuItem</a> - provides a QML API for native platform menu items.</li>
        <li><a href="https://doc.qt.io/qt-5/qml-qt-labs-platform-filedialog.html">FileDialog</a> - provides a QML API for native platform file dialogs.</li>
        <li><a href="https://doc.qt.io/qt-5/qml-qt-labs-platform-fontdialog.html">FontDialog</a> - provides a QML API for native platform font dialogs.</li>
        <li><a href="https://doc.qt.io/qt-5/qml-qt-labs-platform-colordialog.html">ColorDialog</a> - provides a QML API for native platform color dialogs.</li>
        <li><a href="https://doc.qt.io/qt-5/qml-qt-labs-platform-messagedialog.html">MessageDialog</a> - provides a QML API for native platform message dialogs.</li>
    </ul>
</body>
</html>