Options
All
  • Public
  • Public/Protected
  • All
Menu

A slider for allowing the user to set an integer value. Qt documentation: QSlider

Hierarchy

Index

Constructors

constructor

Properties

enabled

enabled: boolean

If false, the widget cannot be interacted with. Qt documentation: QWidget::enabled

maximum

maximum: number

The maximum value that can be set by the slider.

minimum

minimum: number

The minimum value that can be set by the slider.

minimumHeight

minimumHeight: number

You can use this property to prevent the widget from being resized to a height below this amount.

minimumWidth

minimumWidth: number

You can use this property to prevent the widget from being resized to a width below this amount.

styleSheet

styleSheet: string

Set this property to override the style sheet for this widget.

See https://doc.qt.io/qt-6/stylesheet.html and https://doc.qt.io/qt-6/stylesheet-examples.html for more information.

tickInterval

tickInterval: number

The amount that each tick left or right on the slider will change the value.

toolTip

toolTip: string

The toolTip displayed when the user mouses over this widget

value

value: number

The integer value set in the slider

valueChanged

valueChanged: Signal<number>

Signal emitted when the value in the slider is changed.

visible

visible: boolean

Controls whether this widget is visible. When toggling this property, the dialog layout will automatically adjust itself based on the visible widgets. Qt documentation: QWidget::visible;

Generated using TypeDoc