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 "qquickstylehelper_p.h"
#include "qquickstyleoption.h"
#include "qquickstyle_p.h"
#include <QtCore/qmath.h>
#include <QtGui/qpainter.h>
#include <QtGui/qpixmapcache.h>
#include <QtGui/qwindow.h>
#include <QtGui/private/qhighdpiscaling_p.h>
#include <QtGui/private/qguiapplication_p.h>
#include <QtGui/private/qmath_p.h>
#include <QtGui/private/qhexstring_p.h>
#include <qmetaobject.h>
#include <qstringbuilder.h>
Go to the source code of this file.
Namespaces | |
namespace | QQC2 |
namespace | QQC2::QStyleHelper |
Variables | |
static const qreal | QQC2::QStyleHelper::qstyleBaseDpi = 96 |
QT_BEGIN_NAMESPACE Q_GUI_EXPORT int qt_defaultDpiX | ( | ) |
Definition at line 110 of file qfont.cpp.
References Qt::AA_Use96Dpi, QCoreApplication::instance(), QScreen::logicalDotsPerInchX, QGuiApplication::primaryScreen, qRound(), qt_is_tty_app, and screen.
Referenced by QFakeDevice::QFakeDevice(), QStyleHelper::dpi(), QAlphaPaintEngine::flushAndInit(), QPicture::metric(), QBlittablePlatformPixmap::metric(), QRasterPlatformPixmap::metric(), QOpenGLWidget::metric(), QTextDocument::print(), and QQuickLayoutStyleInfo::spacing().