Qt
6.x
The Qt SDK
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Symbols
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Loading...
Searching...
No Matches
qquickstackelement_p_p.h
Go to the documentation of this file.
1
// Copyright (C) 2017 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#ifndef QQUICKSTACKELEMENT_P_P_H
5
#define QQUICKSTACKELEMENT_P_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include <QtQuickTemplates2/private/qquickstackview_p.h>
19
#include <QtQuickTemplates2/private/qquickcontrol_p_p.h>
20
#if QT_CONFIG(quick_viewtransitions)
21
#include <QtQuick/private/qquickitemviewtransition_p.h>
22
#endif
23
#include <QtQuick/private/qquickitemchangelistener_p.h>
24
#include <QtQml/private/qv4persistent_p.h>
25
26
QT_BEGIN_NAMESPACE
27
28
class
QQmlContext
;
29
class
QQmlComponent
;
30
struct
QQuickStackTransition
;
31
class
RequiredProperties
;
32
33
class
QQuickStackElement
:
34
#if QT_CONFIG(quick_viewtransitions)
35
public
QQuickItemViewTransitionableItem
,
36
#endif
37
public
QQuickItemChangeListener
38
{
39
QQuickStackElement
();
40
41
public
:
42
~QQuickStackElement
();
43
44
static
QQuickStackElement
*
fromString
(
const
QString
&
str
,
QQuickStackView
*
view
,
QString
*
error
);
45
static
QQuickStackElement
*
fromObject
(
QObject
*
object
,
QQuickStackView
*
view
,
QString
*
error
);
46
static
QQuickStackElement
*
fromStackViewArg
(
QQuickStackView
*
view
,
QQuickStackViewArg
arg
);
47
48
bool
load
(
QQuickStackView
*
parent
);
49
void
incubate
(
QObject
*
object
,
RequiredProperties
*requiredProperties);
50
void
initialize
(
RequiredProperties
*requiredProperties);
51
52
void
setIndex
(
int
index
);
53
void
setView
(
QQuickStackView
*
view
);
54
void
setStatus
(
QQuickStackView::Status
status
);
55
void
setVisible
(
bool
visible);
56
57
#if QT_CONFIG(quick_viewtransitions)
58
void
transitionNextReposition(
QQuickItemViewTransitioner
*transitioner,
QQuickItemViewTransitioner::TransitionType
type
,
bool
asTarget);
59
bool
prepareTransition
(
QQuickItemViewTransitioner
*transitioner,
const
QRectF
&viewBounds);
60
void
startTransition(
QQuickItemViewTransitioner
*transitioner,
QQuickStackView::Status
status
);
61
void
completeTransition(
QQuickTransition
*quickTransition);
62
#endif
63
64
void
itemDestroyed
(
QQuickItem
*
item
)
override
;
65
66
int
index
= -1;
67
bool
init
=
false
;
68
bool
removal
=
false
;
69
bool
ownItem
=
false
;
70
bool
ownComponent
=
false
;
71
bool
widthValid
=
false
;
72
bool
heightValid
=
false
;
73
QQmlComponent
*
component
=
nullptr
;
74
QQuickStackView
*
view
=
nullptr
;
75
QPointer<QQuickItem>
originalParent
;
76
QQuickStackView::Status
status
=
QQuickStackView::Inactive
;
77
QV4::PersistentValue
properties
;
78
QV4::PersistentValue
qmlCallingContext
;
79
#if !QT_CONFIG(quick_viewtransitions)
80
QQuickItem
*
item
;
81
#endif
82
};
83
84
QT_END_NAMESPACE
85
86
#endif
// QQUICKSTACKELEMENT_P_P_H
QObject
\inmodule QtCore
Definition
qobject.h:90
QPointer
\inmodule QtCore
Definition
qpointer.h:18
QQmlComponent
The QQmlComponent class encapsulates a QML component definition.
Definition
qqmlcomponent.h:33
QQmlContext
The QQmlContext class defines a context within a QML engine.
Definition
qqmlcontext.h:25
QQuickItemChangeListener
Definition
qquickitemchangelistener_p.h:85
QQuickItemViewTransitionableItem
Definition
qquickitemviewtransition_p.h:108
QQuickItemViewTransitioner
Definition
qquickitemviewtransition_p.h:48
QQuickItemViewTransitioner::TransitionType
TransitionType
Definition
qquickitemviewtransition_p.h:50
QQuickItem
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition
qquickitem.h:64
QQuickStackElement
Definition
qquickstackelement_p_p.h:38
QQuickStackElement::component
QQmlComponent * component
Definition
qquickstackelement_p_p.h:73
QQuickStackElement::itemDestroyed
void itemDestroyed(QQuickItem *item) override
Definition
qquickstackelement.cpp:350
QQuickStackElement::ownComponent
bool ownComponent
Definition
qquickstackelement_p_p.h:70
QQuickStackElement::removal
bool removal
Definition
qquickstackelement_p_p.h:68
QQuickStackElement::heightValid
bool heightValid
Definition
qquickstackelement_p_p.h:72
QQuickStackElement::originalParent
QPointer< QQuickItem > originalParent
Definition
qquickstackelement_p_p.h:75
QQuickStackElement::setVisible
void setVisible(bool visible)
Definition
qquickstackelement.cpp:296
QQuickStackElement::~QQuickStackElement
~QQuickStackElement()
Definition
qquickstackelement.cpp:56
QQuickStackElement::ownItem
bool ownItem
Definition
qquickstackelement_p_p.h:69
QQuickStackElement::setIndex
void setIndex(int index)
Definition
qquickstackelement.cpp:237
QQuickStackElement::widthValid
bool widthValid
Definition
qquickstackelement_p_p.h:71
QQuickStackElement::fromObject
static QQuickStackElement * fromObject(QObject *object, QQuickStackView *view, QString *error)
Definition
qquickstackelement.cpp:110
QQuickStackElement::view
QQuickStackView * view
Definition
qquickstackelement_p_p.h:74
QQuickStackElement::setStatus
void setStatus(QQuickStackView::Status status)
Definition
qquickstackelement.cpp:263
QQuickStackElement::fromString
static QQuickStackElement * fromString(const QString &str, QQuickStackView *view, QString *error)
Definition
qquickstackelement.cpp:93
QQuickStackElement::fromStackViewArg
static QQuickStackElement * fromStackViewArg(QQuickStackView *view, QQuickStackViewArg arg)
Definition
qquickstackelement.cpp:130
QQuickStackElement::properties
QV4::PersistentValue properties
Definition
qquickstackelement_p_p.h:77
QQuickStackElement::init
bool init
Definition
qquickstackelement_p_p.h:67
QQuickStackElement::item
QQuickItem * item
Definition
qquickstackelement_p_p.h:80
QQuickStackElement::status
QQuickStackView::Status status
Definition
qquickstackelement_p_p.h:76
QQuickStackElement::setView
void setView(QQuickStackView *view)
Definition
qquickstackelement.cpp:250
QQuickStackElement::load
bool load(QQuickStackView *parent)
Definition
qquickstackelement.cpp:155
QQuickStackElement::incubate
void incubate(QObject *object, RequiredProperties *requiredProperties)
Definition
qquickstackelement.cpp:185
QQuickStackElement::qmlCallingContext
QV4::PersistentValue qmlCallingContext
Definition
qquickstackelement_p_p.h:78
QQuickStackViewArg
Definition
qquickstackview_p.h:39
QQuickStackView
Definition
qquickstackview_p.h:66
QQuickStackView::Status
Status
Definition
qquickstackview_p.h:96
QQuickStackView::Inactive
@ Inactive
Definition
qquickstackview_p.h:97
QQuickTransition
Definition
qquicktransition_p.h:59
QRectF
\inmodule QtCore\reentrant
Definition
qrect.h:483
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:127
QV4::PersistentValue
Definition
qv4persistent_p.h:64
RequiredProperties
Definition
qqmlobjectcreator_p.h:79
str
QString str
[2]
Definition
doc_src_containers.cpp:175
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
initialize
static bool initialize()
Definition
qctf.cpp:67
error
DBusConnection const char DBusError * error
Definition
qdbus_symbols_p.h:157
index
GLuint index
[2]
Definition
qopengles2ext.h:331
type
GLenum type
Definition
qopengles2ext.h:150
prepareTransition
static QList< QQuickStateAction > prepareTransition(QQuickDrawer *drawer, QQuickTransition *transition, qreal to)
Definition
qquickdrawer.cpp:552
arg
SSL_CTX int(*) void arg)
Definition
qsslsocket_openssl_symbols.cpp:404
QQuickStackTransition
Definition
qquickstacktransition_p_p.h:30
parent
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent
Definition
uiaclientinterfaces_p.h:209
qtdeclarative
src
quicktemplates
qquickstackelement_p_p.h
Generated by
1.9.7