User Tools

Site Tools


DzSplitter

DAZScript wrapper for QSplitter.

More...

Inherits :

Properties

Constructors

DAZ Script
DzSplitter ( DzWidget parent )

Methods

DAZ Script
voidaddWidget ( DzWidget widget )
Numbercount ()
NumberindexOf ( DzWidget widget )
voidinsertWidget ( Number index, DzWidget widget )
BooleanisCollapsible ( Number index )
BooleanrestoreState ( ByteArray state )
ByteArraysaveState ()
voidsetCollapsible ( Number index, Boolean collapse )
voidsetStretchFactor ( Number index, Number stretch )
DzWidgetwidget ( Number index )

Detailed Description

A DzSplitter provides the user with the ability to control the size of child widgets by dragging the boundary between the children.

Properties


Boolean : childrenCollapsible

Holds whether or not the children widgets of the splitter are collapsible.


Number : handleWidth

Holds the width of the splitter handle.


Boolean : opaqueResize

Holds whether or not resizing is opaque.


DzWidget::Orientation : orientation

Holds the orientation of the splitter.

Constructors


DzSplitter( DzWidget parent )

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

Parameter(s):

  • parent - The widget parent for the splitter.

Methods


void : addWidget( DzWidget widget )

TODO: Add description.


Number : count()

TODO: Add description.


Number : indexOf( DzWidget widget )

TODO: Add description.


void : insertWidget( Number index, DzWidget widget )

TODO: Add description.


Boolean : isCollapsible( Number index )

TODO: Add description.


Boolean : restoreState( ByteArray state )

TODO: Add description.


ByteArray : saveState()

TODO: Add description.


void : setCollapsible( Number index, Boolean collapse )

TODO: Add description.


void : setStretchFactor( Number index, Number stretch )

TODO: Add description.


DzWidget : widget( Number index )

TODO: Add description.