Answer the question
In order to leave comments, you need to log in
How to pass value from LineEdit form 1 to Label form 2, Qt?
There is a form Form1 and Form2. When you press the OK button on Form2 after entering the line, LineEdit Form2 closes, and the value that was in LineEdit must be passed to Label Form2
Answer the question
In order to leave comments, you need to log in
Connect these things through slots and signals. The textChanged(QString) signal from QLineEdit needs to be bound to the setText(QString ) slot of the QLabel.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question