Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qcocoafontdialoghelper.mm File Reference

(76d861f39f5d063a0e065c7e3646606ed6a3b9d1)

#include <AppKit/AppKit.h>
#include <QtCore/qtimer.h>
#include <QtGui/qfontdatabase.h>
#include <qpa/qplatformtheme.h>
#include <private/qfont_p.h>
#include <private/qfontengine_p.h>
#include <private/qfontengine_coretext_p.h>
#include "qcocoafontdialoghelper.h"
#include "qcocoahelpers.h"
#include "qcocoaeventdispatcher.h"
#include "qnsview.h"
Include dependency graph for qcocoafontdialoghelper.mm:

Go to the source code of this file.

Classes

category  QT_MANGLE_NAMESPACE(QNSFontPanelDelegate)
category  QNSView(FontPanel)
class  QCocoaFontPanel

Typedefs

typedef float CGFloat

Functions

static QT_USE_NAMESPACE QFont qfontForCocoaFont (NSFont *cocoaFont, const QFont &resolveFont)
 QT_NAMESPACE_ALIAS_OBJC_CLASS (QNSFontPanelDelegate)

Variables

QCocoaFontDialogHelpermHelper
NSView * mStolenContentView
QNSPanelContentsWrappermPanelButtons
QFont mQtFont
NSInteger mResultCode
BOOL mDialogIsExecuting
BOOL mResultSet

Typedef Documentation

◆ CGFloat

typedef float CGFloat

Definition at line 21 of file qcocoafontdialoghelper.mm.

Function Documentation

◆ qfontForCocoaFont()

QT_USE_NAMESPACE QFont qfontForCocoaFont ( NSFont * cocoaFont,
const QFont & resolveFont )
static

Definition at line 26 of file qcocoafontdialoghelper.mm.

◆ QT_NAMESPACE_ALIAS_OBJC_CLASS()

QT_NAMESPACE_ALIAS_OBJC_CLASS ( QNSFontPanelDelegate )

Variable Documentation

◆ mDialogIsExecuting

BOOL mDialogIsExecuting

Definition at line 59 of file qcocoafontdialoghelper.mm.

◆ mHelper

Initial value:
{
@public
NSFontPanel *mFontPanel

Definition at line 54 of file qcocoafontdialoghelper.mm.

◆ mPanelButtons

QNSPanelContentsWrapper* mPanelButtons

Definition at line 56 of file qcocoafontdialoghelper.mm.

◆ mQtFont

QFont mQtFont

Definition at line 57 of file qcocoafontdialoghelper.mm.

◆ mResultCode

NSInteger mResultCode

Definition at line 58 of file qcocoafontdialoghelper.mm.

◆ mResultSet

BOOL mResultSet

Definition at line 60 of file qcocoafontdialoghelper.mm.

◆ mStolenContentView

NSView* mStolenContentView

Definition at line 55 of file qcocoafontdialoghelper.mm.