I didn't get any examples of QRegEdit to solve my problem.
how to use
bool QRegExp::exactMatch ( const QString & str ) const
if I use QRegExp then if user uncheck regularExp box then how to use QRegExp.
see the attach dialog.
my problem is solved with following code:
cursor = regularExp ? document.find(findText, cursor, myFlags):document.find(text, cursor, myFlags);
QTextDocument document(line);
cursor = regularExp ? document.find(findText, cursor, myFlags):document.find(text, cursor, myFlags);
To copy to clipboard, switch view to plain text mode
Bookmarks