Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / doc / src / declarative / qmlwebkit.qdoc
1 /****************************************************************************
2 **
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 ** All rights reserved.
5 ** Contact: Nokia Corporation (qt-info@nokia.com)
6 **
7 ** This file is part of the documentation of the Qt Toolkit.
8 **
9 ** $QT_BEGIN_LICENSE:FDL$
10 ** No Commercial Usage
11 ** This file contains pre-release code and may not be distributed.
12 ** You may use this file in accordance with the terms and conditions
13 ** contained in the Technology Preview License Agreement accompanying
14 ** this package.
15 **
16 ** GNU Free Documentation License
17 ** Alternatively, this file may be used under the terms of the GNU Free
18 ** Documentation License version 1.3 as published by the Free Software
19 ** Foundation and appearing in the file included in the packaging of this
20 ** file.
21 **
22 ** If you have questions regarding the use of this file, please contact
23 ** Nokia at qt-info@nokia.com.
24 ** $QT_END_LICENSE$
25 **
26 ****************************************************************************/
27
28 /*!
29 \page qmlwebkit.html
30
31 \title QtWebKit QML Module
32
33 Qt WebKit QML
34
35 \section1 WebKit QML Elements
36 \list
37 \o \l WebView
38 \endlist
39
40 \section1 QtWebKit Module
41 The QtWebKit Module has a QML element, \l{WebView} for displaying web content
42 from a \c URL.
43
44 Import the QtWebKit module before declaring a \c WebView element:
45 \snippet doc/src/snippets/declarative/webview/webview.qml import
46
47 \section1 Simple Usage
48 \snippet doc/src/snippets/declarative/webview/webview.qml document
49 \image webview.png
50
51 \sa {Models and Views: WebView Example}{WebView Example}, {QML Web Browser}
52 */