5#ifndef QQUICKSTACKVIEW_P_P_H
6#define QQUICKSTACKVIEW_P_P_H
19#include <QtQuickTemplates2/private/qquickstackview_p.h>
20#include <QtQuickTemplates2/private/qquickcontrol_p_p.h>
21#if QT_CONFIG(quick_viewtransitions)
22#include <QtQuick/private/qquickitemviewtransition_p.h>
24#include <QtQuick/private/qquickitemchangelistener_p.h>
25#include <QtQml/private/qv4value_p.h>
26#include <QtQml/private/qqmlcontextdata_p.h>
27#include <QtCore/qset.h>
28#include <QtCore/qstack.h>
36#if QT_CONFIG(quick_viewtransitions)
40 Q_DECLARE_PUBLIC(QQuickStackView)
58 bool pushElements(QV4::ExecutionEngine *v4,
const QList<QQuickStackElement *> &elements);
69#if QT_CONFIG(quick_viewtransitions)
87#if QT_CONFIG(quick_viewtransitions)
97 Q_DECLARE_PUBLIC(QQuickStackViewAttached)
QQmlComponent * component
void itemDestroyed(QQuickItem *item) override
static QQuickStackElement * fromStackViewArg(QQmlEngine *engine, QQuickStackView *view, QQuickStackViewArg arg)
QPointer< QQuickItem > originalParent
void initialize(QV4::ExecutionEngine *v4, RequiredProperties *requiredProperties)
void setVisible(bool visible)
static QQuickStackElement * fromString(QQmlEngine *engine, const QString &str, QQuickStackView *view, QString *error)
bool load(QV4::ExecutionEngine *v4, QQuickStackView *parent)
static QQuickStackElement * fromObject(QObject *object, QQuickStackView *view, QString *error)
void setStatus(QQuickStackView::Status status)
QV4::PersistentValue properties
void incubate(QV4::ExecutionEngine *v4, QObject *object, RequiredProperties *requiredProperties)
QQuickStackView::Status status
void setView(QQuickStackView *view)
QV4::PersistentValue qmlCallingContext
QQuickStackIncubator(QQuickStackElement *element)
void setInitialState(QObject *object) override
Called after the object is first created, but before complex property bindings are evaluated and,...
friend QDebug operator<<(QDebug debug, const QQuickStackViewArg &arg)
QQuickStackElement * element
void warnOfInterruption(const QString &attemptedOperation)
bool replaceElements(QV4::ExecutionEngine *v4, QQuickStackElement *element, const QList< QQuickStackElement * > &elements)
QList< QQuickStackElement * > parseElements(QQmlEngine *engine, const QList< QQuickStackViewArg > &args)
QQuickItem * popToItem(QV4::ExecutionEngine *v4, QQuickItem *item, QQuickStackView::Operation operation, CurrentItemPolicy currentItemPolicy)
QList< QQuickStackElement * > parseElements(int from, QQmlV4FunctionPtr args, QStringList *errors)
QList< QQuickStackElement * > removed
bool pushElements(QV4::ExecutionEngine *v4, const QList< QQuickStackElement * > &elements)
QQuickStackElement * createElement(const QV4::Value &value, const QQmlRefPointer< QQmlContextData > &context, QString *error)
void setCurrentItem(QQuickStackElement *element)
QQuickStackElement * findElement(const QV4::Value &value) const
bool popElements(QV4::ExecutionEngine *v4, QQuickStackElement *element)
bool pushElement(QV4::ExecutionEngine *v4, QQuickStackElement *element)
QStack< QQuickStackElement * > elements
QQuickStackElement * findElement(QQuickItem *item) const
void depthChange(int newDepth, int oldDepth)
QSet< QQuickStackElement * > removing