QtBase  v6.3.1
Enumerations | Functions
QStyleHelper Namespace Reference

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)
 

Enumeration Type Documentation

◆ WidgetSizePolicy

Enumerator
SizeLarge 
SizeSmall 
SizeMini 
SizeDefault 

Definition at line 101 of file qstylehelper_p.h.

Function Documentation

◆ backgroundColor()

Q_WIDGETS_EXPORT QColor QStyleHelper::backgroundColor ( const QPalette pal,
const QWidget widget 
)

Definition at line 432 of file qstylehelper.cpp.

Here is the call graph for this function:

◆ dpi()

Q_WIDGETS_EXPORT qreal QStyleHelper::dpi ( const QStyleOption option)

Definition at line 91 of file qstylehelper.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dpiScaled() [1/3]

Q_WIDGETS_EXPORT qreal QStyleHelper::dpiScaled ( qreal  value,
const QPaintDevice device 
)

Definition at line 118 of file qstylehelper.cpp.

Here is the call graph for this function:

◆ dpiScaled() [2/3]

Q_WIDGETS_EXPORT qreal QStyleHelper::dpiScaled ( qreal  value,
const QStyleOption option 
)

Definition at line 123 of file qstylehelper.cpp.

Here is the call graph for this function:

◆ dpiScaled() [3/3]

Q_WIDGETS_EXPORT qreal QStyleHelper::dpiScaled ( qreal  value,
qreal  dpi 
)

Definition at line 113 of file qstylehelper.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawBorderPixmap()

Q_WIDGETS_EXPORT void QStyleHelper::drawBorderPixmap ( const QPixmap pixmap,
QPainter painter,
const QRect rect,
int  left,
int  top,
int  right,
int  bottom 
)

Definition at line 375 of file qstylehelper.cpp.

Here is the call graph for this function:

◆ hasAncestor()

Q_WIDGETS_EXPORT bool QStyleHelper::hasAncestor ( QObject obj,
QAccessible::Role  role 
)

Definition at line 138 of file qstylehelper.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isInstanceOf()

Q_WIDGETS_EXPORT bool QStyleHelper::isInstanceOf ( QObject obj,
QAccessible::Role  role 
)

Definition at line 129 of file qstylehelper.cpp.

Here is the caller graph for this function:

◆ uniqueName()

QString QStyleHelper::uniqueName ( const QString key,
const QStyleOption option,
const QSize size 
)

Definition at line 64 of file qstylehelper.cpp.

Here is the call graph for this function:

◆ widgetSizePolicy()

Q_WIDGETS_EXPORT WidgetSizePolicy QStyleHelper::widgetSizePolicy ( const QWidget widget,
const QStyleOption opt 
)

Definition at line 444 of file qstylehelper.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: