On Tuesday 14 February 2017 23:46:45 wim delvaux wrote:
> 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
Please provide a self-contained example and file an issue at bugreports.qt.io.
Thanks,
Marc
--
Marc Mutz <[email protected]> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - The Qt, C++ and OpenGL Experts
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development