L
L
Loligan2015-02-19 20:32:58
Qt
Loligan, 2015-02-19 20:32:58

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

1 answer(s)
A
Armenian Radio, 2015-02-19
@Loligan

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 question

Ask a Question

731 491 924 answers to any question