User Tools

Site Tools


DzSlider

Base class for all slider widgets.

More...

Inherits :

Inherited By : DzFloatSlider and DzIntSlider

Properties

Methods

DAZ Script
voidstep ( Boolean positive )

Signals

voideditCancelled ()
voideditEnd ()
voideditStart ()

Detailed Description

An abstract base class for widgets that allow the user to adjust a value using a (horizontally oriented) slider.

Since:

  • 4.22.1.178

Properties


Boolean : clamped

Holds whether the slider obeys its limits. false by default.


Boolean : fullLengthEdit

Holds whether editing the slider text causes the edit field to consume the full height/width of the slider. false by default.


Boolean : isEditing

Holds whether the value is currently being edited. (Read Only)


String : label

Holds the label text for the slider.


Boolean : labelVisible

Holds whether the slider's label is visible.


Boolean : restorable

Holds whether the default value is restorable if the user holds the [Alt] key when clicked.


Number : sensitivity

Holds the sensitivity of the slider.


String : text

Holds the text of the slider. (Read Only)


Boolean : textEditable

Holds whether the slider text is editable by the user. false by default.


Boolean : textVisible

Holds whether the slider text is visible to the user. true by default.

Methods


void : step( Boolean positive )

Steps this slider by its sensitivity value.

Parameter(s):

  • positive - If true, the slider value will be incremented by its sensitivity value. If false, the slider value will be decremented by its sensitivity value.

Signals


void : editCancelled()

Signature:“editCancelled()”

Emitted when the user cancels an edit of the slider.


void : editEnd()

Signature:“editEnd()”

Emitted when the user releases the slider.


void : editStart()

Signature:“editStart()”

Emitted when the user starts dragging the slider.