Solved Signal and Slot - passing data between forms
-
I'm new in Qt5.
I have a Dialog (1) with a tableView and when I choose a row from this TableView and I click the PushButton "OK", I want open other Dialog(2) with a lineEdit that contain a specific column (column 0) from the tableView from the Dialog (1). It is Possible ?, Can sameone help me ? -
@CadNeto said:
Hi and welcome
Dialog(2) would have to know the model Dialog (1) tableView
is using. You could do this via constructor when showing Dialog(2).Since lineEdit is single value, you could use
http://doc.qt.io/qt-5.5/qdatawidgetmapper.html#details
to hook it up to the model. -
Ok....I'll try....thanks.