Results 1 to 9 of 9

Thread: QRegExpValidator not validating.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QRegExpValidator not validating.

    The only difference is in construction time for the QRegExp, which will generally be dwarfed by the execution time for any non-trivial regular expression. If you are going to run the expression frequently, say in a tight loop, then you would arrange to construct the object once and keep it.

  2. The following user says thank you to ChrisW67 for this useful post:

    m3rlin (18th March 2013)

Similar Threads

  1. editing string in QLineEdit with QRegExpValidator
    By Al_ in forum Qt Programming
    Replies: 0
    Last Post: 28th April 2012, 10:51
  2. Memory leak in QRegExpValidator?!?
    By Tiansen in forum Qt Programming
    Replies: 1
    Last Post: 28th December 2009, 14:17
  3. Mixing QRegExpValidator and input mask and QLineEdit
    By abernat in forum Qt Programming
    Replies: 1
    Last Post: 18th February 2009, 00:04
  4. Validating QLineEdit
    By OriginalCopy in forum Qt Programming
    Replies: 2
    Last Post: 8th November 2007, 17:12
  5. QRegExpValidator
    By TheKedge in forum Qt Programming
    Replies: 2
    Last Post: 28th February 2007, 14:07

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