GroupBox Class Reference

The GroupBox JavaScript class. A simplified version of the GroupBox Qt widget. More...

Public Slots

void add (SCRIPT_QSWidget *widget)
 Adds a widget to the groupBox. More...
 
void clear ()
 Clears all the widgets in the group box. More...
 
void newColumn ()
 Creates a newColumn in the groupbox. It will be used by all subsequent add operations. More...
 
void addSpace (int space)
 Adds a spacer to the groupbox. More...
 

Properties

String title
 Title of groupBox. More...
 

Detailed Description

The GroupBox JavaScript class. A simplified version of the GroupBox Qt widget.

var groupBox = new GroupBox();
groupBox.title = “Group One”;
myDialog.add( groupBox );

Member Function Documentation

◆ add

void GroupBox::add ( SCRIPT_QSWidget *  widget)
slot

Adds a widget to the groupBox.

◆ addSpace

void GroupBox::addSpace ( int  space)
slot

Adds a spacer to the groupbox.

groupBox.addSpace( 15 );

◆ clear

void GroupBox::clear ( )
slot

Clears all the widgets in the group box.

groupBox.clear;

◆ newColumn

void GroupBox::newColumn ( )
slot

Creates a newColumn in the groupbox. It will be used by all subsequent add operations.

groupBox.newColumn();

Property Documentation

◆ title

String GroupBox::title
readwrite

Title of groupBox.