开发者

Qt: open resizable window with recommended width

开发者 https://www.devze.com 2023-04-04 08:08 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消