Results 1 to 2 of 2

Thread: QPlainTextEdit

  1. #1
    Join Date
    May 2010
    Posts
    30
    Qt products
    Qt4

    Default QPlainTextEdit

    hello,

    how could I implement a function to search a string in a qplaintextedit window ?
    Similarly, how could I do "find next", "find previous" and "find and replace" ?
    Thanks.

  2. #2
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: QPlainTextEdit

    Read the documentation for QTextEdit; these functions are practically written for you already with the functionality the class provides. There are also a few very good examples included in the "Examples" programs.

Similar Threads

  1. QplainTextEdit
    By deeee in forum Qt Programming
    Replies: 6
    Last Post: 27th May 2010, 00:14
  2. QPlainTextEdit and anchors
    By bear101 in forum Qt Programming
    Replies: 2
    Last Post: 13th December 2009, 18:10
  3. QPlainTextEdit, Read Only
    By metdos in forum Qt Programming
    Replies: 2
    Last Post: 10th August 2009, 11:34
  4. QPlainTextEdit
    By Carlsberg in forum Qt Programming
    Replies: 4
    Last Post: 13th June 2009, 06:12
  5. QPlainTextEdit scrolling
    By roxton in forum Qt Programming
    Replies: 1
    Last Post: 16th July 2008, 16:55

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.