User Tools

Site Tools


DzHeader

Script wrapper for Q3Header.

More...

Inherits :

Properties

Methods

DAZ Script
boolisClickEnabled ( Number section )
boolisResizeEnabled ( Number section )
BooleanisStretchEnabled ( Number section )
voidsetClickEnabled ( Boolean enable, Number section )
voidsetResizeEnabled ( Boolean enable, Number section )
voidsetStretchEnabled ( Boolean enable, Number section )

Signals

voidclicked ( Number section )
voidindexChange ( Number section, Number fromIndex, Number toIndex )
voidpressed ( Number section )
voidreleased ( Number section )
voidsectionHandleDoubleClicked ( Number section )
voidsizeChange ( Number section, Number oldSize, Number newSize )

Detailed Description

See Also:

Properties


Boolean : clickEnabled

Holds whether or not the header sections respond to mouse clicks.


Boolean : movingEnabled

Holds whether or not the header sections can be moved.


Boolean : resizeEnabled

Holds whether or not the header sections can be resized.


Boolean : stretchEnabled

Holds whether or not the header sections can be stretched.

Methods


bool : isClickEnabled( Number section )

Parameter(s):

  • section - The section to check.

Return Value:

  • true if the header for a given section responds to mouse clicks, otherwise false.

bool : isResizeEnabled( Number section )

Parameter(s):

  • section - The section to check.

Return Value:

  • true if resizing for a given section is enabled, otherwise false.

Boolean : isStretchEnabled( Number section )

Parameter(s):

  • section - The section to check.

Return Value:

  • true if stretching for a given section is enabled, otherwise false.

void : setClickEnabled( Boolean enable, Number section )

Sets whether or not the header for a given section responds to mouse clicks.

Parameter(s):

  • enable - true to enable, false to disable.
  • section - The section to enable/disable clicking in.

void : setResizeEnabled( Boolean enable, Number section )

Sets whether or not resizing for a given section is enabled.

Parameter(s):

  • enable - true to enable, false to disable.
  • section - The section to enable/disable resizing of.

void : setStretchEnabled( Boolean enable, Number section )

Sets whether or not stretch for a given section is enabled.

Parameter(s):

  • enable - true to enable, false to disable.
  • section - The section to enable/disable stretching of.

Signals


void : clicked( Number section )

Signature:“clicked(int)”

Emitted when an item in the header is clicked


void : indexChange( Number section, Number fromIndex, Number toIndex )

Signature:“indexChange(int,int,int)”

Emitted when an item in the header changes index


void : pressed( Number section )

Signature:“pressed(int)”

Emitted when an item in the header is pressed


void : released( Number section )

Signature:“released(int)”

Emitted when an item in the header is released


void : sectionHandleDoubleClicked( Number section )

Signature:“sectionHandleDoubleClicked(int)”

Emitted when an item in the header is double clicked


void : sizeChange( Number section, Number oldSize, Number newSize )

Signature:“sizeChange(int,int,int)”

Emitted when an item in the header changes size