QskBoundedRangeInput

Inherits from QskBoundedInput

Public Slots

  Name
void setRange(const QskIntervalF & range)
void setLowerValue(qreal value)
void setUpperValue(qreal value)
void setLowerValueAsRatio(qreal ratio)
void setUpperValueAsRatio(qreal ratio)

Public Signals

  Name
void rangeChanged(const QskIntervalF & )
void lowerValueChanged(qreal )
void upperValueChanged(qreal )

Public Functions

  Name
  QskBoundedRangeInput(QQuickItem * parent =nullptr)
  QskBoundedRangeInput(const QskIntervalF & range, QQuickItem * parent =nullptr)
  ~QskBoundedRangeInput() override
void setRange(qreal lowerValue, qreal upperValue)
void resetRange()
QskIntervalF range() const
qreal lowerValue() const
qreal upperValue() const
qreal lowerValueAsRatio() const
qreal upperValueAsRatio() const

Protected Functions

  Name
virtual QskIntervalF fixupRange(const QskIntervalF & range) const
void alignInput() override

Public Properties

  Name
qreal lowerValue
qreal upperValue
QskIntervalF range

Public Slots Documentation

slot setRange

void setRange(
    const QskIntervalF & range
)

slot setLowerValue

void setLowerValue(
    qreal value
)

slot setUpperValue

void setUpperValue(
    qreal value
)

slot setLowerValueAsRatio

void setLowerValueAsRatio(
    qreal ratio
)

slot setUpperValueAsRatio

void setUpperValueAsRatio(
    qreal ratio
)

Public Signals Documentation

signal rangeChanged

void rangeChanged(
    const QskIntervalF & 
)

signal lowerValueChanged

void lowerValueChanged(
    qreal 
)

signal upperValueChanged

void upperValueChanged(
    qreal 
)

Public Functions Documentation

function QskBoundedRangeInput

QskBoundedRangeInput(
    QQuickItem * parent =nullptr
)

function QskBoundedRangeInput

QskBoundedRangeInput(
    const QskIntervalF & range,
    QQuickItem * parent =nullptr
)

function ~QskBoundedRangeInput

~QskBoundedRangeInput() override

function setRange

void setRange(
    qreal lowerValue,
    qreal upperValue
)

function resetRange

void resetRange()

function range

QskIntervalF range() const

function lowerValue

qreal lowerValue() const

function upperValue

qreal upperValue() const

function lowerValueAsRatio

qreal lowerValueAsRatio() const

function upperValueAsRatio

qreal upperValueAsRatio() const

Protected Functions Documentation

function fixupRange

virtual QskIntervalF fixupRange(
    const QskIntervalF & range
) const

function alignInput

void alignInput() override

Public Property Documentation

property lowerValue

qreal lowerValue;

property upperValue

qreal upperValue;

property range

QskIntervalF range;

Updated on 28 July 2023 at 14:02:29 CEST