I have a question, a long story, with such an interface,
I want to achieve,
1 Click on the left table item, the right border shows the contents of the table item,
2 when the right side of the content is modified, the contents of the table entry on the left are also modified.
The problem now is that when you click on the left table item, the right content is modified, and the content modification function of the table item is called. WORKAROUND: 1 You should use this. Modifying the Lineedit content programmatically does not trigger this signal, and only manual modification will send the signal. That is, to check the assistant first, for the editable control there is no similar to the above signal, the partition is manually modified the value of the control or code modification. 2
The other way is to judge how the new data compares with the old data,
If the same does not send the signal does not modify the content, if different to modify the send.
Solving the problem of interconnected signal slots