User Tools

Site Tools


DzFloatSlider

A floating point (decimal) slider widget.

More...

Inherits :

Properties

Constructors

DAZ Script
DzFloatSlider ( DzWidget parent )

Signals

voideditCancelled ()
voidvalueChanged ( Number value )

Detailed Description

Provides a control that allows a user to adjust a bounded floating point value.

Properties


Number : defaultValue

Holds the default value of the slider.

Since:

  • 4.11.0.369

Boolean : displayAsPercent

Holds whether the slider text is displayed as a percentage value. false by default.


Boolean : indeterminate

If true, the slider is considered to have an 'indeterminate' or '<?>' value. false by default.


Number : max

Holds the maximum value of the slider. Any attempt to set this to a value that is less than the current min will fail.


Number : min

Holds the minimum value of the slider. Any attempt to set this to a value that is greater than the current max will fail.


Number : sensitivity

Holds the sensitivity of the slider.


Number : value

Holds the current value of the slider.

Constructors


DzFloatSlider( DzWidget parent )

Creates a slider as a child of the given parent widget.

Parameter(s):

  • parent - The widget parent for the slider.

Signals


void : editCancelled()

Signature:“editCancelled()”

Since:

  • 4.11.0.307

void : valueChanged( Number value )

Signature:“valueChanged(float)”

Emitted when the value of the slider changes, passes the new value.