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.
精彩评论