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

(5e699c2a8b50be1c02e354171c98953c4d95c79d)

#include <AppKit/AppKit.h>
#include <QuartzCore/QuartzCore.h>
#include "qcocoawindow.h"
#include "qcocoaintegration.h"
#include "qcocoascreen.h"
#include "qnswindowdelegate.h"
#include "qcocoaeventdispatcher.h"
#include "qcocoaglcontext.h"
#include "qcocoahelpers.h"
#include "qcocoanativeinterface.h"
#include "qnsview.h"
#include "qnswindow.h"
#include <QtCore/qfileinfo.h>
#include <QtCore/private/qcore_mac_p.h>
#include <qwindow.h>
#include <private/qwindow_p.h>
#include <qpa/qwindowsysteminterface.h>
#include <qpa/qplatformscreen.h>
#include <QtGui/private/qcoregraphics_p.h>
#include <QtGui/private/qhighdpiscaling_p.h>
#include <QDebug>
#include <vector>
#include "moc_qcocoawindow.cpp"
+ Include dependency graph for qcocoawindow.mm:

Go to the source code of this file.

Enumerations

enum  { defaultWindowWidth = 160 , defaultWindowHeight = 160 }
 

Functions

 Q_LOGGING_CATEGORY (lcCocoaNotifications, "qt.qpa.cocoa.notifications")
 
static void qRegisterNotificationCallbacks ()
 
QDebug operator<< (QDebug debug, const QCocoaWindow *window)
 

Variables

const NSNotificationName QCocoaWindowWillReleaseQNSViewNotification = @"@"QCocoaWindowWillReleaseQNSViewNotification"
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
defaultWindowWidth 
defaultWindowHeight 

Definition at line 34 of file qcocoawindow.mm.

Function Documentation

◆ operator<<()

QDebug operator<< ( QDebug debug,
const QCocoaWindow * window )

Definition at line 2089 of file qcocoawindow.mm.

References debug, and window().

+ Here is the call graph for this function:

◆ Q_LOGGING_CATEGORY()

Q_LOGGING_CATEGORY ( lcCocoaNotifications ,
"qt.qpa.cocoa.notifications"  )

◆ qRegisterNotificationCallbacks()

static void qRegisterNotificationCallbacks ( )
static

Definition at line 41 of file qcocoawindow.mm.

References QGuiApplication::allWindows(), Qt::DirectConnection, QString::fromLatin1(), i, metaObject(), QMetaType::metaObject(), method, QString::mid(), Q_ASSERT, Q_NOTIFICATION_PREFIX, qCDebug, qCWarning, qnsview_cast(), qPrintable, queue, and window().

+ Here is the call graph for this function:

Variable Documentation

◆ QCocoaWindowWillReleaseQNSViewNotification

const NSNotificationName QCocoaWindowWillReleaseQNSViewNotification = @"@"QCocoaWindowWillReleaseQNSViewNotification"

Definition at line 144 of file qcocoawindow.mm.

Referenced by QCocoaWindow::~QCocoaWindow().