Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links.
You can here alternatively try to
browse the pure source code or just
view or
download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the
avidemux_2.8.0.tar.gz project site itself.
This is an example script that demonstrates all the dialog controls that are available to the scripting environment.
var dialog =
new Dialog(
"Test Window");
comboBox.items.add("item 1", "value 1");
comboBox.selectedItemIndex = 1;
dialog.controls.add(checkBox);
dialog.controls.add(spinBox);
dialog.controls.add(doubleSpinBox);
dialog.controls.add(lineEdit);
dialog.controls.add(slider);
dialog.controls.add(comboBox);
print(
"Dialog Result: " + dialog.show());
print(
"CheckBox - Value: " + checkBox.checked);
print(
"SpinBox - Value: " + spinBox.value);
print(
"DoubleSpinBox - Value: " + doubleSpinBox.value);
print(
"LineEdit - Value: " + lineEdit.value);
print(
"Slider - Value: " + slider.value);
print(
"ComboBox - Selected Index: " + comboBox.selectedItemIndex);
print(
"ComboBox - Selected Item Title: " + comboBox.selectedItem.title);
print(
"ComboBox - Selected Item Value: " + comboBox.selectedItem.value);