Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qquickflipable_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 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 QQUICKFLIPABLE_P_H
5#define QQUICKFLIPABLE_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 <private/qtquickglobal_p.h>
19
20QT_REQUIRE_CONFIG(quick_flipable);
21
22#include "qquickitem.h"
23
24#include <QtGui/qtransform.h>
25#include <QtGui/qvector3d.h>
26#include <QtCore/qobject.h>
27
29
31class Q_QUICK_PRIVATE_EXPORT QQuickFlipable : public QQuickItem
32{
34
35 Q_PROPERTY(QQuickItem *front READ front WRITE setFront NOTIFY frontChanged FINAL)
36 Q_PROPERTY(QQuickItem *back READ back WRITE setBack NOTIFY backChanged FINAL)
37 Q_PROPERTY(Side side READ side NOTIFY sideChanged FINAL)
38 QML_NAMED_ELEMENT(Flipable)
40 //### flipAxis
41 //### flipRotation
42public:
45
46 QQuickItem *front() const;
47 void setFront(QQuickItem *);
48
50 void setBack(QQuickItem *);
51
52 enum Side { Front, Back };
53 Q_ENUM(Side)
54 Side side() const;
55
60
61protected:
62 void updatePolish() override;
63
64private Q_SLOTS:
65 void retransformBack();
66
67private:
68 Q_DISABLE_COPY(QQuickFlipable)
69 Q_DECLARE_PRIVATE(QQuickFlipable)
70};
71
73
75
76#endif // QQUICKFLIPABLE_P_H
QQuickItem * back()
void sideChanged()
void frontChanged()
void backChanged()
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition qquickitem.h:64
virtual void updatePolish()
This function should perform any layout as required for this item.
Combined button and popup list for selecting options.
#define QML_DECLARE_TYPE(TYPE)
Definition qqml.h:19
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define QT_REQUIRE_CONFIG(feature)
#define Q_ENUM(x)
#define Q_PROPERTY(...)
#define Q_OBJECT
#define Q_SLOTS
#define Q_SIGNALS
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent