ERangeSlider Range slider
Examples
Range slider
Range slider
Properties
colorcolorCustom color; a transparent value usually selects theme or semantic colors.
Dynamic bindingenabledboolAllow interaction; false disables the control.
truefirst.valuerealCurrent value of the first handle.
0formatTooltipvarSlider 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.
implicitHeightmarksvarSlider 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.Horizontalsecond.valuerealCurrent value of the second handle.
1showStopsboolShow 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.
truevisibleboolWhether 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