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>.
|
#include "qioswindow.h"
#include "qiosapplicationdelegate.h"
#include "qiosglobal.h"
#include "qiosintegration.h"
#include "qiosscreen.h"
#include "qiosviewcontroller.h"
#include "quiview.h"
#include "qiosinputcontext.h"
#include <QtCore/private/qcore_mac_p.h>
#include <QtGui/private/qwindow_p.h>
#include <QtGui/private/qhighdpiscaling_p.h>
#include <qpa/qplatformintegration.h>
#include <QtDebug>
#include "moc_qioswindow.cpp"
Go to the source code of this file.
Enumerations | |
enum | { defaultWindowWidth = 160 , defaultWindowHeight = 160 } |
Functions | |
QDebug | operator<< (QDebug debug, const QIOSWindow *window) |
QUIView * | quiview_cast (UIView *view) |
Returns the view cast to a QUIview if possible. | |
anonymous enum |
Enumerator | |
---|---|
defaultWindowWidth | |
defaultWindowHeight |
Definition at line 32 of file qioswindow.mm.
QDebug operator<< | ( | QDebug | debug, |
const QIOSWindow * | window ) |
Definition at line 438 of file qioswindow.mm.
References debug, and window().
QUIView * quiview_cast | ( | UIView * | view | ) |
Returns the view cast to a QUIview if possible.
If the view is not a QUIview, nil is returned, which is safe to send messages to, effectively making [quiview_cast(view) message] a no-op.
For extra verbosity and clearer code, please consider checking that the platform window is not a foreign window before using this cast, via QPlatformWindow::isForeignWindow().
Do not use this method solely to check for foreign windows, as that will make the code harder to read for people not working primarily on iOS, who do not know the difference between the UIView and QUIView cases.
Definition at line 466 of file qioswindow.mm.
References view.
Referenced by QIOSWindow::~QIOSWindow(), QIOSWindow::clearAccessibleCache(), QIOSWindow::setParent(), and QIOSWindow::setVisible().