Re: [Interest] QPrintPreviewWidget

2017-04-01 Thread Dan Allen
Hi Bill, I agree, however when the print is quite complex it makes the GUI very unresponsive. Painting into an off screen image is not GUI related. The print preview could show something like "Generating Preview" while a background thread generates it and then show it when it's ready for exa

Re: [Interest] QPrintPreviewWidget

2017-04-01 Thread Konstantin Tokarev
01.04.2017, 15:44, "william.croc...@analog.com" : > On 04/01/2017 03:41 AM, Dan Allen wrote: >>  Hi, >> >>  Could anyone tell me if it's possible to paint into a QPrintPreviewWidget in >>  another thread, and if so, how? >> >>  I have created a class to perform printing and this runs in another t

Re: [Interest] QPrintPreviewWidget

2017-04-01 Thread william.croc...@analog.com
On 04/01/2017 03:41 AM, Dan Allen wrote: Hi, Could anyone tell me if it's possible to paint into a QPrintPreviewWidget in another thread, and if so, how? I have created a class to perform printing and this runs in another thread. When used for printing it works fine. However when used for the

[Interest] QPrintPreviewWidget

2017-04-01 Thread Dan Allen
Hi, Could anyone tell me if it's possible to paint into a QPrintPreviewWidget in another thread, and if so, how? I have created a class to perform printing and this runs in another thread. When used for printing it works fine. However when used for the print preview, nothing is shown unles