开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜