From efca42358f171beb5889d76127f593724039fc9f Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Tue, 28 Oct 2014 14:41:13 +0100 Subject: Doc: Qt Quick Designer UI forms Since Qt Creator 3.3 and Qt 5.4, Qt Quick Designer handles .ui.qml files that are similar to the .ui files of Qt Designer. Change-Id: I147e82a111ca7d3b806c4c6c94cc73b35a67785b Reviewed-by: Thomas Hartmann Reviewed-by: Tim Jenssen --- src/qml/doc/src/qmllanguageref/documents/topic.qdoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/qml/doc/src/qmllanguageref/documents/topic.qdoc b/src/qml/doc/src/qmllanguageref/documents/topic.qdoc index aed89f6423..aa13229165 100644 --- a/src/qml/doc/src/qmllanguageref/documents/topic.qdoc +++ b/src/qml/doc/src/qmllanguageref/documents/topic.qdoc @@ -42,6 +42,12 @@ The ability to define re-usable QML object types in documents is an important enabler to allow clients to write modular, highly readable and maintainable code. +Since Qt 5.4, a document can also have the file extension \c ".ui.qml". The QML +engine handles these files like standard .qml files and ignores the \c .ui part +of the extension. Qt Creator handles those files as +\l{Qt Creator: Qt Quick UI Forms}{UI forms} for the Qt Quick Designer. The files +can contain only a subset of the QML language that is defined by Qt Creator. + \section1 Structure of a QML Document A QML document consists of two sections: the imports section, and the object -- cgit v1.2.3