5#ifndef QQC2QSTYLEHELPER_P_H
6#define QQC2QSTYLEHELPER_P_H
19#include <private/qglobal_p.h>
21#include <QtGui/qpaintdevice.h>
22#include <QtGui/qpolygon.h>
24#include <QtCore/qpoint.h>
25#include <QtCore/qstring.h>
26#include <QtCore/qstringbuilder.h>
28#if QT_CONFIG(accessibility)
29#include <QtGui/qaccessible.h>
52 qreal angle(
const QPointF &p1,
const QPointF &p2);
58 int left = 0,
int top = 0,
int right = 0,
61#if QT_CONFIG(accessibility)
QString uniqueName(const QString &key, const QStyleOption *option, const QSize &size)
int calcBigLineSize(int radius)
QPolygonF calcLines(const QStyleOptionSlider *dial)
static QPointF calcRadialPos(const QStyleOptionSlider *dial, qreal offset)
qreal dpi(const QStyleOption *option)
void drawBorderPixmap(const QPixmap &pixmap, QPainter *painter, const QRect &rect, int left, int top, int right, int bottom)
static const qreal qstyleBaseDpi
qreal dpiScaled(qreal value, const QStyleOption *option)
WidgetSizePolicy widgetSizePolicy(const QStyleOption *opt)
QColor backgroundColor(const QPalette &pal)
qreal dpiScaled(qreal value, const QPaintDevice *device)
qreal dpiScaled(qreal value, qreal dpi)
void drawDial(const QStyleOptionSlider *option, QPainter *painter)
qreal angle(const QPointF &p1, const QPointF &p2)
Combined button and popup list for selecting options.