Use fstream with a QDialog

Printable View