53 qstyleoption_cast<const QStyleOptionFocusRect *>(
option);
81 const QColorGroup &colorGroup,
82 SFlags how = Style_Default,
The QPaintEvent class contains event parameters for paint events. \inmodule QtGui.
The QPainter class performs low-level painting on widgets and other paint devices.
const QColor & color(ColorGroup cg, ColorRole cr) const
The QRect class defines a rectangle in the plane using integer precision.
virtual void drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, QPainter *p, const QWidget *w=nullptr) const =0
the palette that should be used when painting the control
The QStyleOption class stores the parameters used by QStyle functions.
void drawControl(ControlElement element, QPainter *painter, const QWidget *widget, const QRect &rect, const QColorGroup &colorGroup, SFlags how=Style_Default, const QStyleOption &option=QStyleOption::Default) const
[1]
const QStyleOptionFocusRect * focusRectOption
[0]