The Dialog JavaScript class. A simplified version of the Qt dialog. More...
Public Slots | |
void | newTab (String &label) |
Adds a new tab to the dialog. More... | |
void | newColumn () |
Add a new column to the dialog. More... | |
void | addSpace (int space) |
Adds spacers to the dialog layout. More... | |
void | add (SCRIPT_QSWidget *widget) |
Adds a widget to the dialog. More... | |
bool | exec () |
Run the dialog in modal mode. Pressing ok accepts the dialog input. Pressing cancel cancels the dialog. More... | |
Properties | |
String | title |
The title of the dialog. More... | |
String | caption |
The title of the dialog. (Legacy, but still supported) More... | |
int | width |
The width of the dialog in pixels. More... | |
String | okButtonText |
The label of the OK button. More... | |
String | cancelButtonText |
The label of the Cancel button. More... | |
The Dialog JavaScript class. A simplified version of the Qt dialog.
This class and the associated widget classes are used to build simple dialogs.
The widgets you can add to a Dialog are: LineEdit, NumberEdit, TimeEdit, DateEdit, SpinBox, CheckBox, RadioButton, ComboBox, GroupBox, Slider, Button and Label
|
slot |
Adds a widget to the dialog.
|
slot |
Adds spacers to the dialog layout.
|
slot |
Run the dialog in modal mode. Pressing ok accepts the dialog input. Pressing cancel cancels the dialog.
|
slot |
Add a new column to the dialog.
|
slot |
Adds a new tab to the dialog.
|
readwrite |
The label of the Cancel button.
|
readwrite |
The title of the dialog. (Legacy, but still supported)
|
readwrite |
The label of the OK button.
|
readwrite |
The title of the dialog.
|
readwrite |
The width of the dialog in pixels.