4#ifndef QQUICKSTACKVIEW_P_P_H
5#define QQUICKSTACKVIEW_P_P_H
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>
23#include <QtQuick/private/qquickitemchangelistener_p.h>
24#include <QtQml/private/qv4value_p.h>
25#include <QtQml/private/qqmlcontextdata_p.h>
26#include <QtCore/qset.h>
27#include <QtCore/qstack.h>
35#if QT_CONFIG(quick_viewtransitions)
39 Q_DECLARE_PUBLIC(QQuickStackView)
57 bool pushElements(
const QList<QQuickStackElement *> &elements);
68#if QT_CONFIG(quick_viewtransitions)
86#if QT_CONFIG(quick_viewtransitions)
96 Q_DECLARE_PUBLIC(QQuickStackViewAttached)
QQmlComponent * component
void itemDestroyed(QQuickItem *item) override
QPointer< QQuickItem > originalParent
void initialize(RequiredProperties *requiredProperties)
void setVisible(bool visible)
static QQuickStackElement * fromObject(QObject *object, QQuickStackView *view, QString *error)
void setStatus(QQuickStackView::Status status)
static QQuickStackElement * fromString(const QString &str, QQuickStackView *view, QString *error)
static QQuickStackElement * fromStackViewArg(QQuickStackView *view, QQuickStackViewArg arg)
QV4::PersistentValue properties
QQuickStackView::Status status
void setView(QQuickStackView *view)
bool load(QQuickStackView *parent)
void incubate(QObject *object, RequiredProperties *requiredProperties)
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 pushElements(const QList< QQuickStackElement * > &elements)
bool replaceElements(QQuickStackElement *element, const QList< QQuickStackElement * > &elements)
QList< QQuickStackElement * > parseElements(int from, QQmlV4FunctionPtr args, QStringList *errors)
QList< QQuickStackElement * > removed
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(QQuickStackElement *element)
QStack< QQuickStackElement * > elements
QList< QQuickStackElement * > parseElements(const QList< QQuickStackViewArg > &args)
QQuickStackElement * findElement(QQuickItem *item) const
void depthChange(int newDepth, int oldDepth)
QSet< QQuickStackElement * > removing
QQuickItem * popToItem(QQuickItem *item, QQuickStackView::Operation operation, CurrentItemPolicy currentItemPolicy)
bool pushElement(QQuickStackElement *element)
Combined button and popup list for selecting options.