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

(2a2a30155719d9175f92467a42e0deac5aad3767)

#include <AppKit/AppKit.h>
#include "qcocoascreen.h"
#include "qcocoawindow.h"
#include "qcocoahelpers.h"
#include "qcocoaintegration.h"
#include <QtCore/qcoreapplication.h>
#include <QtGui/private/qcoregraphics_p.h>
#include <IOKit/graphics/IOGraphicsLib.h>
#include <QtGui/private/qwindow_p.h>
#include <QtGui/private/qhighdpiscaling_p.h>
#include <QtCore/private/qcore_mac_p.h>
#include <QtCore/private/qeventdispatcher_cf_p.h>
#include "qcocoascreen.moc"
+ Include dependency graph for qcocoascreen.mm:

Go to the source code of this file.

Classes

struct  DeferredDebugHelper
 

Namespaces

namespace  CoreGraphics
 

Macros

#define qDeferredDebug(helper)   if (Q_UNLIKELY(helper.debug)) *helper.debug
 

Enumerations

enum  CoreGraphics::DisplayChange {
  CoreGraphics::ReconfiguredWithFlagsMissing = 0 , CoreGraphics::Moved = kCGDisplayMovedFlag , CoreGraphics::SetMain = kCGDisplaySetMainFlag , CoreGraphics::SetMode = kCGDisplaySetModeFlag ,
  CoreGraphics::Added = kCGDisplayAddFlag , CoreGraphics::Removed = kCGDisplayRemoveFlag , CoreGraphics::Enabled = kCGDisplayEnabledFlag , CoreGraphics::Disabled = kCGDisplayDisabledFlag ,
  CoreGraphics::Mirrored = kCGDisplayMirrorFlag , CoreGraphics::UnMirrored = kCGDisplayUnMirrorFlag , CoreGraphics::DesktopShapeChanged = kCGDisplayDesktopShapeChangedFlag
}
 

Functions

static QString displayName (CGDirectDisplayID displayID)
 
 Q_LOGGING_CATEGORY (lcQpaScreenUpdates, "qt.qpa.screen.updates", QtCriticalMsg)
 
QDebug operator<< (QDebug debug, const QCocoaScreen *screen)
 

Macro Definition Documentation

◆ qDeferredDebug

#define qDeferredDebug ( helper)    if (Q_UNLIKELY(helper.debug)) *helper.debug

Definition at line 402 of file qcocoascreen.mm.

Referenced by QCocoaScreen::deliverUpdateRequests().

Function Documentation

◆ displayName()

static QString displayName ( CGDirectDisplayID displayID)
static

Definition at line 200 of file qcocoascreen.mm.

References allKeys(), and info.

Referenced by QOffscreenX11Connection::QOffscreenX11Connection(), QXcbIntegration::QXcbIntegration(), DocumentFile::createDirectory(), DocumentsContract::createDocument(), DocumentFile::createFile(), QXcbScreen::defaultName(), QWindowsShellItem::desktopAbsoluteParsing(), QWindowsShellItem::fileSysPath(), QXcbScreen::getName(), QWindowsShellItem::normalDisplay(), DocumentFile::rename(), DocumentsContract::renameDocument(), and QWindowsShellItem::urlString().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator<<()

QDebug operator<< ( QDebug debug,
const QCocoaScreen * screen )

Definition at line 821 of file qcocoascreen.mm.

◆ Q_LOGGING_CATEGORY()

Q_LOGGING_CATEGORY ( lcQpaScreenUpdates ,
"qt.qpa.screen.updates" ,
QtCriticalMsg  )