Simple TCP chat client for learn Qt