ESlider Slider
Examples
Slider
Slider
Properties
colorcolorCustom color; a transparent value usually selects theme or semantic colors.
Dynamic bindingenabledboolAllow interaction; false disables the control.
trueformatTooltipvarSlider tooltip formatter receiving a value and returning text.
nullfromrealLower slider bound.
0handleSizeintSize of the icon, option or interactive part in pixels.
Dynamic bindingheightrealComponent size in pixels; may be bound to its parent layout.
implicitHeightinputPrecisionintNumber of decimal places.
Dynamic bindingmarksvarSlider marks keyed by value, with text or objects containing label and style.
Numeric keys map to text or objects
Object fields: label
({})orientationenumComponent layout direction.
Qt.HorizontalQt.Vertical
Qt.HorizontalshowInputboolShow numeric input or the message-box input area.
falseshowInputControlsboolShow increment and decrement buttons in slider numeric input.
trueshowStopsboolShow discrete step stops.
falseshowTooltipboolShow a tooltip for the slider value.
truesizeintControl size; inherits the nearest EConfigProvider by default.
EStyle.SmallEStyle.MediumEStyle.Large
Inherited; EStyle.Medium by defaultstepvarIncrement step; sliders may override stepSize, while time-select uses minutes or HH:mm.
undefined: use stepSize
Positive number / "mark" (snap to marks)
undefinedstepSizerealNative slider step; 0 allows continuous values and step may override it.
0styleTypeintSemantic color style.
EStyle.DefaultEStyle.PrimaryEStyle.SuccessEStyle.InfoEStyle.WarningEStyle.Danger
EStyle.PrimarytorealUpper slider bound.
1trackSizeintSize of the icon, option or interactive part in pixels.
Dynamic bindingvalidateEventboolRequest enclosing-form validation when the value changes.
truevaluerealCurrent value; read or write through property bindings, with arrays for multiple or range selection.
Number between from and to
0visibleboolWhether the component is visible.
truewidthrealComponent size in pixels; may be bound to its parent layout.
implicitWidthmarkValuesvarRead onlyValues of rendered slider marks or step stops.
Computed at runtimestopValuesvarRead onlyValues of rendered slider marks or step stops.
Computed at runtime