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.h File Reference

(9f618f120c5eb715ec9cbf9120bcb0daf5a97912)

import <UIKit/UIKit.h>
#include <QtCore/QtCore>
Include dependency graph for qiosglobal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

category  UIResponder(QtFirstResponder)
class  FirstResponderCandidate

Macros

#define qImDebug

Functions

QT_BEGIN_NAMESPACE Q_DECLARE_LOGGING_CATEGORY (lcQpaApplication)
 Q_DECLARE_LOGGING_CATEGORY (lcQpaInputMethods)
 Q_DECLARE_LOGGING_CATEGORY (lcQpaWindow)
 Q_DECLARE_LOGGING_CATEGORY (lcQpaWindowScene)
bool isQtApplication ()
bool isRunningOnVisionOS ()
Qt::ScreenOrientation toQtScreenOrientation (UIDeviceOrientation uiDeviceOrientation)
UIDeviceOrientation fromQtScreenOrientation (Qt::ScreenOrientation qtOrientation)
int infoPlistValue (NSString *key, int defaultValue)
UIWindow * presentationWindow (QWindow *)
UIView * rootViewForScreen (const QPlatformScreen *)

Macro Definition Documentation

◆ qImDebug

#define qImDebug
Value:
for (bool qt_category_enabled = lcQpaInputMethods().isDebugEnabled(); qt_category_enabled; qt_category_enabled = false) \
\inmodule QtCore
Definition qlogging.h:73
void debug(const char *msg,...) const Q_ATTRIBUTE_FORMAT_PRINTF(2
Logs a debug message specified with format msg.
Definition qlogging.cpp:421
#define QT_MESSAGELOG_FUNC
Definition qlogging.h:161
#define QT_MESSAGELOG_FILE
Definition qlogging.h:159
#define QT_MESSAGELOG_LINE
Definition qlogging.h:160

Definition at line 21 of file qiosglobal.h.

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_DECLARE_LOGGING_CATEGORY() [1/4]

QT_BEGIN_NAMESPACE Q_DECLARE_LOGGING_CATEGORY ( lcQpaApplication )

◆ Q_DECLARE_LOGGING_CATEGORY() [2/4]

Q_DECLARE_LOGGING_CATEGORY ( lcQpaInputMethods )

◆ Q_DECLARE_LOGGING_CATEGORY() [3/4]

Q_DECLARE_LOGGING_CATEGORY ( lcQpaWindow )

◆ Q_DECLARE_LOGGING_CATEGORY() [4/4]

Q_DECLARE_LOGGING_CATEGORY ( lcQpaWindowScene )

◆ 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.