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

(041ca2a3a818955ebcbbc0acd164138ffd561a6c)

#include "qplatformwindow.h"
#include "qplatformwindow_p.h"
#include "qplatformscreen.h"
#include <private/qguiapplication_p.h>
#include <qpa/qwindowsysteminterface.h>
#include <QtGui/qwindow.h>
#include <QtGui/qscreen.h>
#include <private/qhighdpiscaling_p.h>
#include <private/qwindow_p.h>
+ Include dependency graph for qplatformwindow.cpp:

Go to the source code of this file.

Functions

static const QScreeneffectiveScreen (const QWindow *window)
 
static QSize fixInitialSize (QSize size, const QWindow *w, int deviceIndependentDefaultWidth, int deviceIndependentDefaultHeight)
 

Function Documentation

◆ effectiveScreen()

static const QScreen * effectiveScreen ( const QWindow * window)
inlinestatic

Definition at line 609 of file qplatformwindow.cpp.

References QCursor::pos(), QGuiApplication::primaryScreen, screen, QScreen::virtualSiblings(), and window().

Referenced by QPlatformWindow::initialGeometry().

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

◆ fixInitialSize()

static QSize fixInitialSize ( QSize size,
const QWindow * w,
int deviceIndependentDefaultWidth,
int deviceIndependentDefaultHeight )
static

Definition at line 645 of file qplatformwindow.cpp.

Referenced by QPlatformWindow::initialGeometry().

+ Here is the caller graph for this function: