a simple code editor implmented by qt/c++