QskSwitchButton

Inherits from QskAbstractButton

Public Signals

  Name
void orientationChanged(Qt::Orientation )
void invertedChanged(bool )

Public Functions

  Name
  QskSwitchButton(Qt::Orientation orientation, QQuickItem * parent =nullptr)
  QskSwitchButton(QQuickItem * parent =nullptr)
  ~QskSwitchButton() override
bool isCheckable() const override
Qt::Orientation orientation() const
void setOrientation(Qt::Orientation orientation)
bool isInverted() const
void setInverted(bool on)
QskAspect::Placement effectivePlacement() const override

Public Properties

  Name
Qt::Orientation orientation
bool inverted

Public Attributes

  Name
const QskAspect::Subcontrol Groove
const QskAspect::Subcontrol Handle
const QskAspect::Subcontrol Ripple

Public Signals Documentation

signal orientationChanged

void orientationChanged(
    Qt::Orientation 
)

signal invertedChanged

void invertedChanged(
    bool 
)

Public Functions Documentation

function QskSwitchButton

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

function QskSwitchButton

QskSwitchButton(
    QQuickItem * parent =nullptr
)

function ~QskSwitchButton

~QskSwitchButton() override

function isCheckable

bool isCheckable() const override

function orientation

Qt::Orientation orientation() const

function setOrientation

void setOrientation(
    Qt::Orientation orientation
)

function isInverted

bool isInverted() const

function setInverted

void setInverted(
    bool on
)

function effectivePlacement

QskAspect::Placement effectivePlacement() const override

Public Property Documentation

property orientation

Qt::Orientation orientation;

property inverted

bool inverted;

Public Attributes Documentation

variable Groove

static const QskAspect::Subcontrol Groove;

variable Handle

static const QskAspect::Subcontrol Handle;

variable Ripple

static const QskAspect::Subcontrol Ripple;

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