Convert html document to pdf

Selected html document is downloaded (if online document has been selected) and loaded into QWebPage (HTMLpreview dialog). It is recomended, that you wait until "Ready" appears instead of "Loading". Then press "Convert" to print loaded page to pdf.
It seems that if Qt version is less than 4.5, background, styles etc. are ignored.
Используются технологии uCoz