PDA

View Full Version : QInputDialog with several QLineEdit it is possible?



Usernаme
25th May 2010, 15:33
I want to use QInputDialog::getText with several QLineEdit.. It is possible??
Yes, I can write some widget but it is so boring..

JD2000
25th May 2010, 17:07
Programming is like making love to a beautiful woman.
You need to get out more!

Actually I don't see why you can not have more than one LineEdit in a dialog, QWizard uses them.

Ginsengelf
26th May 2010, 12:25
Actually I don't see why you can not have more than one LineEdit in a dialog, QWizard uses them.
You can't have more than one in a QInputDialog. Of course you can create your own dialog with as many LineEdits as you want.

Ginsengelf

high_flyer
29th March 2019, 09:00
First line of the documentation:


Notice the "single value" part!

Programming is like making love to a beautiful woman. You need to take your time and it's never boring.
It will take you less than half an hour of work to create something like you want.


Please try to avoid comments of a sexist nature - and remember that the forum has members of both (maybe more) genders, and that it may be offending to women (in this case).
While I think you didn't mean to be demeaning in your comment, it does come across like that.
So please try to stay neutral in that sense in the future.

d_stranz
29th March 2019, 14:58
Maybe this whole thread should simply be deleted. It doesn't add much of use to the forum, and it is 9 years old in any case.