...
The contents of the text field may be set using the qsettext command. Use qclear to clear the field. To retrieve the text use qtext.
Arguments
cmds
One or more commands to be performed when the text changes. The text contained in the QLineEdit is appended before evaluation. The commands must be a string or a list which adheres to Tcl's syntax. For such, a string may be either a single word or several words grouped as one string using quotes. A list is delimited by the '{' and '}' characters.
...