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_p.h File Reference

(113d28a4b7b969f2ceea59888502827012124514)

#include <QtWidgets/private/qtwidgetsglobal_p.h>
#include <QtCore/qpoint.h>
#include <QtCore/qstring.h>
#include <QtGui/qpaintdevice.h>
#include <QtGui/qpolygon.h>
#include <QtCore/qstringbuilder.h>
#include <QtGui/qaccessible.h>
#include <QtGui/qpainter.h>
#include <QtGui/qguiapplication.h>
#include <QtWidgets/qwidget.h>
#include <private/qhexstring_p.h>
Include dependency graph for qstylehelper_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  QStyleHelper

Enumerations

enum  QStyleHelper::WidgetSizePolicy { QStyleHelper::SizeLarge = 0 , QStyleHelper::SizeSmall = 1 , QStyleHelper::SizeMini = 2 , QStyleHelper::SizeDefault = -1 }

Functions

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)
static qreal QStyleHelper::getDpr (const QWidget *widget)
static qreal QStyleHelper::getDpr (const QPainter *painter)