Important: Please read the Qt Code of Conduct -

Dialog with image and text input

  • Hello, i want to create dialog, i want to insert in it image, and text input, then return value of text input. I was thinking about QInputDialog, but it's made for only text. New form? But how to return. I just need idea, what should i use. Thanks in advance

  • Lifetime Qt Champion


    You can create your own dialog with the widgets you need inside and add a getter to get the content of the text input you'll be using. So QDialog, QLabel, QLineEdit and you should be good to go.

    Hope it helps

Log in to reply