The QLineEdit class has a "text" property, so you cold try this:
Code:
textLabel1.setCaption(lineEdit1.text());
Furthermore, you can connect the signal from lineEdit1, "textChanged(QString)" to the textLanel1 slot, "setText(QString)", and then whenever the line edit is modified, the label will be updated automatically.