Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qiosglobal.mm File Reference

(9f618f120c5eb715ec9cbf9120bcb0daf5a97912)

#include "qiosglobal.h"
#include "qiosapplicationdelegate.h"
#include "qiosviewcontroller.h"
#include "qiosscreen.h"
#include "quiwindow.h"
#include "qioseventdispatcher.h"
#include <QtCore/private/qcore_mac_p.h>
Include dependency graph for qiosglobal.mm:

Go to the source code of this file.

Classes

class  QtFirstResponderEvent

Functions

QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY (lcQpaApplication, "qt.qpa.application")
 Q_LOGGING_CATEGORY (lcQpaInputMethods, "qt.qpa.input.methods", QtCriticalMsg)
 Q_LOGGING_CATEGORY (lcQpaWindow, "qt.qpa.window")
 Q_LOGGING_CATEGORY (lcQpaWindowScene, "qt.qpa.window.scene")
bool isQtApplication ()
bool isRunningOnVisionOS ()
Qt::ScreenOrientation toQtScreenOrientation (UIDeviceOrientation uiDeviceOrientation)
UIDeviceOrientation fromQtScreenOrientation (Qt::ScreenOrientation qtOrientation)
int infoPlistValue (NSString *key, int defaultValue)
UIWindow * presentationWindow (QWindow *window)
UIView * rootViewForScreen (const QPlatformScreen *screen)

Function Documentation

◆ fromQtScreenOrientation()

UIDeviceOrientation fromQtScreenOrientation ( Qt::ScreenOrientation qtOrientation)

Definition at line 67 of file qiosglobal.mm.

◆ infoPlistValue()

int infoPlistValue ( NSString * key,
int defaultValue )

Definition at line 90 of file qiosglobal.mm.

◆ isQtApplication()

bool isQtApplication ( )

Definition at line 21 of file qiosglobal.mm.

Referenced by QIOSWindow::setVisible().

Here is the caller graph for this function:

◆ isRunningOnVisionOS()

bool isRunningOnVisionOS ( )

Definition at line 32 of file qiosglobal.mm.

Referenced by QIOSWindow::setWindowState().

Here is the caller graph for this function:

◆ presentationWindow()

UIWindow * presentationWindow ( QWindow * window)

Definition at line 97 of file qiosglobal.mm.

◆ Q_LOGGING_CATEGORY() [1/4]

QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY ( lcQpaApplication ,
"qt.qpa.application"  )

◆ Q_LOGGING_CATEGORY() [2/4]

Q_LOGGING_CATEGORY ( lcQpaInputMethods ,
"qt.qpa.input.methods" ,
QtCriticalMsg  )

◆ Q_LOGGING_CATEGORY() [3/4]

Q_LOGGING_CATEGORY ( lcQpaWindow ,
"qt.qpa.window"  )

◆ Q_LOGGING_CATEGORY() [4/4]

Q_LOGGING_CATEGORY ( lcQpaWindowScene ,
"qt.qpa.window.scene"  )

◆ rootViewForScreen()

UIView * rootViewForScreen ( const QPlatformScreen * screen)

Definition at line 112 of file qiosglobal.mm.

◆ toQtScreenOrientation()

Qt::ScreenOrientation toQtScreenOrientation ( UIDeviceOrientation uiDeviceOrientation)

Definition at line 42 of file qiosglobal.mm.