Qt 4.8
|
#include "qfontdialog_p.h"
#include <qapplication.h>
#include <qdialogbuttonbox.h>
#include <qlineedit.h>
#include <private/qapplication_p.h>
#include <private/qfont_p.h>
#include <private/qfontengine_p.h>
#include <private/qt_cocoa_helpers_mac_p.h>
#include <private/qt_mac_p.h>
#include <qabstracteventdispatcher.h>
#include <qdebug.h>
#include <private/qfontengine_coretext_p.h>
#import <AppKit/AppKit.h>
#import <Foundation/Foundation.h>
Go to the source code of this file.
Classes | |
protocol | <NSWindowDelegate > |
class | QCocoaFontPanelDelegate |
Typedefs | |
typedef float | CGFloat |
Functions | |
NSButton * | macCreateButton (const char *text, NSView *superview) |
void | macStartInterceptNSPanelCtor () |
void | macStopInterceptNSPanelCtor () |
static QFont | qfontForCocoaFont (NSFont *cocoaFont, const QFont &resolveFont) |
bool | qt_mac_is_macsheet (const QWidget *w) |
Variables | |
const CGFloat | ButtonBottomMargin = 7.0 |
const CGFloat | ButtonMinHeight = 32.0 |
const CGFloat | ButtonMinWidth = 78.0 |
const CGFloat | ButtonSideMargin = 9.0 |
const CGFloat | ButtonSpacing = 0.0 |
const CGFloat | ButtonTopMargin = 0.0 |
const CGFloat | DialogSideMargin = 9.0 |
const CGFloat | DialogTopMargin = 7.0 |
const int | StyleMask = NSTitledWindowMask | NSClosableWindowMask | NSResizableWindowMask |
typedef float CGFloat |
Definition at line 59 of file qfontdialog_mac.mm.
NSButton* macCreateButton | ( | const char * | text, |
NSView * | superview | ||
) |
Definition at line 211 of file qnspanelproxy_mac.mm.
Referenced by QFontDialogPrivate::createNSFontPanelDelegate().
void macStartInterceptNSPanelCtor | ( | ) |
Definition at line 150 of file qnspanelproxy_mac.mm.
void macStopInterceptNSPanelCtor | ( | ) |
Definition at line 169 of file qnspanelproxy_mac.mm.
Definition at line 139 of file qfontdialog_mac.mm.
bool qt_mac_is_macsheet | ( | const QWidget * | w | ) |
Definition at line 295 of file qwidget_mac.mm.
Referenced by QFontDialogPrivate::showCocoaFontPanel().
const CGFloat ButtonBottomMargin = 7.0 |
Definition at line 77 of file qfontdialog_mac.mm.
Referenced by QFontDialogPrivate::createNSFontPanelDelegate().
const CGFloat ButtonMinHeight = 32.0 |
Definition at line 74 of file qfontdialog_mac.mm.
Referenced by QFontDialogPrivate::createNSFontPanelDelegate().
const CGFloat ButtonMinWidth = 78.0 |
Definition at line 73 of file qfontdialog_mac.mm.
const CGFloat ButtonSideMargin = 9.0 |
Definition at line 78 of file qfontdialog_mac.mm.
const CGFloat ButtonSpacing = 0.0 |
Definition at line 75 of file qfontdialog_mac.mm.
const CGFloat ButtonTopMargin = 0.0 |
Definition at line 76 of file qfontdialog_mac.mm.
Referenced by QFontDialogPrivate::createNSFontPanelDelegate().
const CGFloat DialogSideMargin = 9.0 |
Definition at line 82 of file qfontdialog_mac.mm.
Referenced by QFontDialogPrivate::createNSFontPanelDelegate().
const CGFloat DialogTopMargin = 7.0 |
Definition at line 81 of file qfontdialog_mac.mm.
Referenced by QFontDialogPrivate::createNSFontPanelDelegate().
const int StyleMask = NSTitledWindowMask | NSClosableWindowMask | NSResizableWindowMask |
Definition at line 84 of file qfontdialog_mac.mm.