summaryrefslogtreecommitdiff
path: root/src/controls/StackViewDelegate.qml
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@theqtcompany.com>2015-03-04 15:31:09 +0100
committerCaroline Chao <caroline.chao@theqtcompany.com>2015-03-06 13:20:40 +0000
commit0e022e36ba45b00986d113cf26161c292adc3a2b (patch)
tree815b7570ac144176702e1f4ab9ac65e7cd6c40a1 /src/controls/StackViewDelegate.qml
parent06e63332054e441ac1c51e19e40399a8accd5db6 (diff)
downloadqtquickcontrols-0e022e36ba45b00986d113cf26161c292adc3a2b.tar.gz
Doc: Fix qtdoc warnings
Mostly link errors and missing documentation. And removed useless references to {QtQuick.Controls.Styles} in the doc. Change-Id: Iad211a574c0bd23c84e067e0cbcc18c3e719cde7 Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'src/controls/StackViewDelegate.qml')
-rw-r--r--src/controls/StackViewDelegate.qml29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/controls/StackViewDelegate.qml b/src/controls/StackViewDelegate.qml
index 6f99def4..1d4c2969 100644
--- a/src/controls/StackViewDelegate.qml
+++ b/src/controls/StackViewDelegate.qml
@@ -49,16 +49,45 @@ import QtQuick 2.2
QtObject {
id: root
+ /*!
+ \qmlmethod StackViewDelegate::getTransition(properties)
+
+ The base implementation of this function just looks for a property named properties.name inside itself.
+ \sa {Transitions}
+ */
function getTransition(properties)
{
return root[properties.name]
}
+ /*!
+ \qmlmethod StackViewDelegate::transitionFinished(properties)
+
+ The base implementation of this function is empty.
+ \sa {Transitions}
+ */
function transitionFinished(properties)
{
}
+ /*!
+ \qmlproperty Component StackViewDelegate::pushTransition
+
+ The transition used on push operation.
+ */
property Component pushTransition: StackViewTransition {}
+ /*!
+ \qmlproperty Component StackViewDelegate::popTransition
+
+ The transition used on pop operation.
+ Unless set, the popTransition is the same as pushTransition
+ */
property Component popTransition: root["pushTransition"]
+ /*!
+ \qmlproperty Component StackViewDelegate::replaceTransition
+
+ The transition used on replace operation.
+ Unless set, the replaceTransition is the same as pushTransition
+ */
property Component replaceTransition: root["pushTransition"]
}