Phone number formatting?

  • Is there a widget, or way to have a phone number formatted as user is typing in the field? I would like the user to start typing and have it automatically enter the ( ) and - for a telephone number. I know this can be done brute force but is there an easier Qt way. Thanks

  • Qt Champions 2017

    Use a regular QLineEdit with an appropriate input mask.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.