I'm currently experimenting with QTreeWidgets and am wondering if it's possible to retrieve the column/row count from finding an item in a tree view using QTreeWidgetItemIterator? I am just simply dropping the example in the class as a slot.

Qt Code:
  1. QTreeWidgetItemIterator it(treeWidget);
  2. while (*it) {
  3. if ((*it)->text(0) == itemText)
  4. (*it)->setSelected(true);
  5. ++it;
  6. }
  7. //itemText's row and column?
To copy to clipboard, switch view to plain text mode