It's my third day in Qt and the second day I'm trying to find any reasonable solution to insert a text from my dialog to the textEdit widget on the mainwindow. I know it's a C++ question and I suspect it's about inheritance, but please be kind to me. I am not a programmer and I will never be, I am a linguist. Please don't give me any advices about further readings, just help me with the problem. The code is attached: foo.zip.