Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Small data entry window, not part of the main dialog
Qt 6.11 is out! See what's new in the release blog

Small data entry window, not part of the main dialog

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 658 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Dan3460D Offline
    Dan3460D Offline
    Dan3460
    wrote on last edited by
    #1

    The title may be confusing but this is what i want to do: I have a button on a dialog that when click i want a small window to popup where i can enter a code that is returned back to the calling dialog. I know that i can build a small QT model, with a small data entry and have it close when pressing the enter key. But is there any other way to do this on the fly?

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! There is a convenience class, QInputDialog, that does just that.

      1 Reply Last reply
      0
      • Dan3460D Offline
        Dan3460D Offline
        Dan3460
        wrote on last edited by
        #3

        Neat, did not know that. Appreciated.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved