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
qiosfontdialog.h
Go to the documentation of this file.
1
// Copyright (C) 2022 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 QIOSFONTDIALOG_H
5
#define QIOSFONTDIALOG_H
6
7
#include <QtCore/qeventloop.h>
8
#include <qpa/qplatformdialoghelper.h>
9
10
@interface
QIOSFontDialogController
: UIFontPickerViewController <UIFontPickerViewControllerDelegate,
11
UIAdaptivePresentationControllerDelegate>
12
@end
13
14
QT_BEGIN_NAMESPACE
15
16
class
QIOSFontDialog
:
public
QPlatformFontDialogHelper
17
{
18
public
:
19
QIOSFontDialog
();
20
~QIOSFontDialog
();
21
22
void
exec
()
override
;
23
24
bool
show
(Qt::WindowFlags windowFlags,
Qt::WindowModality
windowModality,
QWindow
*parent)
override
;
25
void
hide
()
override
;
26
27
void
setCurrentFont(
const
QFont
&)
override
;
28
QFont
currentFont()
const override
;
29
30
void
updateCurrentFont(
const
QFont
&);
31
32
private
:
33
QEventLoop
m_eventLoop;
34
QIOSFontDialogController
*m_viewController;
35
QFont
m_currentFont;
36
37
};
38
39
QT_END_NAMESPACE
40
41
#endif
// QIOSFONTDIALOG_H
QEventLoop
\inmodule QtCore
Definition
qeventloop.h:16
QFont
\reentrant
Definition
qfont.h:22
QIOSFontDialog
Definition
qiosfontdialog.h:17
QPlatformFontDialogHelper
The QPlatformFontDialogHelper class allows for platform-specific customization of font dialogs.
Definition
qplatformdialoghelper.h:246
QWindow
\inmodule QtGui
Definition
qwindow.h:63
QIOSFontDialogController
Definition
qiosfontdialog.h:11
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
Qt::WindowModality
WindowModality
Definition
qnamespace.h:1547
show
view show()
[18] //! [19]
exec
dialog exec()
hide
edit hide()
qtbase
src
plugins
platforms
ios
qiosfontdialog.h
Generated by
1.10.0