Text editor in qt creator