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
qwindow.cpp File Reference

(4585cacaa9f9329a10aaf13a449151f5e9bc7a2c)

#include "qwindow.h"
#include <qpa/qplatformwindow.h>
#include <qpa/qplatformintegration.h>
#include <qpa/qplatformtheme.h>
#include "qsurfaceformat.h"
#include <qpa/qplatformopenglcontext.h>
#include "qopenglcontext.h"
#include "qopenglcontext_p.h"
#include "qscreen.h"
#include "qwindow_p.h"
#include "qguiapplication_p.h"
#include "qhighdpiscaling_p.h"
#include <private/qevent_p.h>
#include <QtCore/QTimer>
#include <QtCore/QDebug>
#include <QStyleHints>
#include <qpa/qplatformcursor.h>
#include <qpa/qplatformwindow_p.h>
#include "moc_qwindow.cpp"
+ Include dependency graph for qwindow.cpp:

Go to the source code of this file.

Functions

static QWindownonDesktopParent (QWindow *parent)
 
Q_GUI_EXPORT QWindowPrivateqt_window_private (QWindow *window)
 
QDebug operator<< (QDebug debug, const QWindow *window)
 

Variables

static constexpr auto kForeignWindowId = "_q_foreignWinId"
 

Function Documentation

◆ nonDesktopParent()

static QWindow * nonDesktopParent ( QWindow * parent)
static

Definition at line 134 of file qwindow.cpp.

References Qt::Desktop, and qWarning.

Referenced by QWindow::QWindow().

+ Here is the caller graph for this function:

◆ operator<<()

QDebug operator<< ( QDebug debug,
const QWindow * window )

Definition at line 3166 of file qwindow.cpp.

References debug, Qt::dec(), Qt::forcesign(), QRect::height(), Qt::hex(), QMargins::isNull(), QScreen::name, Qt::noforcesign(), screen, QRect::width(), window(), QRect::x(), and QRect::y().

+ Here is the call graph for this function:

◆ qt_window_private()

Variable Documentation

◆ kForeignWindowId

constexpr auto kForeignWindowId = "_q_foreignWinId"
staticconstexpr

Definition at line 524 of file qwindow.cpp.

Referenced by QWindowPrivate::create().