QskBoundedInput

Inherits from QskBoundedControl

Inherited by QskBoundedRangeInput, QskBoundedValueInput

Public Slots

  Name
void setStepSize(qreal stepSize)
void setPageSize(int pageSize)
void stepUp()
void stepDown()
void pageUp()
void pageDown()
virtual void increment(qreal offset) =0

Public Signals

  Name
void stepSizeChanged(qreal )
void pageSizeChanged(qreal )
void snapChanged(bool )
void readOnlyChanged(bool )

Public Functions

  Name
  QskBoundedInput(QQuickItem * parent =nullptr)
  ~QskBoundedInput() override
qreal stepSize() const
int pageSize() const
void setSnap(bool snap)
bool snap() const
void setReadOnly(bool readOnly)
bool isReadOnly() const

Protected Functions

  Name
void keyPressEvent(QKeyEvent * event) override
void wheelEvent(QWheelEvent * event) override
void componentComplete() override
virtual void alignInput()
qreal alignedValue(qreal value) const
QskIntervalF alignedInterval(const QskIntervalF & interval) const

Public Properties

  Name
qreal stepSize
int pageSize
bool snap
bool readOnly

Public Attributes

  Name
const QskAspect::State ReadOnly

Public Slots Documentation

slot setStepSize

void setStepSize(
    qreal stepSize
)

slot setPageSize

void setPageSize(
    int pageSize
)

slot stepUp

void stepUp()

slot stepDown

void stepDown()

slot pageUp

void pageUp()

slot pageDown

void pageDown()

slot increment

virtual void increment(
    qreal offset
) =0

Public Signals Documentation

signal stepSizeChanged

void stepSizeChanged(
    qreal 
)

signal pageSizeChanged

void pageSizeChanged(
    qreal 
)

signal snapChanged

void snapChanged(
    bool 
)

signal readOnlyChanged

void readOnlyChanged(
    bool 
)

Public Functions Documentation

function QskBoundedInput

QskBoundedInput(
    QQuickItem * parent =nullptr
)

function ~QskBoundedInput

~QskBoundedInput() override

function stepSize

qreal stepSize() const

function pageSize

int pageSize() const

function setSnap

void setSnap(
    bool snap
)

function snap

bool snap() const

function setReadOnly

void setReadOnly(
    bool readOnly
)

function isReadOnly

bool isReadOnly() const

Protected Functions Documentation

function keyPressEvent

void keyPressEvent(
    QKeyEvent * event
) override

function wheelEvent

void wheelEvent(
    QWheelEvent * event
) override

function componentComplete

void componentComplete() override

function alignInput

virtual void alignInput()

function alignedValue

qreal alignedValue(
    qreal value
) const

function alignedInterval

QskIntervalF alignedInterval(
    const QskIntervalF & interval
) const

Public Property Documentation

property stepSize

qreal stepSize;

property pageSize

int pageSize;

property snap

bool snap;

property readOnly

bool readOnly;

Public Attributes Documentation

variable ReadOnly

static const QskAspect::State ReadOnly;

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