Results 1 to 2 of 2

Thread: Highlight Sentence

  1. #1
    Join Date
    May 2014
    Posts
    8
    Thanks
    4
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Highlight Sentence

    Hello everyone
    SOS i need help plz,
    situation: i have text file and my background color for the words is moving from start till end of the text, at a moment during this process i want by clicking a radiobutton, the cursor stop and new cursor is created and moved backward searching for "FULL STOP" when it reaches full stop the text between the two cursors should be highlighted.
    plz plz plz help ^^
    thnk you

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Highlight Sentence

    So what exactly is the problem? Have you seen the QTextCursor class?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Sentence with the least number of words (c++)
    By foxy in forum General Programming
    Replies: 2
    Last Post: 3rd March 2013, 13:22
  2. Is this sentence correct?
    By SWEngineer in forum Newbie
    Replies: 6
    Last Post: 21st June 2011, 01:56
  3. Highlighting individual words of a sentence
    By kellorooney in forum Newbie
    Replies: 1
    Last Post: 16th April 2010, 04:51
  4. Replies: 5
    Last Post: 16th March 2007, 08:18

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.