Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/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

    Hi,

    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