Index: scribus/ui/preferences/prefs_preflightverifierbase.ui =================================================================== --- scribus/ui/preferences/prefs_preflightverifierbase.ui (revision 27785) +++ scribus/ui/preferences/prefs_preflightverifierbase.ui (working copy) @@ -6,8 +6,8 @@ 0 0 - 623 - 757 + 700 + 720 @@ -44,339 +44,558 @@ - - - Show pages without errors - - - - - - - Show errors for items on layers that will not print - - - - - - - Qt::Orientation::Vertical - - - QSizePolicy::Policy::Minimum - - - - 20 - 20 - - - - - - - - - true - - - - Profile Setup - - - - - - - true - - - - - 0 - 0 - 610 - 615 - + + + + 0 + 0 + + + + + 0 - - - - - Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop - - - - - - true - - - - Output Profile: - - - - - - - true - - - - - - - - - - - Add New Profile - - - - - - - Remove Profile - - - - - - - Qt::Orientation::Horizontal - - - - 40 - 20 - - - - - - - - - - Qt::Orientation::Vertical - - - QSizePolicy::Policy::Fixed - - - - 20 - 20 - - - - - - - - - true - - - - Profile Options - - - - - - - Qt::Orientation::Horizontal - - - - - - - Ignore all errors - - - - - - - Automatic check before printing or exporting - - - - - - - Check for missing glyphs - - - - - - - Check for items not on a page - - - - - - - Check for empty text frames - - - - - - - Check for overflow in text frames - - - - - - - Check for used transparencies - - - - - - - Check for missing images - - - - - - - Check for partially filled image frames - - - - - - - Check for images with progressive encoding - - - - - - - Check image resolution - - - - - - - Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop + + 0 + + + 0 + + + 0 + + + + + &Profile + + + + + + Output Profile: + + + currentProfileComboBox + + + + + + + true + + + + 220 + 0 + + + + + + + + Add Profile + + + + + + + Remove Profile + + + + + + + Qt::Orientation::Horizontal + + + + 40 + 20 + + + + + + + + Automatic check before printing or exporting + + + + + + + + + + 12 - - - Minimum Resolution: - + + + + 0 + 0 + + + + + 0 + + + 0 + + + 0 + + + 0 + + + 8 + + + + + &Text + + + + + + Check for missing glyphs + + + + + + + Check for empty text frames + + + + + + + Check for overflow in text frames + + + + + + + + + + I&mages + + + + + + Check for missing images + + + + + + + Check for partially filled image frames + + + + + + + Check for images with progressive encoding + + + + + + + Check for GIF images + + + + + + + 8 + + + + + + 0 + 0 + + + + + + + true + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Check image resolution + + + + + + + + + + false + + + + 8 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + 0 + + + + Minimum + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + dpi + + + 10 + + + 4800 + + + + + + + + + + + 0 + 0 + + + + Maximum + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + dpi + + + 10 + + + 4800 + + + + + + + + + + + + + Qt::Orientation::Horizontal + + + QSizePolicy::Policy::Expanding + + + + 0 + 20 + + + + + + + + + + + + + Qt::Orientation::Vertical + + + QSizePolicy::Policy::Expanding + + + + 20 + 40 + + + + + - - - dpi - - - 10 - - - 4800 - - - - - - - dpi - - - 10 - - - 4800 - - - - - - - Maximum Resolution: - + + + + 0 + 0 + + + + + 0 + + + 0 + + + 0 + + + 0 + + + 8 + + + + + P&DF && Transparency + + + + + + Check for placed PDF files + + + + + + + Check for used transparencies + + + + + + + Check for PDF Annotations and Fields + + + + + + + + + + Pages && &Layers + + + + + + Check for items not on a page + + + + + + + Check for master-page side mismatch + + + Check whether the applied master page matches the page's left/right side. + + + + + + + Check for Visible/Printable mismatch in layers + + + + + + + + + + More &Options + + + + + + Ignore all errors + + + + + + + Ignore non-printable layers + + + Skip items on non-printing layers. + + + + + + + Show pages without errors + + + + + + + Show errors for items on non-printing layers + + + + + + + + + + Qt::Orientation::Vertical + + + QSizePolicy::Policy::Expanding + + + + 20 + 40 + + + + + - - - - - Check for placed PDF files - - - - - - - Check for GIF images - - - - - - - Check for PDF Annotations and Fields - - - - - - - Check for Visible/Printable mismatch in layers - - - - - - - Ignore non-printable layers - - - - - - - Check if applied master page location is the same as each page's location - - - - - - - Qt::Orientation::Vertical - - - - 20 - 124 - - - - - - + + + + + FormWidget + QWidget +
ui/widgets/form_widget.h
+ 1 +
+
+ + currentProfileComboBox + addProfilePushButton + removeProfilePushButton + autoCheckBeforePrintExportCheckBox + checkMissingGlyphsCheckBox + checkEmptyTextFramesCheckBox + checkTextOverflowCheckBox + checkMissingImagesCheckBox + checkPartFilledImageFramesCheckBox + checkImageHasProgressiveEncodingCheckBox + checkGIFsCheckBox + checkImageResolutionCheckBox + minimumResolutionSpinBox + maximumResolutionSpinBox + checkPlacedPDFCheckBox + checkTransparenciesCheckBox + checkPDFAnnotFieldsCheckBox + checkItemsNotOnAPageCheckBox + checkAppliedMasterPageLocationCheckBox + checkVisiblePrintableLayersCheckBox + ignoreAllErrorsCheckBox + checkNonPrintableLayersCheckBox + showPagesWithoutErrorsCheckBox + showNonPrintingLayerErrorsCheckBox + Index: scribus/ui/preferences/prefs_preflightverifier.cpp =================================================================== --- scribus/ui/preferences/prefs_preflightverifier.cpp (revision 27785) +++ scribus/ui/preferences/prefs_preflightverifier.cpp (working copy) @@ -30,6 +30,7 @@ connect(checkMissingImagesCheckBox, SIGNAL(clicked()), this, SLOT(putProfile())); connect(checkPartFilledImageFramesCheckBox, SIGNAL(clicked()), this, SLOT(putProfile())); connect(checkImageResolutionCheckBox, SIGNAL(toggled(bool)), this, SLOT(putProfile())); + connect(checkImageResolutionCheckBox, &QCheckBox::toggled, resolutionRangeWidget, &QWidget::setEnabled); connect(checkPDFAnnotFieldsCheckBox, SIGNAL(clicked()), this, SLOT(putProfile())); connect(checkPlacedPDFCheckBox, SIGNAL(clicked()), this, SLOT(putProfile())); connect(checkGIFsCheckBox, SIGNAL(clicked()), this, SLOT(putProfile())); @@ -182,6 +183,7 @@ checkVisiblePrintableLayersCheckBox->setChecked(checkerProfile.checkOffConflictLayers); checkAppliedMasterPageLocationCheckBox->setChecked(checkerProfile.checkAppliedMasterDifferentSide); checkEmptyTextFramesCheckBox->setChecked(checkerProfile.checkEmptyTextFrames); + checkImageHasProgressiveEncodingCheckBox->setChecked(checkerProfile.checkImageHasProgressiveEncoding); currentProfile = name; connect(ignoreAllErrorsCheckBox, SIGNAL(clicked()), this, SLOT(putProfile())); @@ -224,6 +226,7 @@ checkerSettings.checkOffConflictLayers = checkVisiblePrintableLayersCheckBox->isChecked(); checkerSettings.checkAppliedMasterDifferentSide = checkAppliedMasterPageLocationCheckBox->isChecked(); checkerSettings.checkEmptyTextFrames = checkEmptyTextFramesCheckBox->isChecked(); + checkerSettings.checkImageHasProgressiveEncoding = checkImageHasProgressiveEncodingCheckBox->isChecked(); checkerProfiles.insert(tempNewProfileName, checkerSettings); currentProfile = tempNewProfileName; if (checkerProfiles.count() > 1)