An simple editor in Qt