aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/qquicktabbutton.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-10-15 17:14:58 +0200
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-10-19 16:52:48 +0000
commit3ab62aed45e32120ba10ec972b92b5dcc79e527d (patch)
treeeed0fd7e4bc77d1919614fc27eab30637b0f3ea4 /src/templates/qquicktabbutton.cpp
parent0cf9d77f849a2b10e8eaa696e1254e5c3c50d5f5 (diff)
Docs: Navigation group
Change-Id: Id866d226fc651a39fffd887600b4bf54d2b7ac6e Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/templates/qquicktabbutton.cpp')
-rw-r--r--src/templates/qquicktabbutton.cpp16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/templates/qquicktabbutton.cpp b/src/templates/qquicktabbutton.cpp
index baf6c04f..e1ee6a9e 100644
--- a/src/templates/qquicktabbutton.cpp
+++ b/src/templates/qquicktabbutton.cpp
@@ -43,22 +43,16 @@ QT_BEGIN_NAMESPACE
\inherits AbstractButton
\instantiates QQuickTabButton
\inqmlmodule Qt.labs.controls
- \ingroup tabs
+ \ingroup qtlabscontrols-navigation
\brief A tab button control.
- TabButton is used in conjunction with a \l TabBar.
+ \image qtlabscontrols-tabbutton.png
- ### TODO: screenshot
+ TabButton is used in conjunction with a \l TabBar.
- \code
- TabBar {
- TabButton { text: qsTr("Home") }
- TabButton { text: qsTr("Discover") }
- TabButton { text: qsTr("Activity") }
- }
- \endcode
+ \snippet qtlabscontrols-tabbutton.qml 1
- \sa TabBar, {Customizing TabButton}
+ \sa TabBar, {Customizing TabButton}, Navigation
*/
QQuickTabButton::QQuickTabButton(QQuickItem *parent) :