On Freitag, 22. Mai 2015 12:29:50 CEST, Jan Kundrát wrote:
It won't be that simple, unfortunately. Our code uses multiple QWebView instances to show multipart messages; for example, when someone forwards you an e-mail as an attachment, you'll have at least two QWebView widgets next to each other.
One part == one print job. It's not like there weren't tons of paper to be blackened, looked at once briefly and dumped. For a maybe insane brainstorm: could one, in theory, organize parts in iframes? There's this nice QWebSettings::FrameFlatteningEnabled flag which should pretty much do what the current, rather complex, "create a layouted workarea" does - and as bonus, there'll be only one view to print :) Cheers, Thomas
