Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
eventLoop problem...operate QTreeWidget by many users on network...refresh problem!!!
opengpu2 last edited by opengpu2
eventLoop problem...operate QTreeWidget by many users on network...refresh problem...
here is my question:
i now have a QTreeWidget, and it a new QTreeWidgetItem was added, renamed, deleted under a the parent QTreewidgetItem, then the server will notify all client PC to update the parent QTreeWidgetItem which is impleneted by delete all its children and then add new childrent items according to the new data.
there will be many conflict problem...eg.one user is act on right the same QTreeWidgetItem which is acted by other use and have to update(delelte and re-new add), this is the update&act conflict...
i don't know is there any good solution for this?
and i want to know can i encapsulate my custom update action to make it possible to be put into the Qt's eventLoop, and then i can do all the things one by one.
thank you all !!!