PDA

View Full Version : QListview & QLineEdit



cristiano
21st September 2006, 02:54
Hi,

I have one form with a QListView would like that when the user selects an item of the list.

The selected item appears in a QLineEdit in one another one form.

it will be that they somebody could help-me. I am using Qt3.

Cris

AP.Sakkthivel
21st September 2006, 09:16
You need to connect a custom slot, that accepts the data from some where and updates
the same to Lineedit...with a clicked signal of qlistview

I hope the signal will give you the selected qlistviewitem..so make a custom slot with
qlistviewitem as a parameter in the form class which has QLineedit..

then make a connection

~cheers