开发者

Resize QTextEdit in a QWidget while it is being resized the QWidget

开发者 https://www.devze.com 2022-12-25 16:25 出处:网络
How to make QTextEdit to be resized in a QWidget while the QWidget is being resized? Should I o开发者_Python百科verload resizeEvent function for the QWidget?You should use layouts too achive this. Th

How to make QTextEdit to be resized in a QWidget while the QWidget is being resized? Should I o开发者_Python百科verload resizeEvent function for the QWidget?


You should use layouts too achive this. There is an excellent tutorial by the trolls on how to do this: http://qt.nokia.com/doc/4.6/layout.html.


No, you should set the sizePolicy property for your QTextEdit object.

0

精彩评论

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

关注公众号