Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qplatformwindow.cpp File Reference
#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, QList< T >::size(), 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.

References QSize::setWidth().

Referenced by QPlatformWindow::initialGeometry().

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