Loading...
Searching...
No Matches

Detailed Description

The +/- strip on the right of a combo box or an int spinbox: the upper half steps up, the lower half down.

Static Public Member Functions

static bool visible (const QRectF &box) noexcept
 Shown only when the box leaves room for its content next to it.
 
static QRectF rect (const QRectF &box) noexcept
 
static int stepAt (const QRectF &box, QPointF pos) noexcept
 +1 for the upper half, -1 for the lower half, 0 outside the strip.
 
static void paint (QPainter &painter, const score::Skin &skin, const QRectF &box, int pressedStep)
 pressedStep: the half held down (0 for none) while the pointer is on it.
 

Static Public Attributes

static constexpr double width = 12.
 

The documentation for this struct was generated from the following file: