Results 1 to 2 of 2

Thread: Realisation of QRegExp

  1. #1
    Join Date
    Mar 2009
    Posts
    104
    Qt products
    Qt4
    Platforms
    MacOS X
    Thanked 1 Time in 1 Post

    Default Realisation of QRegExp

    Hi,

    i'm trying ti release my first simple QT program but i'm confused in how to implement the
    QRegExp class and how to set Signal Slots in the following program:

    - i want the user to insert some text in the QTexedit,
    - after that to enter sum word(string) in the Lineedit
    - when press the QPushButton the matched string to be colored

    i attached the project as .ZIP,
    http://www.filefactory.com/file/a06c8ad/n/text_zip
    THANK YOU A LOT TO EVERYONE WHO WILL SPEND HIS TIME TO HELP ME!!!

  2. #2
    Join Date
    Feb 2007
    Location
    Karlsruhe, Germany
    Posts
    469
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    17
    Thanked 90 Times in 88 Posts

    Default Re: Realisation of QRegExp

    Problem still on?

    I have not looked at your code. If you want to share code, just use the attachments option of the board.

    For such a search field I have extended QSyntaxHighlighter. In a way similar to the syntaxhighlighter example. http://doc.trolltech.com/4.5/richtex...ghlighter.html

    Let me know if you need more explicit help.

    Johannes

Similar Threads

  1. QRegExp Confusion
    By redneon in forum Qt Programming
    Replies: 3
    Last Post: 21st April 2009, 12:33
  2. QRegExp Help
    By Ahmad in forum Qt Programming
    Replies: 2
    Last Post: 28th May 2007, 01:13
  3. QRegExp?
    By Marco812 in forum Qt Programming
    Replies: 3
    Last Post: 4th August 2006, 09:31
  4. need help for my QRegExp
    By patcito in forum Qt Programming
    Replies: 1
    Last Post: 27th May 2006, 17:29
  5. Trouble parsing using simple QRegExp
    By johnny_sparx in forum Qt Programming
    Replies: 4
    Last Post: 24th February 2006, 01:42

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.