aboutsummaryrefslogtreecommitdiffstats
path: root/src/controls/qquicktabbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/qquicktabbutton.cpp')
-rw-r--r--src/controls/qquicktabbutton.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/controls/qquicktabbutton.cpp b/src/controls/qquicktabbutton.cpp
index 62a556af..dacffc24 100644
--- a/src/controls/qquicktabbutton.cpp
+++ b/src/controls/qquicktabbutton.cpp
@@ -46,7 +46,19 @@ QT_BEGIN_NAMESPACE
\ingroup tabs
\brief A tab button control.
- TODO
+ TabButton is used in conjunction with a \l TabBar.
+
+ ### TODO: screenshot
+
+ \code
+ TabBar {
+ TabButton { text: qsTr("Home") }
+ TabButton { text: qsTr("Discover") }
+ TabButton { text: qsTr("Activity") }
+ }
+ \endcode
+
+ \sa TabBar, {Customizing TabButton}
*/
QQuickTabButton::QQuickTabButton(QQuickItem *parent) :