![]() |
Qt 6.x
The Qt SDK
|
#include "qxcbscreen.h"
#include "qxcbwindow.h"
#include "qxcbcursor.h"
#include "qxcbimage.h"
#include "qnamespace.h"
#include "qxcbxsettings.h"
#include <stdio.h>
#include <QDebug>
#include <QtAlgorithms>
#include <qpa/qwindowsysteminterface.h>
#include <private/qmath_p.h>
#include <QtGui/private/qhighdpiscaling_p.h>
Go to the source code of this file.
Functions | |
static QSizeF | sizeInMillimeters (const QSize &size, const QDpi &dpi) |
static bool | parseXftInt (const QByteArray &stringValue, int *value) |
static bool | parseXftDpi (const QByteArray &stringValue, int *value) |
static QFontEngine::HintStyle | parseXftHintStyle (const QByteArray &stringValue) |
static QFontEngine::SubpixelAntialiasingType | parseXftRgba (const QByteArray &stringValue) |
static bool | translate (xcb_connection_t *connection, xcb_window_t child, xcb_window_t parent, int *x, int *y) |
static void | formatRect (QDebug &debug, const QRect r) |
static void | formatSizeF (QDebug &debug, const QSizeF s) |
QDebug | operator<< (QDebug debug, const QXcbScreen *screen) |
Definition at line 1107 of file qxcbscreen.cpp.
References debug, Qt::forcesign(), and Qt::noforcesign().
Referenced by operator<<().
Definition at line 1113 of file qxcbscreen.cpp.
References debug.
Referenced by operator<<().
QDebug operator<< | ( | QDebug | debug, |
const QXcbScreen * | screen | ||
) |
Definition at line 1118 of file qxcbscreen.cpp.
References QScreen::availableGeometry, debug, QScreen::depth, QScreen::devicePixelRatio, Qt::fixed(), formatRect(), formatSizeF(), QScreen::geometry, QSize::height(), Qt::hex(), QScreen::name, QScreen::orientation, QScreen::physicalSize, qSetRealNumberPrecision(), QScreen::refreshRate, screen, QScreen::size, and QSize::width().
|
static |
Definition at line 309 of file qxcbscreen.cpp.
References ok, parseXftInt(), Q_ASSERT, qRound(), and QByteArray::toDouble().
|
static |
Definition at line 319 of file qxcbscreen.cpp.
References QFontEngine::HintFull, QFontEngine::HintLight, QFontEngine::HintMedium, and QFontEngine::HintNone.
|
static |
Definition at line 301 of file qxcbscreen.cpp.
References ok, Q_ASSERT, and QByteArray::toInt().
Referenced by parseXftDpi().
|
static |
Definition at line 333 of file qxcbscreen.cpp.
References QFontEngine::Subpixel_BGR, QFontEngine::Subpixel_None, QFontEngine::Subpixel_RGB, QFontEngine::Subpixel_VBGR, and QFontEngine::Subpixel_VRGB.
Definition at line 284 of file qxcbscreen.cpp.
References Q_MM_PER_INCH.
Referenced by QXcbScreen::updateGeometry().
|
inlinestatic |
Definition at line 985 of file qxcbscreen.cpp.
References child, connection, parent, and Q_XCB_REPLY_UNCHECKED.
Referenced by convert_Indexed8_to_Alpha8(), convert_Indexed8_to_Grayscale8(), QVideoTextureHelper::SubtitleLayout::draw(), QXcbDrag::findXdndAwareTarget(), QXcbScreen::grabWindow(), BasicOperations::paintEvent(), QPainterPath::translate(), and QOpenGL2PaintEngineExPrivate::updateBrushUniforms().