summaryrefslogtreecommitdiff
path: root/src/controls/TabView.qml
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-11-17 07:21:27 +0100
committerLiang Qi <liang.qi@theqtcompany.com>2015-11-17 07:21:33 +0100
commit357dc28318b20e18a48a694dd66d62fa3a5544f1 (patch)
tree6fdd1cabf3e2ba6bbbd86b3ef34d899624842641 /src/controls/TabView.qml
parent0d2066ff8459f00af8f8195780d064023b8d1c38 (diff)
parenteabdd3ffefed6334f551e08f0adc2eb9cc5ede84 (diff)
downloadqtquickcontrols-357dc28318b20e18a48a694dd66d62fa3a5544f1.tar.gz
Merge remote-tracking branch 'origin/5.5' into 5.6
Change-Id: Ic1a33d305dc57a42f020389277d95aad1a6da407
Diffstat (limited to 'src/controls/TabView.qml')
-rw-r--r--src/controls/TabView.qml15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/controls/TabView.qml b/src/controls/TabView.qml
index f7a8324a..c671a273 100644
--- a/src/controls/TabView.qml
+++ b/src/controls/TabView.qml
@@ -116,16 +116,23 @@ FocusScope {
/*! \internal */
default property alias data: stack.data
- /*! \qmlmethod Tab TabView::addTab(string title, Component component)
- Adds a new tab page with title with and optional Component.
+ /*!
+ \qmlmethod Tab TabView::addTab(string title, Component component)
+
+ Adds a new tab with the given \a title and an optional \a component.
+
Returns the newly added tab.
*/
function addTab(title, component) {
return insertTab(__tabs.count, title, component)
}
- /*! \qmlmethod Tab TabView::insertTab(int index, string title, Component component)
- Inserts a new tab with title at index, with an optional Component.
+ /*!
+ \qmlmethod Tab TabView::insertTab(int index, string title, Component component)
+
+ Inserts a new tab at \a index, with the given \a title and
+ an optional \a component.
+
Returns the newly added tab.
*/
function insertTab(index, title, component) {