This is a generic project with the addition of a single slot in mainwindow.cpp. It demonstrates how to find a "correct" place to save user files, how to access the text of a line edit or text edit, and how to put that text in a file.
untitled.zip
This is a generic project with the addition of a single slot in mainwindow.cpp. It demonstrates how to find a "correct" place to save user files, how to access the text of a line edit or text edit, and how to put that text in a file.
untitled.zip
"We can't solve problems by using the same kind of thinking we used when we created them." -- Einstein
If you are posting code then please use [code] [/code] tags around it - makes addressing the problem easier.
From the code you posted on #1
You need to add the ui header to your mywrite.h file
#include <ui_mywrite.h>
*and also stream << ui->textEdit......
Bookmarks