createText now create the text entered by the user in the lineEdit (QT textBox widget)