PDA

View Full Version : Selection headaches in QTreeView



djjkotze
10th June 2010, 16:36
Hi there everyone!

As part of a project that I'm working on, there is a QTreeView populated with several parents and children. When right clicking on a parent, and executing a function for it from the context menu, I need the children to be included in the selectedIndexes method.

Any ideas on how to change the QTreeView's functionality to automatically include the children of a parent in a selection?

Thanks!

Regards,
Dirk