| 1 |
import QtQuick 2.4 |
| 2 |
|
| 3 |
QtObject { |
| 4 |
id: root |
| 5 |
|
| 6 |
/*! |
| 7 |
\qmlmethod Transition StackViewDelegate::getTransition(properties) |
| 8 |
|
| 9 |
The base implementation of this function just looks for a property named properties.name inside itself. |
| 10 |
\sa {Transitions} |
| 11 |
*/ |
| 12 |
function getTransition(properties) |
| 13 |
{ |
| 14 |
return root[properties.name] |
| 15 |
} |
| 16 |
|
| 17 |
/*! |
| 18 |
\qmlmethod void StackViewDelegate::transitionFinished(properties) |
| 19 |
|
| 20 |
The base implementation of this function is empty. |
| 21 |
\sa {Transitions} |
| 22 |
*/ |
| 23 |
function transitionFinished(properties) |
| 24 |
{ |
| 25 |
} |
| 26 |
|
| 27 |
/*! |
| 28 |
\qmlproperty Component StackViewDelegate::pushTransition |
| 29 |
|
| 30 |
The transition used on push operation. |
| 31 |
*/ |
| 32 |
property Component pushTransition: StackViewTransition {} |
| 33 |
/*! |
| 34 |
\qmlproperty Component StackViewDelegate::popTransition |
| 35 |
|
| 36 |
The transition used on pop operation. |
| 37 |
Unless set, the popTransition is the same as pushTransition |
| 38 |
*/ |
| 39 |
property Component popTransition: root["pushTransition"] |
| 40 |
/*! |
| 41 |
\qmlproperty Component StackViewDelegate::replaceTransition |
| 42 |
|
| 43 |
The transition used on replace operation. |
| 44 |
Unless set, the replaceTransition is the same as pushTransition |
| 45 |
*/ |
| 46 |
property Component replaceTransition: root["pushTransition"] |
| 47 |
} |
| 48 |
|