+ use screen resolution in PDF export/print preview to reduce memory usage

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5303 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
wmayer 2011-12-15 10:06:05 +00:00
parent a987522a77
commit c8b58f9b26

View File

@ -348,7 +348,7 @@ const char *View3DInventor::getName(void) const
void View3DInventor::print()
{
QPrinter printer(QPrinter::HighResolution);
QPrinter printer(QPrinter::ScreenResolution);
printer.setFullPage(true);
QPrintDialog dlg(&printer, this);
if (dlg.exec() == QDialog::Accepted) {
@ -371,7 +371,7 @@ void View3DInventor::printPdf()
void View3DInventor::printPreview()
{
QPrinter printer(QPrinter::HighResolution);
QPrinter printer(QPrinter::ScreenResolution);
printer.setFullPage(true);
//printer.setPageSize(QPrinter::A3);
printer.setOrientation(QPrinter::Landscape);