Solving the problem of interconnected signal slots

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.