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 QQUICKPOPUPITEM_P_P_H |
5 | #define |
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/qquickpage_p.h> |
19 | #include <QtQuickTemplates2/private/qquickpage_p_p.h> |
20 | |
21 | QT_BEGIN_NAMESPACE |
22 | |
23 | class ; |
24 | class QQuickPopupItemPrivate; |
25 | |
26 | class Q_QUICKTEMPLATES2_PRIVATE_EXPORT : public QQuickPage |
27 | { |
28 | Q_OBJECT |
29 | |
30 | public: |
31 | explicit (QQuickPopup *); |
32 | |
33 | protected: |
34 | void () override; |
35 | |
36 | bool (QQuickItem *child, QEvent *event) override; |
37 | void (QFocusEvent *event) override; |
38 | void (QFocusEvent *event) override; |
39 | void (QKeyEvent *event) override; |
40 | void (QKeyEvent *event) override; |
41 | void (QMouseEvent *event) override; |
42 | void (QMouseEvent *event) override; |
43 | void (QMouseEvent *event) override; |
44 | void (QMouseEvent *event) override; |
45 | void () override; |
46 | #if QT_CONFIG(quicktemplates2_multitouch) |
47 | void (QTouchEvent *event) override; |
48 | void () override; |
49 | #endif |
50 | #if QT_CONFIG(wheelevent) |
51 | void (QWheelEvent *event) override; |
52 | #endif |
53 | |
54 | void (QQuickItem *newItem, QQuickItem *oldItem) override; |
55 | void (const QSizeF &newSize, const QSizeF &oldSize) override; |
56 | void (const QFont &newFont, const QFont &oldFont) override; |
57 | void (const QRectF &newGeometry, const QRectF &oldGeometry) override; |
58 | void (const QLocale &newLocale, const QLocale &oldLocale) override; |
59 | void () override; |
60 | void (ItemChange change, const ItemChangeData &data) override; |
61 | void (const QMarginsF &newPadding, const QMarginsF &oldPadding) override; |
62 | void () override; |
63 | |
64 | QFont () const override; |
65 | |
66 | #if QT_CONFIG(accessibility) |
67 | QAccessible::Role () const override; |
68 | void (bool active) override; |
69 | #endif |
70 | |
71 | private: |
72 | Q_DISABLE_COPY() |
73 | Q_DECLARE_PRIVATE(QQuickPopupItem) |
74 | friend class QQuickPopup; |
75 | }; |
76 | |
77 | class Q_QUICKTEMPLATES2_PRIVATE_EXPORT : public QQuickPagePrivate |
78 | { |
79 | Q_DECLARE_PUBLIC(QQuickPopupItem) |
80 | |
81 | public: |
82 | (QQuickPopup *); |
83 | |
84 | static QQuickPopupItemPrivate *(QQuickPopupItem *); |
85 | |
86 | void () override; |
87 | void () override; |
88 | |
89 | void () override; |
90 | |
91 | QQuickItem *() override; |
92 | |
93 | void () override; |
94 | void (bool complete = false) override; |
95 | |
96 | void () override; |
97 | void (bool complete = false) override; |
98 | |
99 | QQuickPalette *() const override; |
100 | void (QQuickPalette* p) override; |
101 | void () override; |
102 | |
103 | QPalette () const override; |
104 | bool () const override; |
105 | |
106 | QPalette (const QPalette &fallbackPalette) const override; |
107 | |
108 | int = 0; |
109 | int = 0; |
110 | QQuickPopup * = nullptr; |
111 | }; |
112 | |
113 | QT_END_NAMESPACE |
114 | |
115 | #endif // QQUICKPOPUPITEM_P_P_H |
116 | |