Results 1 to 13 of 13

Thread: how to color certain words in a textedit

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Posts
    9
    Thanks
    2
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default how to color certain words in a textedit

    hi
    i'm using qt3.0.i have to color certain strings/keywords in a textedit while opening the file as well as adding characters in a newly opened file which is similar to qteditor environment.
    And also i have to parse the file for the words which should match the predefined words.
    for eg.: ScanIn,ScanOut
    i have to color the above two words and also check for predefined words,if it is not in the list i have to give an error message.
    Please help me,its very urgent.
    Give some example coding to do the task.
    thanks in advance,
    bose.
    Last edited by chandrabose.s; 8th March 2006 at 13:18.

Similar Threads

  1. visible text of textedit
    By regix in forum Qt Programming
    Replies: 3
    Last Post: 26th June 2006, 09:02

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
  •  
Qt is a trademark of The Qt Company.