QtBase
v6.3.1
|
Enumerations | |
enum | WidgetSizePolicy { SizeLarge = 0 , SizeSmall = 1 , SizeMini = 2 , SizeDefault = -1 } |
Functions | |
QString | uniqueName (const QString &key, const QStyleOption *option, const QSize &size) |
Q_WIDGETS_EXPORT qreal | dpi (const QStyleOption *option) |
Q_WIDGETS_EXPORT qreal | dpiScaled (qreal value, qreal dpi) |
Q_WIDGETS_EXPORT qreal | dpiScaled (qreal value, const QPaintDevice *device) |
Q_WIDGETS_EXPORT qreal | dpiScaled (qreal value, const QStyleOption *option) |
bool | isInstanceOf (QObject *obj, QAccessible::Role role) |
bool | hasAncestor (QObject *obj, QAccessible::Role role) |
void | drawBorderPixmap (const QPixmap &pixmap, QPainter *painter, const QRect &rect, int left, int top, int right, int bottom) |
QColor | backgroundColor (const QPalette &pal, const QWidget *widget) |
WidgetSizePolicy | widgetSizePolicy (const QWidget *widget, const QStyleOption *opt) |
Enumerator | |
---|---|
SizeLarge | |
SizeSmall | |
SizeMini | |
SizeDefault |
Definition at line 101 of file qstylehelper_p.h.
Q_WIDGETS_EXPORT qreal QStyleHelper::dpi | ( | const QStyleOption * | option | ) |
Definition at line 91 of file qstylehelper.cpp.
Q_WIDGETS_EXPORT qreal QStyleHelper::dpiScaled | ( | qreal | value, |
const QPaintDevice * | device | ||
) |
Q_WIDGETS_EXPORT qreal QStyleHelper::dpiScaled | ( | qreal | value, |
const QStyleOption * | option | ||
) |
Definition at line 113 of file qstylehelper.cpp.
Q_WIDGETS_EXPORT bool QStyleHelper::hasAncestor | ( | QObject * | obj, |
QAccessible::Role | role | ||
) |
Definition at line 138 of file qstylehelper.cpp.
Q_WIDGETS_EXPORT bool QStyleHelper::isInstanceOf | ( | QObject * | obj, |
QAccessible::Role | role | ||
) |
Q_WIDGETS_EXPORT WidgetSizePolicy QStyleHelper::widgetSizePolicy | ( | const QWidget * | widget, |
const QStyleOption * | opt | ||
) |
Definition at line 444 of file qstylehelper.cpp.