1 /****************************************************************************
3 ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
4 ** Contact: http://www.qt-project.org/
6 ** This file is part of the documentation of the Qt Toolkit.
8 ** $QT_BEGIN_LICENSE:FDL$
9 ** GNU Free Documentation License
10 ** Alternatively, this file may be used under the terms of the GNU Free
11 ** Documentation License version 1.3 as published by the Free Software
12 ** Foundation and appearing in the file included in the packaging of
16 ** Alternatively, this file may be used in accordance with the terms
17 ** and conditions contained in a signed written agreement between you
26 ****************************************************************************/
28 \page qtqml-documents-topic.html
30 \brief Description of QML documents
32 \section1 Structure Of A QML Document
34 A QML document consists of two parts: its imports, and its object
35 hierarchy definition. See the \l {qtqml-documents-structure.html}{Structure of a QML Document}
39 \section1 Documents as QML object type definitions
41 Any QML document can also define a QML object type.
44 \section2 Defining a component with a .qml file
47 \section2 Attributes exposed by components
51 \section1 Network Transparency
53 It is important to note that QML is network-transparent.
54 Applications can import documents from remote paths just as
55 simply as documents from local paths.
57 Please see the \l{qtqml-documents-networktransparency.html}
58 {Network Transparency} documentation for more information about network
59 transparency in imports.
61 \section1 Scope and Naming Resolution