User Tools

Site Tools


DzGroupBox

Script wrapper for Q3GroupBox.

More...

Inherits :

Inherited By : DzButtonGroup, DzHGroupBox and DzVGroupBox

Properties

Constructors

DAZ Script
DzGroupBox ( DzWidget parent )

Methods

DAZ Script
voidaddSpace ( Number space )

Signals

voidclicked ( Boolean checked=false )
voidtoggled ( Boolean onOff )

Detailed Description

Provides a group box frame, with an optional title and an ability to be checked like a DzCheckBox.

Properties


DzWidget::AlignmentFlags : alignment

Holds the alignment of the group box title.


Boolean : checkable

Holds whether or not the group box is checkable.


Boolean : checked

Holds whether or not the group box is checked.


Number : columns

Holds the number of columns in the group box.


Boolean : flat

Holds whether or not the group box is painted flat (without a frame).


Number : insideMargin

Holds the margin between items inside the group box and the frame.


Number : insideSpacing

Holds the spacing between items inside the group box.


DzWidget::Orientation : orientation

Holds the orientation of the group box.


String : title

Holds the title of the group box.

Constructors


DzGroupBox( DzWidget parent )

Creates a group box as a child of the given parent widget.

Parameter(s):

  • parent - The widget parent for the group box.

Methods


void : addSpace( Number space )

Adds an empty cell at the next free position. If space is greater than 0, the empty cell uses space as its fixed width (if Orientation is Horizontal) or height (if Orientation is Vertical).

Signals


void : clicked( Boolean checked=false )

Signature:“clicked(bool)”

Emitted when the DzGroupBox's check box is clicked. Passes the new state of the check box.


void : toggled( Boolean onOff )

Signature:“toggled(bool)”

Emitted when the DzGroupBox's check box is toggled. Passes the new state of the check box.