[Qt-interest] How to use Qt own Page Setup dialog in Windows platform
R. Reucher
rene.reucher at batcom-it.net
Fri Jun 26 11:32:36 CEST 2009
On Fri June 26 2009 11:27:14 R. Reucher wrote:
> On Fri June 26 2009 11:18:54 Siu Ning Zhuang wrote:
> > Does anyone know how to force Qt to use Qt own Page Setup dialog,
> > instead of using Windows and Mac native Page Setup dialog?
>
> Are you talking about a QWizard?! If so, you may want to set the wizard
> style explicitly:
> http://doc.qtsoftware.com/4.5/qwizard.html#wizardStyle-prop
Or do you mean the print setup dialog?
If so, see here: http://doc.qtsoftware.com/4.5/qprintdialog.html#details
"On Windows and Mac OS X, the native print dialog is used, which means that
some QWidget and QDialog properties set on the dialog won't be respected. The
native print dialog on Mac OS X does not support setting printer options,
i.e. QAbstractPrintDialog::setEnabledOptions() and
QAbstractPrintDialog::addEnabledOption() have no effect."
So, there's no way...
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/
Jacquin's Postulate on Democratic Government:
No man's life, liberty, or property are safe while the
legislature is in session.
More information about the Qt-interest-old
mailing list