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
qcocoafontdialoghelper.mm File Reference

(6430d1db636962ed25dd1c14a2d7ae548bafb948)

#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 dependency graph for qcocoafontdialoghelper.mm:

Go to the source code of this file.

Classes

category  QT_MANGLE_NAMESPACE(QNSFontPanelDelegate)
 
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 19 of file qcocoafontdialoghelper.mm.

Function Documentation

◆ qfontForCocoaFont()

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

Definition at line 24 of file qcocoafontdialoghelper.mm.

References QFontDatabase::font(), font, qRound(), QFont::strikeOut(), and QFont::underline().

+ Here is the call graph for this function:

◆ QT_NAMESPACE_ALIAS_OBJC_CLASS()

QT_NAMESPACE_ALIAS_OBJC_CLASS ( QNSFontPanelDelegate )

Variable Documentation

◆ mDialogIsExecuting

BOOL mDialogIsExecuting

Definition at line 57 of file qcocoafontdialoghelper.mm.

◆ mHelper

Initial value:
{
@public
NSFontPanel *mFontPanel

Definition at line 52 of file qcocoafontdialoghelper.mm.

◆ mPanelButtons

QNSPanelContentsWrapper* mPanelButtons

Definition at line 54 of file qcocoafontdialoghelper.mm.

◆ mQtFont

QFont mQtFont

Definition at line 55 of file qcocoafontdialoghelper.mm.

◆ mResultCode

NSInteger mResultCode

Definition at line 56 of file qcocoafontdialoghelper.mm.

◆ mResultSet

BOOL mResultSet

Definition at line 58 of file qcocoafontdialoghelper.mm.

◆ mStolenContentView

NSView* mStolenContentView

Definition at line 53 of file qcocoafontdialoghelper.mm.