How can I open a dialog window in Qt/PyQt with a recommended size which can be shrinked 开发者_运维技巧and expanded ? I find only methods for setting a miniumSize, but not to set a actual size.
QWidget.resize()
or QWidget.setGeometry
should work in most cases.
精彩评论