procedure userDialog
Create a dialog box for QFitsView
Syntax
userDialog function, labels [, types [, values] ]
Arguments
| title: | A string with the dpuser function to be executed. This will be shown also as the caption of the dialog box. |
| labels: | A string array with the description of the parameters to be entered |
| types: | Optional types of the arguments (as a string array): Can be either int, real, fits, or anything, in which case it will be treated as a string. |
| values: | Optionally, default values for the entries can be given (as a string array). |
Examples
Create a dialog box for the velmap function:
userDialog "myvelmap", ["cube", "wavelength center", "fwhm"], ["fits", "real", "real"], ["", "2.13", ".001"]