Results 1 to 2 of 2

Thread: find text with regexp in qwebview +highlight

  1. #1
    Join Date
    Nov 2010
    Posts
    30
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question find text with regexp in qwebview +highlight

    hi..
    i want to search text in qwebview with regexp pattern and highlight matched text..

  2. #2
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Thanks
    15
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: find text with regexp in qwebview +highlight

    Quote Originally Posted by solook View Post
    hi..
    i want to search text in qwebview with regexp pattern and highlight matched text..
    1. Get the source text from QWebView
    2. Match the text to your desired regular expression.

    http://qt-project.org/forums/viewthread/27170
    http://www.qtforum.org/article/28252...-qwebview.html

Similar Threads

  1. Highlight an item in QCombobox by text color
    By AlekseyK in forum Qt Programming
    Replies: 6
    Last Post: 18th March 2019, 21:31
  2. Highlight the text in QWidget on mouseMoveEvent
    By mythili in forum Qt Programming
    Replies: 6
    Last Post: 24th April 2013, 08:43
  3. Replies: 1
    Last Post: 5th August 2008, 20:44
  4. Setting a highlight text color for QTableWidgetItem
    By Hiba in forum Qt Programming
    Replies: 6
    Last Post: 14th December 2007, 10:51
  5. Highlight text in list box
    By Sheetal in forum Qt Tools
    Replies: 7
    Last Post: 9th April 2007, 11:24

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.