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

(5e699c2a8b50be1c02e354171c98953c4d95c79d)

#include <qstyleoption.h>
#include <qpainter.h>
#include <qpixmapcache.h>
#include <private/qhighdpiscaling_p.h>
#include <private/qguiapplication_p.h>
#include <private/qmath_p.h>
#include <private/qstyle_p.h>
#include <qmath.h>
#include <qabstractscrollarea.h>
#include <qwindow.h>
#include <qmetaobject.h>
#include "qstylehelper_p.h"
#include <qstringbuilder.h>
+ Include dependency graph for qstylehelper.cpp:

Go to the source code of this file.

Namespaces

namespace  QStyleHelper
 

Functions

QT_BEGIN_NAMESPACE Q_GUI_EXPORT int qt_defaultDpiX ()
 
static bool QStyleHelper::usePixmapCache (const QStyleOption *opt)
 
QString QStyleHelper::uniqueName (const QString &key, const QStyleOption *option, const QSize &size, qreal dpr)
 
Q_WIDGETS_EXPORT qreal QStyleHelper::dpi (const QStyleOption *option)
 
Q_WIDGETS_EXPORT qreal QStyleHelper::dpiScaled (qreal value, qreal dpi)
 
Q_WIDGETS_EXPORT qreal QStyleHelper::dpiScaled (qreal value, const QPaintDevice *device)
 
Q_WIDGETS_EXPORT qreal QStyleHelper::dpiScaled (qreal value, const QStyleOption *option)
 
void QStyleHelper::drawBorderPixmap (const QPixmap &pixmap, QPainter *painter, const QRect &rect, int left, int top, int right, int bottom)
 
QColor QStyleHelper::backgroundColor (const QPalette &pal, const QWidget *widget)
 
WidgetSizePolicy QStyleHelper::widgetSizePolicy (const QWidget *widget, const QStyleOption *opt)
 

Variables

static const qreal QStyleHelper::qstyleBaseDpi = 96
 

Function Documentation

◆ qt_defaultDpiX()

QT_BEGIN_NAMESPACE Q_GUI_EXPORT int qt_defaultDpiX ( )

Definition at line 110 of file qfont.cpp.