[Qt-interest] asking QPrintPreviewDialog to update

Steven Doerfler sgd-qt at lugaru.com
Sat Feb 6 02:45:09 CET 2010


I'd prefer to use QPrintPreviewDialog instead of building my own dialog
around QPrintPreviewWidget, but I want to use it as a non-modal dialog,
and signal it it from time to time to update itself with new content. 
The widget has an updatePreview() slot that works OK for this, but the
QPrintPreviewDialog dialog has neither a corresponding slot, nor a way
to access the QPrintPreviewWidget inside it.

Is there some way to send a signal to that slot of the
QPrintPreviewWidget inside a QPrintPreviewDialog, or some other way to
do this?  Thanks for any suggestions.

Steven




More information about the Qt-interest-old mailing list