PDA

View Full Version : Find with Regular Expression?



vishal.chauhan
1st August 2007, 14:53
Hi All,

I m using Qt 4.1.5 on my MAC.

I have a link list of Item and I m showing these item in a treWidget.
I want to searcha regular expression in the treeWidget and want to select the item if found.
I can do search if I have to find a text but how to do it with regular expression.

Thanks.

jacek
1st August 2007, 15:44
Pass Qt::MatchRegExp as the second parameter to QTreeWidget::findItems().