QskProgressBar

Inherits from QskBoundedControl

Public Slots

  Name
void setValue(qreal value)
void setValueAsRatio(qreal ratio)
void setOrigin(qreal origin)

Public Signals

  Name
void orientationChanged(Qt::Orientation )
void extentChanged(qreal )
void indeterminateChanged(bool )
void valueChanged(qreal )
void originChanged(qreal )

Public Functions

  Name
  QskProgressBar(Qt::Orientation orientation, QQuickItem * parent =nullptr)
  QskProgressBar(Qt::Orientation orientation, qreal min, qreal max, QQuickItem * parent =nullptr)
  QskProgressBar(const QskIntervalF & boundaries, QQuickItem * parent =nullptr)
  QskProgressBar(qreal min, qreal max, QQuickItem * parent =nullptr)
  QskProgressBar(QQuickItem * parent =nullptr)
  ~QskProgressBar() override
Qt::Orientation orientation() const
void setOrientation(Qt::Orientation orientation)
bool isIndeterminate() const
void setIndeterminate(bool on =true)
QskAspect::Placement effectivePlacement() const override
void setBarGradient(const QskGradient & gradient)
void resetBarGradient()
QskGradient barGradient() const
void setExtent(qreal extent)
void resetExtent()
qreal extent() const
void resetOrigin()
qreal origin() const
qreal value() const
qreal valueAsRatio() const

Protected Functions

  Name
void componentComplete() override
void itemChange(ItemChange , const ItemChangeData & ) override

Public Properties

  Name
Qt::Orientation orientation
qreal extent
bool indeterminate
qreal origin
qreal value
qreal valueAsRatio

Public Attributes

  Name
const QskAspect::Subcontrol Groove
const QskAspect::Subcontrol Bar

Public Slots Documentation

slot setValue

void setValue(
    qreal value
)

slot setValueAsRatio

void setValueAsRatio(
    qreal ratio
)

slot setOrigin

void setOrigin(
    qreal origin
)

Public Signals Documentation

signal orientationChanged

void orientationChanged(
    Qt::Orientation 
)

signal extentChanged

void extentChanged(
    qreal 
)

signal indeterminateChanged

void indeterminateChanged(
    bool 
)

signal valueChanged

void valueChanged(
    qreal 
)

signal originChanged

void originChanged(
    qreal 
)

Public Functions Documentation

function QskProgressBar

QskProgressBar(
    Qt::Orientation orientation,
    QQuickItem * parent =nullptr
)

function QskProgressBar

QskProgressBar(
    Qt::Orientation orientation,
    qreal min,
    qreal max,
    QQuickItem * parent =nullptr
)

function QskProgressBar

QskProgressBar(
    const QskIntervalF & boundaries,
    QQuickItem * parent =nullptr
)

function QskProgressBar

QskProgressBar(
    qreal min,
    qreal max,
    QQuickItem * parent =nullptr
)

function QskProgressBar

QskProgressBar(
    QQuickItem * parent =nullptr
)

function ~QskProgressBar

~QskProgressBar() override

function orientation

Qt::Orientation orientation() const

function setOrientation

void setOrientation(
    Qt::Orientation orientation
)

function isIndeterminate

bool isIndeterminate() const

function setIndeterminate

void setIndeterminate(
    bool on =true
)

function effectivePlacement

QskAspect::Placement effectivePlacement() const override

function setBarGradient

void setBarGradient(
    const QskGradient & gradient
)

function resetBarGradient

void resetBarGradient()

function barGradient

QskGradient barGradient() const

function setExtent

void setExtent(
    qreal extent
)

function resetExtent

void resetExtent()

function extent

qreal extent() const

function resetOrigin

void resetOrigin()

function origin

qreal origin() const

function value

qreal value() const

function valueAsRatio

qreal valueAsRatio() const

Protected Functions Documentation

function componentComplete

void componentComplete() override

function itemChange

void itemChange(
    ItemChange ,
    const ItemChangeData & 
) override

Public Property Documentation

property orientation

Qt::Orientation orientation;

property extent

qreal extent;

property indeterminate

bool indeterminate;

property origin

qreal origin;

property value

qreal value;

property valueAsRatio

qreal valueAsRatio;

Public Attributes Documentation

variable Groove

static const QskAspect::Subcontrol Groove;

variable Bar

static const QskAspect::Subcontrol Bar;

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