Results 1 to 2 of 2

Thread: QInputDialog For Regular Experrsion

  1. #1
    Join Date
    Feb 2015
    Posts
    22
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default QInputDialog For Regular Experrsion

    How To Set QInputDialog for Regular Experssion....?

    QString tempStr = QInputDialog::getText(this, "Main Menu","User Name", QLineEdit::Normal,"", &ok,Qt::CustomizeWindowHint | Qt::WindowTitleHint);

    The Above Code It will take Both Characters and Integers ...

    so I want To Take Only Characters ...So Plzz Give Me The Valueable Solution..

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QInputDialog For Regular Experrsion

    Create your own input dialog.
    See QDialog, QDialogButtonBox and QLineEdit.

    Cheers,
    _

Similar Threads

  1. doubt in Qinputdialog
    By iswaryasenthilkumar in forum Newbie
    Replies: 1
    Last Post: 22nd May 2015, 12:25
  2. Customised QinputDialog
    By vinod sharma in forum Qt Programming
    Replies: 1
    Last Post: 12th October 2011, 14:13
  3. Problem in QInputDialog...!
    By hakermania in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2010, 14:58
  4. QInputDialog and OSG
    By Pertur in forum Qt Programming
    Replies: 3
    Last Post: 30th July 2010, 09:34
  5. QInputDialog
    By bkv in forum Newbie
    Replies: 2
    Last Post: 6th October 2006, 07:34

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.