In that case you can have a look at Juliette's Keypad custom widget which strips the text written by the user to put it in the text area under "Your saved text is" as shown in her screenshot.
Could you elaborate a bit more on what you mean ? You could maybe have a look at the UI examples "Flex Button Example" or Juliette's custom keyboards which use wildcards to display numbers and texts. Or is it more a C++ related question on how to handle text/strings ?
In that case you can have a look at Juliette's Keypad custom widget which strips the text written by the user to put it in the text area under "Your saved text is" as shown in her screenshot.