Results 1 to 3 of 3

Thread: QLineEdit setup

  1. #1
    Join Date
    Mar 2011
    Posts
    42
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default QLineEdit setup

    hi, i want to configure QLineEdit by designer's inputMask attribute to achieve when enter IP address limit, but have no use, please help, what should to do. thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    5
    Thanked 86 Times in 81 Posts

    Default Re: QLineEdit setup

    Read better inputMask docs.

    000.000.000.000;_ IP address; blanks are _.
    If you want check that the input is a valid IP address you should use a QValidator subclass
    A camel can go 14 days without drink,
    I can't!!!

  3. #3
    Join Date
    Mar 2011
    Posts
    42
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: QLineEdit setup

    ok, thank you, i try test it.

Similar Threads

  1. Qt Setup Help
    By arpspatel in forum Installation and Deployment
    Replies: 6
    Last Post: 26th January 2011, 19:45
  2. Replies: 1
    Last Post: 12th October 2010, 22:20
  3. Qwt setup with VS2008
    By er453r in forum Qwt
    Replies: 1
    Last Post: 26th April 2010, 15:44
  4. How to make a setup
    By TomASS in forum Qt Tools
    Replies: 7
    Last Post: 7th December 2009, 13:31
  5. How to create setup in Mac
    By santhoshv84 in forum Qt Programming
    Replies: 0
    Last Post: 18th September 2008, 07:26

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.