User Tools

Site Tools


DzPathComboBox

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

More...

Inherits :

Constructors

DAZ Script
DzPathComboBox ( DzWidget parent, Boolean useMarkableView=false )

Methods

Signals

Detailed Description

A DzPathComboBox provides a DzComboBox like widget with a popup that is designed for choosing a path.

Constructors


DzPathComboBox( DzWidget parent, Boolean useMarkableView=false )

Instantiates DzPathComboBox

Creates a path combobox as a child of the given parent widget.

Parameter(s):

  • parent - The widget parent for the path combobox.
  • useMarkableView - Whether or not to use a view with check boxes.

Methods


void : clearSelection()

Clear selection


DzTypeAssetContainer : currentType()

Return Value:

  • current type

String : currentType()

Return Value:

  • current type

DzTypeAssetContainer : getRoot()

TODO: Add description.


Array : getSelectionPath

Return Value:

  • returns selected paths.

void : setEmptyText( String text )

Sets empty text


void : setSelection( Array idPath )

sets the current selection


void : setTopLevelType( Array idPath )

Return Value:

  • current type

void : setTypes( Array list )

Sets paths for the combobox.

Signals


void : pathSelectionChanged( String path )

TODO: Add description.


void : viewAboutToShow()

TODO: Add description.