diff options
author | Mitch Curtis <mitch.curtis@digia.com> | 2014-09-24 15:36:56 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2014-10-08 17:54:04 +0200 |
commit | a4d6da632d92845595aed51df87a58379b31d0fd (patch) | |
tree | 53ad447819e8d095dcc9dc5dafe0ea7e0400b29a /src/controls | |
parent | 41f0d5b9d931a378af66f735c57753146053664e (diff) | |
download | qtquickcontrols-a4d6da632d92845595aed51df87a58379b31d0fd.tar.gz |
Improve Tab documentation.
- Make "api" uppercase.
- Document lazy loading behavior.
Change-Id: I8aea1b3acd80b1a63631ea9288830318fc173486
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/controls')
-rw-r--r-- | src/controls/Tab.qml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/controls/Tab.qml b/src/controls/Tab.qml index 355fb44a..f358181d 100644 --- a/src/controls/Tab.qml +++ b/src/controls/Tab.qml @@ -48,7 +48,17 @@ import QtQuick 2.2 \brief Tab represents the content of a tab in a TabView. A Tab item inherits from Loader and provides a similar - api. + API. + + Tabs are lazily loaded; only tabs that have been made current (for example, + by clicking on them) will have valid content. You can force loading of tabs + by setting the active property to \c true: + + \code + Tab { + active: true + } + \endcode \sa TabView */ |