How to resize QInputDialog, PyQt

Posted by siege on Stack Overflow See other posts from Stack Overflow or by siege
Published on 2010-03-15T21:38:46Z Indexed on 2010/03/15 22:19 UTC
Read the original article Hit count: 754

Filed under:
|
|

I am getting input with this here

areaInput = QtGui.QInputDialog.getText(self, "Copy Area", "New Area Name:", 0)

However I would like to make the dialog box larger, I've tried things such as

QtGui.QInputDialog.resize(400, 400)

However it says "the first argument must be a QWidget class" and I'm not quite sure what this means or how to fix it. Thanks.

© Stack Overflow or respective owner

Related posts about pyqt

Related posts about python