PDA

View Full Version : Communication 2 Forms



cristiano
29th September 2006, 03:40
Hi,

As I make to communicate 2 forms.

Necessary that when the user writes in a QLineEdit in the clic Form1 in (button OK) the text appears in the Form2.

Cristiano.

jpn
29th September 2006, 07:32
You could create a signal slot connection between the forms. Form1 could have a signal informing that the text has been entered (emitted when the button is pressed) and Form2 could have a slot for setting the text. Further reading: Signals and Slots (http://doc.trolltech.com/3.3/signalsandslots.html).