Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickpopupanchors_p.h
Go to the documentation of this file.
1
// Copyright (C) 2018 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 QQUICKPOPUPANCHORS_P_H
5
#define QQUICKPOPUPANCHORS_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 <QtCore/qobject.h>
19
#include <QtQml/qqml.h>
20
#include <QtQuick/private/qquickitem_p.h>
21
#include <QtQuickTemplates2/private/qtquicktemplates2global_p.h>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QQuickItem
;
26
class
QQuickPopupAnchorsPrivate
;
27
class
QQuickPopup
;
28
29
class
Q_QUICKTEMPLATES2_EXPORT
QQuickPopupAnchors
:
public
QObject
,
public
QQuickItemChangeListener
30
{
31
Q_OBJECT
32
Q_PROPERTY
(
QQuickItem
*centerIn READ centerIn WRITE setCenterIn RESET resetCenterIn NOTIFY centerInChanged FINAL)
33
QML_ANONYMOUS
34
QML_ADDED_IN_VERSION
(2, 5)
35
36
public:
37
explicit
QQuickPopupAnchors
(
QQuickPopup
*popup);
38
~
QQuickPopupAnchors
();
39
40
QQuickItem
*centerIn() const;
41
void
setCenterIn(
QQuickItem
*
item
);
42
void
resetCenterIn();
43
44
Q_SIGNALS
:
45
void
centerInChanged();
46
47
private
:
48
void
itemDestroyed(
QQuickItem
*
item
) override;
49
50
Q_DISABLE_COPY(
QQuickPopupAnchors
)
51
Q_DECLARE_PRIVATE(
QQuickPopupAnchors
)
52
};
53
54
QT_END_NAMESPACE
55
56
#endif
// QQUICKPOPUPANCHORS_P_H
QObject
\inmodule QtCore
Definition
qobject.h:103
QQuickItemChangeListener
Definition
qquickitemchangelistener_p.h:85
QQuickItem
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition
qquickitem.h:63
QQuickPopupAnchorsPrivate
Definition
qquickpopupanchors_p_p.h:27
QQuickPopupAnchors
Definition
qquickpopupanchors_p.h:30
QQuickPopup
Definition
qquickpopup_p.h:42
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
QML_ANONYMOUS
#define QML_ANONYMOUS
Definition
qqmlintegration.h:49
QML_ADDED_IN_VERSION
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
Definition
qqmlintegration.h:100
Q_PROPERTY
#define Q_PROPERTY(...)
Definition
qtmetamacros.h:56
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
Q_SIGNALS
#define Q_SIGNALS
Definition
qtmetamacros.h:45
explicit
#define explicit
Definition
qxcbconnection.cpp:33
item
QGraphicsItem * item
Definition
src_gui_graphicsview_qgraphicsitem.cpp:107
private
#define private
Definition
vsp2hardwarelayerintegration.cpp:7
qtdeclarative
src
quicktemplates
qquickpopupanchors_p.h
Generated by
1.10.0