<div dir="ltr"><div>I have this code on a QTreeWidget in Qt 5.7 on Linux</div>
<div><br></div> Qt::MatchFlags F = Qt::MatchRecursive | Qt::MatchContains | Qt::MatchWrap | Qt::MatchFixedString;<br><br> if( ui->Regex_CB->isChecked() ) {<br> F |= Qt::MatchRegExp;<br> }<br><br> CurrentMatches = ui->Output_TW->findItems( Txt, F );<div><br></div><div>I would expect the currentMatches to contain all items that contain a Txt snippet. However it only returns the items with the text snippet in column 0</div><div><br></div><div>help!</div><div><br></div><div>Thx </div><div><br></div><div>W<br><br></div></div>