Qt 4.8
|
#include "qmacdefines_mac.h"
#include <CoreServices/CoreServices.h>
#include "QtCore/qglobal.h"
#include "QtCore/qvariant.h"
#include "QtCore/qmimedata.h"
#include "QtCore/qpointer.h"
#include "private/qcore_mac_p.h"
#include "QtGui/qpainter.h"
#include <Carbon/Carbon.h>
Go to the source code of this file.
Classes | |
class | QMacCGContext |
class | QMacCocoaAutoReleasePool |
struct | QMacDndAnswerRecord |
class | QMacPasteboard |
struct | QMacPasteboard::Promise |
class | QMacSmartQuickDrawRegion |
class | QMacWindowChangeEvent |
class | QMacWindowFader |
Enumerations | |
enum | { typeAEClipboardChanged = 1, typeQWidget = 1, kEventParamQWidget = 'qwid', kEventQtRequestContext = 13, kEventQtRequestMenubarUpdate = 14, kEventQtRequestShowSheet = 17, kEventQtRequestActivate = 18, kEventQtRequestWindowChange = 20 } |
Functions | |
QColor | qcolorForTheme (ThemeBrush brush) |
QColor | qcolorForThemeTextColor (ThemeTextColor themeColor) |
QFont | qfontForThemeFont (ThemeFontID themeID) |
void | qt_mac_copy_answer_rect (const QDragMoveEvent &event) |
bool | qt_mac_mouse_inside_answer_rect (QPoint mouse) |
QPoint | qt_mac_nativeMapFromParent (const QWidget *child, const QPoint &pt) |
OSViewRef | qt_mac_nativeview_for (const QWidget *) |
QString | qt_mac_removeMnemonics (const QString &original) |
OSWindowRef | qt_mac_window_for (const QWidget *) |
Variables | |
const UInt32 | kEventClassQt = 'Cute' |
QMacDndAnswerRecord | qt_mac_dnd_answer_rec |
QPaintDevice * | qt_mac_safe_pdev |
anonymous enum |
Enumerator | |
---|---|
typeAEClipboardChanged | |
typeQWidget | |
kEventParamQWidget | |
kEventQtRequestContext | |
kEventQtRequestMenubarUpdate | |
kEventQtRequestShowSheet | |
kEventQtRequestActivate | |
kEventQtRequestWindowChange |
Definition at line 95 of file qt_mac_p.h.
QColor qcolorForTheme | ( | ThemeBrush | brush | ) |
Definition at line 110 of file qt_mac.cpp.
Referenced by QApplicationPrivate::initializeWidgetPaletteHash(), and QMacStyle::polish().
QColor qcolorForThemeTextColor | ( | ThemeTextColor | themeColor | ) |
Definition at line 128 of file qt_mac.cpp.
Referenced by QApplicationPrivate::initializeWidgetPaletteHash().
QFont qfontForThemeFont | ( | ThemeFontID | themeID | ) |
Definition at line 56 of file qt_mac.cpp.
void qt_mac_copy_answer_rect | ( | const QDragMoveEvent & | event | ) |
If an answer rect has been set on the event (after being sent to the global event processor), we store that rect so we can check if the mouse is in the same area upon next drag move event.
Definition at line 318 of file qdnd_mac.mm.
Referenced by QMacDndAnswerRecord::clear(), and qt_mac_mouse_inside_answer_rect().
bool qt_mac_mouse_inside_answer_rect | ( | QPoint | mouse | ) |
Definition at line 328 of file qdnd_mac.mm.
Referenced by QMacDndAnswerRecord::clear(), and qt_mac_mouse_inside_answer_rect().
Definition at line 3576 of file qwidget_mac.mm.
Referenced by QWidgetPrivate::childAtRecursiveHelper().
Definition at line 419 of file qwidget_mac.mm.
Referenced by QMenuPrivate::QMacMenuPrivate::addAction(), QWidgetPrivate::create_sys(), QWidget::destroy(), QWidgetPrivate::hide_sys(), QWidgetPrivate::lower_sys(), make_widget_eventUPP(), make_win_eventUPP(), QWidget::mapFromGlobal(), QWidget::mapToGlobal(), QWidget::metric(), qt_mac_dispatchPendingUpdateRequests(), qt_mac_handleTabletEvent(), qt_mac_nativeMapFromParent(), qt_mac_post_retranslateAppMenu(), qt_mac_tablet_hash(), qt_mac_unregister_widget(), qt_mac_update_intersected_gl_widgets(), qt_mac_update_mouseTracking(), qt_mac_update_widget_position(), qt_mac_window_for(), QWidgetPrivate::raise_sys(), QWidgetPrivate::registerDropSite(), QWidgetPrivate::scroll_sys(), QWidgetPrivate::setFocus_sys(), QWidgetPrivate::setGeometry_sys(), QWidgetPrivate::setMask_sys(), QWidgetPrivate::setModal_sys(), QWidgetPrivate::setParent_sys(), QWidgetPrivate::show_sys(), QWidgetPrivate::stackUnder_sys(), QGLContext::updatePaintDevice(), and updateRedirectedToGraphicsProxyWidget().
Definition at line 398 of file qmacstyle_mac.mm.
Referenced by QMacStyle::drawComplexControl(), QMacStyle::drawControl(), QMacCocoaAutoReleasePool::handle(), qt_aqua_get_known_size(), qt_mac_menu_merge_action(), QMacStyle::subControlRect(), QMenuBarPrivate::QMacMenuBarPrivate::syncAction(), and QMenuPrivate::QMacMenuPrivate::syncAction().
OSWindowRef qt_mac_window_for | ( | const QWidget * | ) |
Definition at line 484 of file qwidget_mac.mm.
const UInt32 kEventClassQt = 'Cute' |
Definition at line 92 of file qt_mac_p.h.
Referenced by QApplicationPrivate::globalEventProcessor(), macWindowFade(), QEventDispatcherMac::processEvents(), qt_event_activate_timer_callbk(), qt_event_request_context(), qt_event_request_menubarupdate(), qt_event_request_showsheet(), qt_event_request_window_change(), and qt_event_send_clipboard_changed().
QMacDndAnswerRecord qt_mac_dnd_answer_rec |
Definition at line 67 of file qdnd_mac.mm.
Referenced by QMacDndAnswerRecord::clear().
QPaintDevice* qt_mac_safe_pdev |
Definition at line 166 of file qapplication_mac.mm.