Hello,
I´m currently facing a performance problem with QTreeWidgets. Lets says I have about 3000 elements in a hierachial tree and furthermore two rows. The first row is for the standard selection and the second contains some checkboxes which can also be checked. For both I implemented the exactly same "intelligent" algorithm of marking further subelements etc.
When use the standard selection to mark the root element it takes about 2 sec. to mark (select) all subelements - but if I use the root checkbox it takes only 0.1 sec to mark (set checkboxvalue same as root) all subelemts. I quess that setting the background color of an element is responsible for this slow down - any ideas how I can speed it up???? I tried it with the setUpdatesEnabled() function but that didn´t helped.
best regards - Skorpien126
Bookmarks