A text editor in C++ and Qt