summaryrefslogtreecommitdiff
path: root/src/controls/Tab.qml
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2014-09-24 15:36:56 +0200
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2014-10-08 17:54:04 +0200
commita4d6da632d92845595aed51df87a58379b31d0fd (patch)
tree53ad447819e8d095dcc9dc5dafe0ea7e0400b29a /src/controls/Tab.qml
parent41f0d5b9d931a378af66f735c57753146053664e (diff)
downloadqtquickcontrols-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/Tab.qml')
-rw-r--r--src/controls/Tab.qml12
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
*/