Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qquickdialog_p_p.h
Go to the documentation of this file.
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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QQUICKDIALOG_P_P_H
6
#
define
QQUICKDIALOG_P_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtQuickTemplates2
/
private
/
qquickdialog_p
.
h
>
20
#
include
<
QtQuickTemplates2
/
private
/
qquickpopup_p_p
.
h
>
21
#
include
<
QtGui
/
qpa
/
qplatformdialoghelper
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QQuickAbstractButton;
26
class
QQuickDialogButtonBox;
27
28
class
Q_QUICKTEMPLATES2_EXPORT
QQuickDialogPrivate
:
public
QQuickPopupPrivate
29
{
30
public
:
31
Q_DECLARE_PUBLIC(QQuickDialog)
32
QQuickDialogPrivate() {
33
windowFlags = Qt::Dialog;
34
#
if
QT_CONFIG
(
wayland
)
35
extendedWindowType = QNativeInterface::Private::QWaylandWindow::Default;
36
#
endif
37
#
if
QT_CONFIG
(
xcb
)
38
wmWindowType = QNativeInterface::Private::QXcbWindow::Dialog;
39
#
endif
40
}
41
42
static
QQuickDialogPrivate *get(QQuickDialog *dialog)
43
{
44
return
dialog->d_func();
45
}
46
47
static
QPlatformDialogHelper::ButtonRole buttonRole(QQuickAbstractButton *button);
48
49
virtual
void
handleAccept();
50
virtual
void
handleReject();
51
virtual
void
handleClick(QQuickAbstractButton *button);
52
53
int
result = 0;
54
QQuickDialogButtonBox *buttonBox =
nullptr
;
55
QPlatformDialogHelper::StandardButtons standardButtons = QPlatformDialogHelper::NoButton;
56
};
57
58
QT_END_NAMESPACE
59
60
#
endif
// QQUICKDIALOG_P_P_H
QQuickDialogPrivate
Definition
qquickdialog_p_p.h:29
QQuickDialog
Definition
qquickdialog_p.h:30
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QT_REQUIRE_CONFIG
QT_REQUIRE_CONFIG(quicktemplates2_container)
QColorDialogOptionsForeign
Definition
qquickdialog_p.h:124
QFileDialogOptionsForeign
Definition
qquickdialog_p.h:131
QFontDialogOptionsForeign
Definition
qquickdialog_p.h:138
qtdeclarative
src
quicktemplates
qquickdialog_p_p.h
Generated on
for Qt by
1.18.0