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

(1f667ba70e91563c2b508a70291fdac8a814c150)

#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")
 
 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 (QScreen *screen)
 

Function Documentation

◆ fromQtScreenOrientation()

UIDeviceOrientation fromQtScreenOrientation ( Qt::ScreenOrientation qtOrientation)

◆ infoPlistValue()

int infoPlistValue ( NSString * key,
int defaultValue )

Definition at line 89 of file qiosglobal.mm.

Referenced by qt_main_wrapper().

+ Here is the caller graph for this function:

◆ isQtApplication()

bool isQtApplication ( )

Definition at line 20 of file qiosglobal.mm.

References QIOSEventDispatcher::isQtApplication().

Referenced by QIOSEventDispatcher::create(), QtAndroid::qtActivityDelegate(), QIOSWindow::setParent(), and QIOSWindow::setVisible().

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

◆ isRunningOnVisionOS()

bool isRunningOnVisionOS ( )

Definition at line 31 of file qiosglobal.mm.

Referenced by QIOSWindow::setWindowState().

+ Here is the caller graph for this function:

◆ presentationWindow()

UIWindow * presentationWindow ( QWindow * window)

Definition at line 96 of file qiosglobal.mm.

References qt_apple_sharedApplication(), and window().

Referenced by QIOSColorDialog::show(), QIOSFontDialog::show(), and QIOSMessageDialog::show().

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

◆ 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"  )

◆ 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 ( QScreen * screen)

Definition at line 111 of file qiosglobal.mm.

References QScreen::handle(), Q_UNUSED, qt_apple_sharedApplication(), scene, screen, and win.

Referenced by QIOSScreen::grabWindow(), and QIOSWindow::setParent().

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

◆ toQtScreenOrientation()

Qt::ScreenOrientation toQtScreenOrientation ( UIDeviceOrientation uiDeviceOrientation)