blob: c4bbbabfb3c6b785635a2dbed42f1263ecd61953 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick 2.1
/*!
\qmltype StackViewDelegate
\inqmlmodule QtQuick.Controls
\since 5.1
\brief A delegate used by StackView for loading transitions.
See the documentation for the \l {QtQuick.Controls1::StackView} {StackView}
component.
*/
QtObject {
id: root
function getTransition(properties)
{
return root[properties.name]
}
function transitionFinished(properties)
{
}
property Component pushTransition: StackViewTransition {}
property Component popTransition: root["pushTransition"]
property Component replaceTransition: root["pushTransition"]
}
|