why QTreeWidget::findItems failed?
-
Hi,
Without any code nor dataset you use it's impossible to tell you why. Did you mean Qt::MatchExactly ?
-
eg. when create QTreeWidgetItem, pTreeWidgetItem->setText(0, "aaa");
only when this is the root item, i can use findItems get it.
otherwise, when i use findItems("aaa", Qt::MatchExactly, 0), it return 0.
should i do sth when the item which i want to find is not a root but a Child Item?