diff options
author | Jerome Pasion <jerome.pasion@nokia.com> | 2011-02-21 15:23:40 (GMT) |
---|---|---|
committer | Jerome Pasion <jerome.pasion@nokia.com> | 2011-02-21 15:23:40 (GMT) |
commit | 6a4281ecc6fe4b4f260a5ff6342de1a766c4f391 (patch) | |
tree | 4cac23cce960ea0c14f2f309d37a10a3b97ebf28 /doc/src/howtos | |
parent | 6bc32422044bf956d57301c934d5e90ebc977b22 (diff) | |
download | Qt-6a4281ecc6fe4b4f260a5ff6342de1a766c4f391.zip Qt-6a4281ecc6fe4b4f260a5ff6342de1a766c4f391.tar.gz Qt-6a4281ecc6fe4b4f260a5ff6342de1a766c4f391.tar.bz2 |
Doc: Added FDL license information.
Diffstat (limited to 'doc/src/howtos')
-rw-r--r-- | doc/src/howtos/scalabilityintro.qdoc | 41 |
1 files changed, 33 insertions, 8 deletions
diff --git a/doc/src/howtos/scalabilityintro.qdoc b/doc/src/howtos/scalabilityintro.qdoc index 96337c9..1abdc7a 100644 --- a/doc/src/howtos/scalabilityintro.qdoc +++ b/doc/src/howtos/scalabilityintro.qdoc @@ -1,4 +1,29 @@ - +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Free Documentation License +** 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. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** $QT_END_LICENSE$ +** +****************************************************************************/ /*! \title Scalability \page scalability.html @@ -61,7 +86,7 @@ The following sections describe in more detail the different aspects of scalability that should be considered in order to - achieve the desired level of flexibility within your application. + achieve the desired level of flexibility within your application. \section1 Implementing the Top-Level Layouts @@ -98,7 +123,7 @@ \o In some cases, the contents of a view might be quite similar on all screen sizes, but with an expanded content area. In this case, it may be possible to re-use the same layout - definition, if defined appropriately using anchors. + definition, if defined appropriately using anchors. \endlist The Loader component can be used to load separate QML files based @@ -125,7 +150,7 @@ require a certain amount of space, such as a button containing a text. That may also depend on the current platform and style. How do you ensure that you leave enough - space, and what happens if your children change size? + space, and what happens if your children change size? \endlist These aspects combine together to resolve the final layout for a @@ -157,7 +182,7 @@ all of the layout measurements would remain unchanged. \o It becomes much easier to add support for additional Device Profiles, simply by adding another measurement definition - file. + file. \endlist \section1 Using QML's Layout Features @@ -169,7 +194,7 @@ \list \o \l{Item::}{anchors} within an Item \o \l{Row} / \l{Column} / \l{Grid} - \o simple javascript expressions such as width: Math.round(parent.width / 3.0). + \o simple javascript expressions such as width: Math.round(parent.width / 3.0). \endlist These basic building blocks, along with the powerful evaluation @@ -201,7 +226,7 @@ way). \o Don't make assumptions about the container size, or about the size of child items. Try to make flexible layout - definitions that can absorb changes in the available space. + definitions that can absorb changes in the available space. \endlist \section1 Orientation Switches @@ -291,7 +316,7 @@ fade between those during rotation. Then you can use a Loader to load another child component that loads the actual model data to another child Item, and cross-fade to that - when the Loader has completed. + when the Loader has completed. \endlist */ |