8 if (stylehint == SH_RubberBand_Mask) {
10 qstyleoption_cast<const QStyleHintReturnMask *>(
hint);
The QStyleHintReturnMask class provides style hints that return a QRegion.
\variable QStyleOptionGraphicsItem::exposedRect
The QStyleOption class stores the parameters used by QStyle functions.
virtual int styleHint(StyleHint stylehint, const QStyleOption *opt=nullptr, const QWidget *widget=nullptr, QStyleHintReturn *returnData=nullptr) const =0
Returns an integer representing the specified style hint for the given widget described by the provid...
static QT_BEGIN_NAMESPACE QVariant hint(QPlatformIntegration::StyleHint h)