QskSlider

Inherits from QskBoundedValueInput

Public Signals

  Name
void pressedChanged(bool )
void orientationChanged(Qt::Orientation )
void trackingChanged(bool )

Public Functions

  Name
  QskSlider(QQuickItem * parent =nullptr)
  QskSlider(Qt::Orientation orientation, QQuickItem * parent =nullptr)
  ~QskSlider() override
bool isPressed() const
void setOrientation(Qt::Orientation orientation)
Qt::Orientation orientation() const
void setTracking(bool on)
bool isTracking() const
qreal handlePosition() const
QskAspect::Placement effectivePlacement() const override

Protected Functions

  Name
void mousePressEvent(QMouseEvent * e) override
void mouseMoveEvent(QMouseEvent * e) override
void mouseReleaseEvent(QMouseEvent * e) override
QSizeF handleSize() const
QRectF handleRect() const
void aboutToShow() override

Public Properties

  Name
bool isPressed
Qt::Orientation orientation
bool tracking
qreal handlePosition

Public Attributes

  Name
const QskAspect::Subcontrol Panel
const QskAspect::Subcontrol Groove
const QskAspect::Subcontrol Fill
const QskAspect::Subcontrol Scale
const QskAspect::Subcontrol Handle
const QskAspect::State Pressed
const QskAspect::State Minimum
const QskAspect::State Maximum

Public Signals Documentation

signal pressedChanged

void pressedChanged(
    bool 
)

signal orientationChanged

void orientationChanged(
    Qt::Orientation 
)

signal trackingChanged

void trackingChanged(
    bool 
)

Public Functions Documentation

function QskSlider

explicit QskSlider(
    QQuickItem * parent =nullptr
)

function QskSlider

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

function ~QskSlider

~QskSlider() override

function isPressed

bool isPressed() const

function setOrientation

void setOrientation(
    Qt::Orientation orientation
)

function orientation

Qt::Orientation orientation() const

function setTracking

void setTracking(
    bool on
)

function isTracking

bool isTracking() const

function handlePosition

qreal handlePosition() const

function effectivePlacement

QskAspect::Placement effectivePlacement() const override

Protected Functions Documentation

function mousePressEvent

void mousePressEvent(
    QMouseEvent * e
) override

function mouseMoveEvent

void mouseMoveEvent(
    QMouseEvent * e
) override

function mouseReleaseEvent

void mouseReleaseEvent(
    QMouseEvent * e
) override

function handleSize

QSizeF handleSize() const

function handleRect

QRectF handleRect() const

function aboutToShow

void aboutToShow() override

Public Property Documentation

property isPressed

bool isPressed;

property orientation

Qt::Orientation orientation;

property tracking

bool tracking;

property handlePosition

qreal handlePosition;

Public Attributes Documentation

variable Panel

static const QskAspect::Subcontrol Panel;

variable Groove

static const QskAspect::Subcontrol Groove;

variable Fill

static const QskAspect::Subcontrol Fill;

variable Scale

static const QskAspect::Subcontrol Scale;

variable Handle

static const QskAspect::Subcontrol Handle;

variable Pressed

static const QskAspect::State Pressed;

variable Minimum

static const QskAspect::State Minimum;

variable Maximum

static const QskAspect::State Maximum;

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