title: how to write and read a text to and from a LineEdit using QT Creator?
body: <p>I am working with QT Creator. I have a form that contains a push button and an Line Edit. I would like to print a string that i give programatically in this LineEdit.Secondly I would also like to the from the LineBox a string that I fill in and print it using QMessageBox.</p>
  
  <p>How to do it? Need some help. I don't know how to access the displayText() to write and read from a LineEdit.</p>
  
  <p>I would like to specify that I put the push button and the lineedit on the Form using drag and drop.</p>
  
  <p>I am working in c++ under Ubuntu
  Appreciate.</p>