Adjustment.clampPage

Updates the value property to ensure that the range between lower and upper is in the current page (i.e. between value and value + page-size). If the range is larger than the page size, then only the start of it will be in the current page.

A value-changed signal will be emitted if the value is changed.

class Adjustment
void
clampPage
(
double lower
,
double upper
)

Parameters

lower double

the lower value

upper double

the upper value