How to adapt the size of QWebView to its contents

Printable View