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
qcocoafontdialoghelper.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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QCOCOAFONTDIALOGHELPER_H
6
#
define
QCOCOAFONTDIALOGHELPER_H
7
8
#
include
<
QObject
>
9
#
include
<
qpa
/
qplatformdialoghelper
.
h
>
10
11
QT_BEGIN_NAMESPACE
12
13
class
QCocoaFontDialogHelper :
public
QPlatformFontDialogHelper
14
{
15
public
:
16
QCocoaFontDialogHelper();
17
~QCocoaFontDialogHelper();
18
19
void
exec() override;
20
21
bool
show(Qt::WindowFlags windowFlags, Qt::WindowModality windowModality, QWindow *parent) override;
22
void
hide() override;
23
24
void
setCurrentFont(
const
QFont &) override;
25
QFont currentFont()
const
override;
26
};
27
28
QT_END_NAMESPACE
29
30
#
endif
// QCOCOAFONTDIALOGHELPER_H
Q_GLOBAL_STATIC
Q_GLOBAL_STATIC(QReadWriteLock, g_updateMutex)
qtbase
src
plugins
platforms
cocoa
qcocoafontdialoghelper.h
Generated on
for Qt by
1.18.0