How to set cursor on QTextEdit?
Actually, I need to highlight the Found text on this, but i am not getting the cursor on text edit widget.
pls help.
How to set cursor on QTextEdit?
Actually, I need to highlight the Found text on this, but i am not getting the cursor on text edit widget.
pls help.
bool QTextEdit::find ( const QString & exp, QTextDocument::FindFlags options = 0 )
Finds the next occurrence of the string, exp, using the given options. Returns true if exp was found and changes the cursor to select the match; otherwise returns false.
Mithin
www.mithin.in
Hi,
I used the same code, but my cursor is not visible on the QTextEdit window.
Thanks & Regards
Show how you use it
a life without programming is like an empty bottle
Bookmarks