Hello friends,

I am implementing a header and footer in my application...

I an using QTextEdit for header and footer....

Now My problem is..

How do i disable the scrollbar which will automatically appears as the data
in the TextEdit increases,

I want the TextEdit to resize itself as the content increases...

In Qt3 we had heightForWidth function to do this ....

How can I achieve the same in Qt4..

Thanks