So I have a Mainwindow application with a QTextEdit field. When a user clicks the addComment button, it opens up a dialog with another QTextEdit field. I need to know how to transfer what the user entered in the Comment TextEdit to the Mainwindow TextEdit, then it puts the date and time stamp into the TextEdit field. Currently, I just have a QMessageBox on the MainWindow, but that can only have a QLineEdit, and that is difficult to see line breaks.
I guess long story short, how do I transfer info from a dialog to a main window? I have been combing this forum and the tutorials and cannot find anything.
Thanks in advance,
fnmblot
Bookmarks