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
qquickfontdialogimpl_p_p.h
Go to the documentation of this file.
1
// Copyright (C) 2021 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
QQUICKFONTDIALOGIMPL_P_P_H
6
#
define
QQUICKFONTDIALOGIMPL_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
/
qquickcombobox_p
.
h
>
20
#
include
<
QtQuickTemplates2
/
private
/
qquickdialog_p_p
.
h
>
21
#
include
<
QtQuickTemplates2
/
private
/
qquickdialogbuttonbox_p
.
h
>
22
23
#
include
"qquickfontdialogimpl_p.h"
24
25
#
include
<
QtCore
/
qpointer
.
h
>
26
27
QT_BEGIN_NAMESPACE
28
29
class
QQuickFontDialogImplPrivate
:
public
QQuickDialogPrivate
30
{
31
Q_DECLARE_PUBLIC(QQuickFontDialogImpl)
32
public
:
33
QQuickFontDialogImplPrivate
();
34
35
static
QQuickFontDialogImplPrivate
*
get
(QQuickFontDialogImpl *dialog)
36
{
37
return
dialog->d_func();
38
}
39
40
QQuickFontDialogImplAttached *
attachedOrWarn
();
41
42
void
updateEnabled
();
43
44
void
handleAccept
()
override
;
45
void
handleClick
(QQuickAbstractButton *button)
override
;
46
47
QSharedPointer
<
QFontDialogOptions
>
options
;
48
49
QFont
currentFont
;
50
};
51
52
class
QQuickFontDialogImplAttachedPrivate
:
public
QObjectPrivate
53
{
54
void
currentFontChanged(
const
QFont &font);
55
56
public
:
57
Q_DECLARE_PUBLIC(QQuickFontDialogImplAttached)
58
59
QPointer
<
QQuickDialogButtonBox
>
buttonBox
;
60
QPointer
<
QQuickListView
>
familyListView
;
61
QPointer
<
QQuickListView
>
styleListView
;
62
QPointer
<
QQuickListView
>
sizeListView
;
63
QPointer
<
QQuickTextEdit
>
sampleEdit
;
64
QPointer
<
QQuickComboBox
>
writingSystemComboBox
;
65
QPointer
<
QQuickCheckBox
>
underlineCheckBox
;
66
QPointer
<
QQuickCheckBox
>
strikeoutCheckBox
;
67
QPointer
<
QQuickTextField
>
familyEdit
;
68
QPointer
<
QQuickTextField
>
styleEdit
;
69
QPointer
<
QQuickTextField
>
sizeEdit
;
70
};
71
72
QT_END_NAMESPACE
73
74
#
endif
// QQUICKFONTDIALOGIMPL_P_P_H
QQuickFontDialogImplAttachedPrivate
Definition
qquickfontdialogimpl_p_p.h:53
QQuickFontDialogImplAttachedPrivate::styleEdit
QPointer< QQuickTextField > styleEdit
Definition
qquickfontdialogimpl_p_p.h:68
QQuickFontDialogImplAttachedPrivate::sampleEdit
QPointer< QQuickTextEdit > sampleEdit
Definition
qquickfontdialogimpl_p_p.h:63
QQuickFontDialogImplAttachedPrivate::writingSystemComboBox
QPointer< QQuickComboBox > writingSystemComboBox
Definition
qquickfontdialogimpl_p_p.h:64
QQuickFontDialogImplAttachedPrivate::sizeListView
QPointer< QQuickListView > sizeListView
Definition
qquickfontdialogimpl_p_p.h:62
QQuickFontDialogImplAttachedPrivate::styleListView
QPointer< QQuickListView > styleListView
Definition
qquickfontdialogimpl_p_p.h:61
QQuickFontDialogImplAttachedPrivate::underlineCheckBox
QPointer< QQuickCheckBox > underlineCheckBox
Definition
qquickfontdialogimpl_p_p.h:65
QQuickFontDialogImplAttachedPrivate::familyEdit
QPointer< QQuickTextField > familyEdit
Definition
qquickfontdialogimpl_p_p.h:67
QQuickFontDialogImplAttachedPrivate::sizeEdit
QPointer< QQuickTextField > sizeEdit
Definition
qquickfontdialogimpl_p_p.h:69
QQuickFontDialogImplAttachedPrivate::strikeoutCheckBox
QPointer< QQuickCheckBox > strikeoutCheckBox
Definition
qquickfontdialogimpl_p_p.h:66
QQuickFontDialogImplAttachedPrivate::familyListView
QPointer< QQuickListView > familyListView
Definition
qquickfontdialogimpl_p_p.h:60
QQuickFontDialogImplAttached
Definition
qquickfontdialogimpl_p.h:71
QQuickFontDialogImplPrivate
Definition
qquickfontdialogimpl_p_p.h:30
QQuickFontDialogImplPrivate::get
static QQuickFontDialogImplPrivate * get(QQuickFontDialogImpl *dialog)
Definition
qquickfontdialogimpl_p_p.h:35
QQuickFontDialogImplPrivate::currentFont
QFont currentFont
Definition
qquickfontdialogimpl_p_p.h:49
QQuickFontDialogImplPrivate::handleClick
void handleClick(QQuickAbstractButton *button) override
Definition
qquickfontdialogimpl.cpp:35
QQuickFontDialogImplPrivate::handleAccept
void handleAccept() override
Definition
qquickfontdialogimpl.cpp:33
QQuickFontDialogImplPrivate::options
QSharedPointer< QFontDialogOptions > options
Definition
qquickfontdialogimpl_p_p.h:47
QQuickFontDialogImplPrivate::updateEnabled
void updateEnabled()
QQuickFontDialogImplPrivate::attachedOrWarn
QQuickFontDialogImplAttached * attachedOrWarn()
Definition
qquickfontdialogimpl.cpp:21
QQuickFontDialogImpl
Definition
qquickfontdialogimpl_p.h:37
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
findFamilyInModel
static int findFamilyInModel(const QString &selectedFamily, const QStringList &model)
Definition
qquickfontdialogimpl.cpp:489
findStyleInModel
static int findStyleInModel(const QString &selectedStyle, const QStringList &model)
Definition
qquickfontdialogimpl.cpp:526
qtdeclarative
src
quickdialogs
quickdialogsquickimpl
qquickfontdialogimpl_p_p.h
Generated on
for Qt by
1.18.0