Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qstylehelper.cpp File Reference

(113d28a4b7b969f2ceea59888502827012124514)

#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)
Q_WIDGETS_EXPORT 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)
Q_WIDGETS_EXPORT void QStyleHelper::drawBorderPixmap (const QPixmap &pixmap, QPainter *painter, const QRect &rect, int left=0, int top=0, int right=0, int bottom=0)
Q_WIDGETS_EXPORT QColor QStyleHelper::backgroundColor (const QPalette &pal, const QWidget *widget=nullptr)
Q_WIDGETS_EXPORT WidgetSizePolicy QStyleHelper::widgetSizePolicy (const QWidget *w, const QStyleOption *opt=nullptr)

Variables

static const qreal QStyleHelper::qstyleBaseDpi = 96

Function Documentation

◆ qt_defaultDpiX()

QT_BEGIN_NAMESPACE Q_GUI_EXPORT int qt_defaultDpiX ( )

Definition at line 113 of file qfont.cpp.