Hi Im new here and Id like to ask a few questions please,

In my program there is a QLineEdit and a QLabel. What I want to do is when the user enter something in the LineEdit, I want to do some processing with it then displaying the result in QLabel. I was thinking of something like
connect(lineEdit, SIGNAL(returnPressed()), qLabel, SLOT(setText("asdf")))
but after some reading i found out that you cannot pass values in connect and besides with the above code i cannot process the input from lineedit. I read the documentation about signals and slots and I understood it somehow but I just didnt understand it enough to write my own slot/signal.

so can somebody please help me to understand and write my own slot/signal. thank you.