Model/View best practice
-
Hi all,
What is the best practice if I want to double-click (or choose in some manner) a row in a QTableView and have the selected record open in a separate dialog for editing? Is it wise to just pass a pointer to the model or the modelindex into the dialog?
I apologize if this has been answered before. I looked, but couldn't find the answer.