Unsolved Copy value to QLineEdit after clicking on QListView's line
-
Hello!
I have QListView where are many data. I want to make double click on some line(with value) and this value must to be inserted in QLineEdit.
Can you help me? -
Can anybody help? Please
-
Hi,
Implement a slot that you'll connect to QListView::clicked signal. There you can update the content of the QLineEdit with the content of the clicked row.
-
@SGaist please, can you write the code? Because I don't know how to do that... I'll be very grateful
-
Did you took a look at the model view programming chapter of Qt's documentation ?
-
@SGaist yes, I have looked at that.