I have been working on tutorials showing how to create applications that send text typed in one text widget to another text widget using signals and slots. I want to do that, but I want to be able to transform the text as it is sent, so that the text that appears in the target is different from what is typed in the source. For example, if I type text in one widget, I might want to transform the typed text using a Caesar cipher:
Now is the time ...
Klt fp qeb qfjb ...
(Each letter is shifted three positions to the left in the order of the alphabet.).
I want to be able to write a function that will transform the input text and add it to the code produced by, for example, Qt Creator.
However, when I open the files it creates, it appears that all the work is being done behind the scenes by supplied code.
I have no idea whether it is possible to modify it or how to do so.
Can anyone shed any light on this? By that I mean, what file to modify or add, where to put it, etc.
Thanks in advance for any suggestions.
Tom