User Tools

Site Tools


DzPropertySelectionComboBox

DAZScript combobox widget with a custom popup designed for choosing a DzProperty.

More...

Inherits :

Constructors

DAZ Script
DzPropertySelectionComboBox ( DzWidget parent )

Methods

DAZ Script
voidclearPropertySelection ()
ArraygetExcludeList ()
ArraygetNodes ()
DzPropertygetSelectedProperty ()
voidhidePopup ()
voidsetEditMode ( Boolean onOff )
voidsetExcludeList ( Array properties )
voidsetMorphOnly ( Boolean onOff )
voidsetNode ( DzNode node )
voidsetNodes ( Array nodes )
voidsetNumericOnly ( Boolean onOff )
voidsetPopUpHeight ( Number height )
voidsetPopUpMinWidth ( Number width )
voidsetPrivateOnly ( Boolean onOff )
voidsetPublicOnly ( Boolean onOff )
voidsetSelectedProperty ( DzProperty prop )
voidsetShowHidden ( Boolean onOff )
voidsetTransformOnly ( Boolean onOff )
voidshowPopup ()

Signals

Detailed Description

Provides a DzComboBox like widget with a custom popup designed for choosing a DzProperty.

Constructors


DzPropertySelectionComboBox( DzWidget parent )

Creates a property selection combobox as a child of the given parent widget.

Parameter(s):

  • parent - The widget parent for the combobox.

Methods


void : clearPropertySelection()

Clears the selection of any properties.

Since:

  • 4.10.0.27

Array : getExcludeList()

Return Value:

  • A list of the properties to be excluded in the popup.

Array : getNodes()

Return Value:

  • A list of the nodes to be shown in the popup.

DzProperty : getSelectedProperty()

Return Value:

  • The selected property.

void : hidePopup()

Hide the popup.


void : setEditMode( Boolean onOff )

Sets whether the popup should display rigging properties, regardless of their existence in the exclude list.


void : setExcludeList( Array properties )

Sets the properties to be excluded in the popup.

Parameter(s):

  • properties - The list of properties to exclude.

void : setMorphOnly( Boolean onOff )

Sets whether the popup should filter non-morph properties from the list.


void : setNode( DzNode node )

Sets the node from the scene to be shown in the popup.

Parameter(s):

  • node - The DzNode to show properties for.

See Also:


void : setNodes( Array nodes )

Sets the nodes from the scene to be shown in the popup.

Parameter(s):

  • nodes - A list of the DzNode objects to show properties for.

See Also:


void : setNumericOnly( Boolean onOff )

Sets whether the popup should filter non-numeric properties from the list.


void : setPopUpHeight( Number height )

Sets the height of the popup to height.


void : setPopUpMinWidth( Number width )

Sets the minimum width of the popup to width.


void : setPrivateOnly( Boolean onOff )

Sets whether the popup should filter non-private properties from the list.

Since:

  • 4.10.0.23

void : setPublicOnly( Boolean onOff )

Sets whether the popup should filter non-public properties from the list.

Since:

  • 4.10.0.23

void : setSelectedProperty( DzProperty prop )

Sets the property to be selected.

Parameter(s):

  • prop - The property to select.

void : setShowHidden( Boolean onOff )

Sets whether the popup should display hidden properties.


void : setTransformOnly( Boolean onOff )

Sets whether the popup should filter non-transform properties from the list.

Since:

  • 4.10.0.23

void : showPopup()

Display the popup.

Signals


void : propertySelectionChanged()

Signature:“propertySelectionChanged()”

Emitted when the selected DzProperty changes.