| Home | | | Quick start | | | Cookbook | | | All symbols | | | Analytical index | | | Namespaces | | | Syntax | | | Statements | | | CX | | | Frequency | | | Functions | | | Examples | | | Examples by command |
Parameter dialogs and live parameter panels.
Symbols in this namespace: 21
| Symbol | Kind | Category | Description |
|---|---|---|---|
PARAMS.ADD_BOOL | Command | Parameter editor commands | Adds a checkbox bound to an already-defined script variable. |
PARAMS.ADD_COLOR | Command | Parameter editor commands | Adds a color selector bound to an already-defined string variable such as #00ff00. |
PARAMS.ADD_COMBO | Command | Parameter editor commands | Adds a combo box bound to an already-defined script variable. String variables receive the selected text; numeric variables receive the selected index. |
PARAMS.ADD_DIR | Command | Parameter editor commands | Adds a directory selector bound to an already-defined string variable. |
PARAMS.ADD_DOUBLE | Command | Parameter editor commands | Adds a double spin box bound to an already-defined script variable. The variable name is passed without quotes. |
PARAMS.ADD_FILE | Command | Parameter editor commands | Adds an open-file path selector bound to an already-defined string variable. |
PARAMS.ADD_INT | Command | Parameter editor commands | Adds an integer spin box bound to an already-defined script variable. |
PARAMS.ADD_SAVEFILE | Command | Parameter editor commands | Adds a save-file path selector bound to an already-defined string variable. |
PARAMS.ADD_STRING | Command | Parameter editor commands | Adds a line edit bound to an already-defined script variable. |
PARAMS.CLEAR_DIRTY | Command | Parameter editor commands | Clears the dirty flag of a LIVE ParamsEditor panel. |
PARAMS.CLOSE | Command | Parameter editor commands | Closes and destroys a ParamsEditor panel. |
PARAMS.CREATE | Function | Parameter editor functions | Creates a ParamsEditor panel and returns a numeric handle. Mode is DIALOG by default or LIVE for a non-modal panel. |
PARAMS.DIRTY | Function | Parameter editor functions | TRUE when the user has modified at least one widget since the last PARAMS.CLEAR_DIRTY. |
PARAMS.EXEC | Function | Parameter editor functions | Runs the panel as a modal dialog. Variables are updated only if OK is pressed; the dialog session is destroyed on exit. |
PARAMS.HELP | Command | Parameter editor commands | Adds or replaces the ParamsEditor Help tab with HTML text. |
PARAMS.IS_OPEN | Function | Parameter editor functions | TRUE while a LIVE ParamsEditor window is visible. |
PARAMS.LOAD | Command | Parameter editor commands | Loads widget values from a ParamsEditor XML file. |
PARAMS.SAVE | Command | Parameter editor commands | Saves widget values to a ParamsEditor XML file. |
PARAMS.SHOW | Command | Parameter editor commands | Shows a LIVE ParamsEditor panel as a non-modal always-on-top window. |
PARAMS.SYNC | Command | Parameter editor commands | Copies current LIVE widget values back into the bound script variables. |
PARAMS.TAB | Function | Parameter editor functions | Adds a tab to a ParamsEditor panel and returns its zero-based index. |
PARAMS.ADD_BOOL handle, tab, variable, label [, help]
Adds a checkbox bound to an already-defined script variable.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
help | Optional help text shown by the parameter editor. |
PARAMS.ADD_BOOLPARAMS.ADD_COLOR handle, tab, variable, label [, help]
Adds a color selector bound to an already-defined string variable such as #00ff00.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
help | Optional help text shown by the parameter editor. |
PARAMS.ADD_COLORPARAMS.ADD_COMBO handle, tab, variable, label, optionsText [, help]
Adds a combo box bound to an already-defined script variable. String variables receive the selected text; numeric variables receive the selected index.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
help | Optional help text shown by the parameter editor. |
method = "GAUSSIAN"\nPARAMS.ADD_COMBO pe, tab, method, "Metodo", "GAUSSIAN|MEDIAN|BILATERAL"PARAMS.ADD_DIR handle, tab, variable, label [, help]
Adds a directory selector bound to an already-defined string variable.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
help | Optional help text shown by the parameter editor. |
PARAMS.ADD_DIRPARAMS.ADD_DOUBLE handle, tab, variable, label, min, max, step [, help]
Adds a double spin box bound to an already-defined script variable. The variable name is passed without quotes.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
help | Optional help text shown by the parameter editor. |
sigma = 1.5
PARAMS.ADD_DOUBLE pe, tab, sigma, "Sigma", 0.1, 20.0, 0.1PARAMS.ADD_FILE handle, tab, variable, label [, help]
Adds an open-file path selector bound to an already-defined string variable.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
help | Optional help text shown by the parameter editor. |
PARAMS.ADD_FILEPARAMS.ADD_INT handle, tab, variable, label, min, max, step [, help]
Adds an integer spin box bound to an already-defined script variable.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
help | Optional help text shown by the parameter editor. |
PARAMS.ADD_INTPARAMS.ADD_SAVEFILE handle, tab, variable, label [, help]
Adds a save-file path selector bound to an already-defined string variable.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
help | Optional help text shown by the parameter editor. |
PARAMS.ADD_SAVEFILEPARAMS.ADD_STRING handle, tab, variable, label [, help]
Adds a line edit bound to an already-defined script variable.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
help | Optional help text shown by the parameter editor. |
PARAMS.ADD_STRINGPARAMS.CLEAR_DIRTY handle
Clears the dirty flag of a LIVE ParamsEditor panel.
PARAMS.CLEAR_DIRTYPARAMS.CLOSE handle
Closes and destroys a ParamsEditor panel.
PARAMS.CLOSEPARAMS.CREATE(title [, mode])
Creates a ParamsEditor panel and returns a numeric handle. Mode is DIALOG by default or LIVE for a non-modal panel.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
mode | Mode selector; accepted values are described in the command text. |
pe = PARAMS.CREATE("Filtro", "LIVE")PARAMS.DIRTY(handle)
TRUE when the user has modified at least one widget since the last PARAMS.CLEAR_DIRTY.
value = PARAMS.DIRTY(handle)PARAMS.EXEC(handle)
Runs the panel as a modal dialog. Variables are updated only if OK is pressed; the dialog session is destroyed on exit.
IF PARAMS.EXEC(pe) THEN
PRINT sigma
ENDIFPARAMS.HELP handle, htmlText
Adds or replaces the ParamsEditor Help tab with HTML text.
PARAMS.HELPPARAMS.IS_OPEN(handle)
TRUE while a LIVE ParamsEditor window is visible.
value = PARAMS.IS_OPEN(handle)PARAMS.LOAD handle, path
Loads widget values from a ParamsEditor XML file.
PARAMS.LOADPARAMS.SAVE handle, path
Saves widget values to a ParamsEditor XML file.
PARAMS.SAVEPARAMS.SHOW handle
Shows a LIVE ParamsEditor panel as a non-modal always-on-top window.
PARAMS.SHOWPARAMS.SYNC handle
Copies current LIVE widget values back into the bound script variables.
PARAMS.SYNCPARAMS.TAB(handle, title)
Adds a tab to a ParamsEditor panel and returns its zero-based index.
tab = PARAMS.TAB(pe, "Base")