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

(76ebf51bc08f6af624a8540e7af88b9129b22ae1)

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

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:72
void debug(const char *msg,...) const Q_ATTRIBUTE_FORMAT_PRINTF(2
Logs a debug message specified with format msg.
Definition qlogging.cpp:389
#define QT_MESSAGELOG_FUNC
Definition qlogging.h:157
#define QT_MESSAGELOG_FILE
Definition qlogging.h:155
#define QT_MESSAGELOG_LINE
Definition qlogging.h:156

Definition at line 20 of file qiosglobal.h.

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_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 ( 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)