Basic Notepad in QT