Results 1 to 2 of 2

Thread: QInputDialiog enter values without closing

  1. #1
    Join Date
    Oct 2013
    Posts
    8
    Qt products
    Qt5
    Platforms
    Windows

    Default QInputDialiog enter values without closing

    I have QtInputDialog and I dont like it that, when i press enter it closes.

    I would like to type value and confirm it by pressing enter on keyboard. After that line edit resets and i can type another value. and when i press cancel or x it closes

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

    Default Re: QInputDialiog enter values without closing

    Simple enough to create your own dialog and make sure it doesn't have a default button.

    Cheers,
    _

Similar Threads

  1. Enter key same event tab key
    By plopes21 in forum Qt Programming
    Replies: 2
    Last Post: 8th March 2013, 15:46
  2. How to disable enter
    By phillip_Qt in forum Qt Programming
    Replies: 11
    Last Post: 23rd August 2012, 08:52
  3. How to convert string hex values to its real binary values?
    By AttilaPethe in forum Qt Programming
    Replies: 1
    Last Post: 20th February 2012, 23:47
  4. Replies: 15
    Last Post: 2nd October 2008, 00:43
  5. Replies: 1
    Last Post: 15th September 2008, 00:05

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.