User Tools

Site Tools


DzHeader

DAZScript wrapper for Q3Header.

More...

Inherits :

Properties

Methods

DAZ Script
boolisClickEnabled ( Number section )
boolisResizeEnabled ( Number section )
boolisStretchEnabled ( 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:

  • DzListView::header()

Properties


Boolean : clickEnabled

Holds whether the header sections respond to mouse clicks.


Boolean : movingEnabled

Holds whether the header sections can be moved.


Boolean : resizeEnabled

Holds whether the header sections can be resized.


Boolean : stretchEnabled

Holds whether the header sections can be stretched.

Methods


bool : isClickEnabled( Number section )

Return Value:

  • Whether or not the header for a given section responds to mouse clicks

bool : isResizeEnabled( Number section )

Return Value:

  • Whether or not resizing for a given section is enabled

bool : isStretchEnabled( Number section )

Return Value:

  • Whether or not stretch for a given section is enabled

void : setClickEnabled( Boolean enable, Number section )

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


void : setResizeEnabled( Boolean enable, Number section )

Sets whether or not resizing for a given section is enabled


void : setStretchEnabled( Boolean enable, Number section )

Sets whether or not stretch for a given section is enabled

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