qfile.choose(caption = "", dir = "", filter = "", allow.new = FALSE, parent = NULL)
qdir.choose(caption = "", dir = "", parent = NULL)
qgetColor(parent = NULL, title = "", alpha = 1)
qgetDouble(title = "Choose value", label = "Enter a numeric value", value = 0.0, minValue = -.Machine$double.xmax, maxValue = .Machine$double.xmax, decimals = 3L, parent = NULL)
qgetInteger(title = "Choose value", label = "Enter an integer value", value = 0L, minValue = -.Machine$integer.max, maxValue = .Machine$integer.max, step = 1L, parent = NULL)
qgetText(title = "Choose value", label = "Enter a text string", text = "", echomode = c("normal", "noecho", "password", "echoonedit"), parent = NULL)
qgetItem(title = "Choose value", label = "Choose a list item", items = "", current = 1L, editable = TRUE, parent = NULL)dir. If dir
includes a file name, the file will be selected. ';;'. For instance:
"Images (*.png *.xpm *.jpg);;Text files (*.txt);;XML files (*.xml)"
qgetInteger. qfile.choose can be used to select a file name. It is a
wrapper around either Qt$QFileDialog$getOpenFileName (if only
an existing file's name may be selected) or
Qt$QFileDialog$getSaveFileName. The function returns a
character string giving the absolute path of the selected file, or
NULL if the dialog is canceled.
qdir.choose is a similar wrapper for
Qt$QFileDialog$getExistingDirectory that can be used to select
a directory name.
qgetColor can be used to select a color. It is a wrapper for
Qt$QColorDialog$getColor. The function returns a character
string giving the color in "#RRGGBBAA" hexadecimal format, or
NA if the dialog is canceled.
qgetInteger, qgetDouble, and qgetText can me used
to obtain a double, integer, or character string respectively.
qgetItem can be used to select an item from a list. They are
wrappers for the corresponding static functions of
Qt$QInputDialog. The return value on cancellation is the
initial value for qgetInteger and qgetDouble,
NULL for qgetText, and the initially selected element
for qgetItem (which may be NULL is current is out
of range).