User Tools

Site Tools


DzColorWgt

DAZScript color widget.

More...

Inherits :

Properties

Constructors

DAZ Script
DzColorWgt ( DzWidget parent )

Signals

voidcolorChanged ( Color color )
voideditEnd ()
voideditStart ()

Detailed Description

A DzColorWgt provides a control for displaying/selecting a color.

Properties


Boolean : indeterminate

If true, the widget is considered to have an 'indeterminate' or 'Multiple' value. False by default.


Color : value

Holds the current value of the widget.

Constructors


DzColorWgt( DzWidget parent )

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

Parameter(s):

  • parent - The widget parent for the color widget.

Signals


void : colorChanged( Color color )

Signature:“colorChanged(const QColor&)”

Emitted when the color is changed.

Parameter(s):

  • color - The new color value of the control.

void : editEnd()

Signature:“editEnd()”

Emitted when an editing operation on the slider ends - e.g. the user finishes spinning a color field.


void : editStart()

Signature:“editStart()”

Emitted when an editing operation on the widget begins - e.g. the user starts spinning a color field.