User Tools

Site Tools


DzIntSlider

DAZScript integer (whole number) slider widget.

More...

Inherits :

Inherited By : DzEnumSlider

Properties

Constructors

DAZ Script
DzIntSlider ( DzWidget parent )

Signals

voideditCancelled ()
voidvalueChanged ( Number value )

Detailed Description

Provides a control that allows a user to adjust a bounded integer 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


DzIntSlider( 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(int)”

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