Results 1 to 2 of 2

Thread: QDoubleVlaidator range

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2010
    Location
    Berlin, Germany
    Posts
    358
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    18
    Thanked 68 Times in 66 Posts

    Default Re: QDoubleVlaidator range

    Qt Code:
    1. std::numeric_limits<double>::epsilon()
    To copy to clipboard, switch view to plain text mode 

    use epsilon as minValue and (1-epsilon) as max value...

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

    johnmauer (20th October 2010)

Similar Threads

  1. Out of range detection
    By zgulser in forum Qt Programming
    Replies: 2
    Last Post: 6th February 2009, 09:32
  2. Index out of Range
    By santhoshv84 in forum Qt Programming
    Replies: 2
    Last Post: 19th August 2008, 15:33
  3. QLineEdit set min max range?
    By whitefurrows in forum Qt Programming
    Replies: 29
    Last Post: 10th June 2006, 23:51
  4. Elements out of Range!!
    By Kapil in forum Newbie
    Replies: 9
    Last Post: 3rd April 2006, 10:28
  5. Drag vs range-select
    By drhex in forum Qt Programming
    Replies: 0
    Last Post: 19th February 2006, 20:39

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.