A simple text editor based on Qt4