summaryrefslogtreecommitdiffstats
path: root/basicsuite/qtwebbrowser/tqtc-qtwebbrowser/doc/src/qtwebbrowser.qdoc
blob: 08496a05f9d5793dc3a98c54bf29188e351ae207 (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
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
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the documentation of the Qt WebBrowser application.
**
** $QT_BEGIN_LICENSE:FDL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU Free Documentation License Usage
** Alternatively, this file may be used under the terms of the GNU Free
** Documentation License version 1.3 as published by the Free Software
** Foundation and appearing in the file included in the packaging of
** this file. Please review the following information to ensure
** the GNU Free Documentation License version 1.3 requirements
** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
** $QT_END_LICENSE$
**
****************************************************************************/

/*!
\page qtwebbrowser-index.html

\title Qt WebBrowser

The Qt WebBrowser (codename \c{Roadtrip}) is a browser for embedded
devices developed using the capabilities of Qt and \l{Qt WebEngine}.
Using recent \l{Chromium Project}{Chromium}, it features up-to-date
HTML technologies behind a minimal but slick touch-friendly
user interface written in \l{Qt Quick}.

\image webbrowser.png

\section1 User Interface

The user interface of the browser is designed for embedded devices
using a touch screen. It uses flat icons and minimalistic transitions to
provide a contemporary look and feel.

All central actions are conveniently accessible in the menu bar at the
top. When the user scrolls down a page, the menu bar disappears to
leave more screen space for content. It appears again if
the user scrolls upwards.

\image menubar.png

The \uicontrol Back button (1) and \uicontrol Forward button (2) navigate
through the history of pages already visited.
The input bar (3) allows the user to type and edit URL's,
or search for text. It also allows to reload a page, or stop a page currently
loading.
Pages can be bookmarked with the \uicontrol Bookmark button (6),
the bookmarked pages are accessible through the \uicontrol Home button (4).
The \uicontrol Pages button (5) allows the user to manage the pages
currently opened. The \uicontrol Settings button (7) brings up a view of
the current settings.

\section2 Opening Pages

The input bar supports typing in either a full URL or a query
that is automatically passed to \l{Google}. Url suggestions of visited pages
matching the text are suggested during typing. The current text can be
cleared by pressing the \uicontrol Cancel button on the right.

\image inputhelp.png

When the user finishes editing, a blue line serves as a progress indicator
for the page currently loading. The loading can be stopped by pressing
the \uicontrol Cancel button. After the page finished loading
this button is replaced by a \uicontrol Reload button, that forces a reload
of the page when pressed.

\section2 Page Scrolling

The view of the page can be moved around by pressing and moving a finger.

\section2 Page Zooming

Zoom in or out a particular section of the page by pinching fingers.

\section2 Bookmark Management

Individual pages can be bookmarked by pressing the \uicontrol Bookmark
button. By pressing the same button again the page is removed from the
bookmarks.

The \uicontrol Home button lets the user browse the bookmarked pages
in a multi-page grid. Each page is represented by its name and icon,
if available.

\image bookmarks.png

\section2 Page Management

The \uicontrol Pages button enables the user to open new pages and to
switch between them using the Carousel UI pattern:

\image pageselection.png

The number of pages that can be opened simultaneously is intentionally
limited to 10.

\section2 User Settings

A settings page is available by pressing the \uicontrol Settings button.
The page contains options for enabling a \e {private browsing} mode
that does not leave traces in the history and cookies.

\image settings.png

\section2 Virtual Keyboard

The integrated \l{Qt Virtual Keyboard}
slides in whenever text input is required. It enables typing text in a
great variety of different languages.

\image virtualkeyboard.png

\section1 Features

Qt WebEngine leverages \l{Chromium Project}{Chromium} to provide
a state-of-the art, high performance HTML5 web engine.

\image html5test.png

\section2 Video and Audio

Chromium and therefore Qt WebEngine directly
integrate with OS services to access video and audio devices.
After the user acknowledges access to them, solutions using WebRTC, such as
video and audio conferencing, work out-of-the-box, provided that the
required codecs are available.

\section2 Location Information

Qt WebEngine uses \l {Qt Location} to provide pages with location
information. Again, the users have to explicitly give their consent to each
page attempting to access this information.

\section2 Fullscreen Mode

Videos can be played in fullscreen mode.

\section1 Developer Features

\section2 Developer Tools

Qt WebEngine supports remotely accessing the built-in Chromium Developer
Tools. This allows debugging and optimizing individual pages on the device.

For more information, see the \l{Qt WebEngine} documentation on
\l{Qt WebEngine Debugging and Profiling}{Debugging and Profiling}.

\section2 Simulation of Touch Input

While the Qt WebBrowser is optimized for touch devices,
it can also be tested on all the desktop operating systems.
Keyboard and mouse input works out of the box. Touch input
can be simulated by using several mouse buttons
while pressing the \c Ctrl key.

\section1 Platform Requirements

Qt WebBrowser requires the \l{Qt WebEngine},
\l{Qt Quick} and
\l{Qt Virtual Keyboard} modules in version 5.7 or
newer.

\image block-diagram.png

At minimum 1 GB of RAM is advised to provide a seamless experience
for different pages. Depending on the exact configuration and the
pages visited this can be further optimized.

Qt Quick and Qt WebEngine use OpenGL for rendering. Best performance
therefore requires dedicated graphics hardware with drivers supporting
OpenGL.
*/