I have this code on a QTreeWidget in Qt 5.7 on Linux

    Qt::MatchFlags F = Qt::MatchRecursive | Qt::MatchContains |
Qt::MatchWrap | Qt::MatchFixedString;

    if( ui->Regex_CB->isChecked() ) {
        F |= Qt::MatchRegExp;
    }

    CurrentMatches = ui->Output_TW->findItems( Txt, F );

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

help!

Thx

W
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to