A text editor in C++ with Qt