r14736 by cbradney - More PDF export prefs updates

scribus-commit scribus-commit at lists.scribus.net
Tue Feb 16 01:30:22 CET 2010


Revision: 14736
Author: cbradney
Date: 2010-02-16T00:23:03.479738Z
Commit message: More PDF export prefs updates

Changeset: 
M  /trunk/Scribus/scribus/ui/prefs_pdfexport.h
M  /trunk/Scribus/scribus/ui/prefs_pdfexportbase.ui
M  /trunk/Scribus/scribus/ui/prefs_pdfexport.cpp

Diffs:
Index: scribus/ui/prefs_pdfexport.cpp
===================================================================
--- scribus/ui/prefs_pdfexport.cpp	(revision 14735)
+++ scribus/ui/prefs_pdfexport.cpp	(revision 14736)
@@ -28,15 +28,15 @@
 
 	connect(exportChosenPagesRadioButton, SIGNAL(toggled(bool)), this, SLOT(enableRangeControls(bool)));
 	connect(exportRangeMorePushButton, SIGNAL(clicked()), this, SLOT(createPageNumberRange()));
-//	connect(DSColor, SIGNAL(clicked()), this, SLOT(DoDownsample()));
+	connect(maxResolutionLimitCheckBox, SIGNAL(clicked()), this, SLOT(setMaximumResolution()));
 //	connect(MirrorH, SIGNAL(clicked()), this, SLOT(PDFMirror()));
 //	connect(MirrorV, SIGNAL(clicked()), this, SLOT(PDFMirror()));
 //	connect(RotateDeg, SIGNAL(activated(int)), this, SLOT(Rotation(int)));
-//	connect(OutCombo, SIGNAL(activated(int)), this, SLOT(EnablePr(int)));
-//	connect(EmbedProfs, SIGNAL(clicked()), this, SLOT(EnablePG()));
-//	connect(EmbedProfs2, SIGNAL(clicked()), this, SLOT(EnablePGI()));
-//	connect(NoEmbedded, SIGNAL(clicked()), this, SLOT(EnablePGI2()));
-//	connect(PDFVersionCombo, SIGNAL(activated(int)), this, SLOT(EnablePDFX(int)));
+	connect(outputIntentionComboBox, SIGNAL(activated(int)), this, SLOT(enableProfiles(int)));
+	connect(useSolidColorProfileCheckBox, SIGNAL(clicked()), this, SLOT(enablePG()));
+	connect(useImageProfileCheckBox, SIGNAL(clicked()), this, SLOT(enablePGI()));
+	connect(doNotUseEmbeddedImageProfileCheckBox, SIGNAL(clicked()), this, SLOT(enablePGI2()));
+	connect(pdfVersionComboBox, SIGNAL(activated(int)), this, SLOT(enablePDFX(int)));
 	connect(useEncryptionCheckBox, SIGNAL(clicked(bool)), this, SLOT(enableSecurityControls(bool)));
 }
 
@@ -100,25 +100,33 @@
 	pageBindingComboBox->addItem( tr("Right Margin"));
 	pageBindingComboBox->setCurrentIndex(i);
 
-	i = outputIntentionCheckBox->currentIndex();
-	outputIntentionCheckBox->clear();
-	outputIntentionCheckBox->addItem( tr( "Screen / Web" ) );
-	outputIntentionCheckBox->addItem( tr( "Printer" ) );
-	outputIntentionCheckBox->addItem( tr( "Grayscale" ) );
-	outputIntentionCheckBox->setCurrentIndex(i);
+	i = outputIntentionComboBox->currentIndex();
+	outputIntentionComboBox->clear();
+	outputIntentionComboBox->addItem( tr( "Screen / Web" ) );
+	outputIntentionComboBox->addItem( tr( "Printer" ) );
+	outputIntentionComboBox->addItem( tr( "Grayscale" ) );
+	outputIntentionComboBox->setCurrentIndex(i);
 
-//	LPIfunc->clear();
-//	LPIfunc->addItem( tr( "Simple Dot" ) );
-//	LPIfunc->addItem( tr( "Line" ) );
-//	LPIfunc->addItem( tr( "Round" ) );
-//	LPIfunc->addItem( tr( "Ellipse" ) );
+	i = customRenderingSpotFunctionComboBox->currentIndex();
+	customRenderingSpotFunctionComboBox->clear();
+	customRenderingSpotFunctionComboBox->addItem( tr( "Simple Dot" ) );
+	customRenderingSpotFunctionComboBox->addItem( tr( "Line" ) );
+	customRenderingSpotFunctionComboBox->addItem( tr( "Round" ) );
+	customRenderingSpotFunctionComboBox->addItem( tr( "Ellipse" ) );
+	customRenderingSpotFunctionComboBox->setCurrentIndex(i);
 
-//	QString tmp_ip[] = { tr("Perceptual"), tr("Relative Colorimetric"), tr("Saturation"), tr("Absolute Colorimetric")};
-//	size_t ar_ip = sizeof(tmp_ip) / sizeof(*tmp_ip);
-//	for (uint a = 0; a < ar_ip; ++a)
-//		IntendS->addItem(tmp_ip[a]);
-//	for (uint a = 0; a < ar_ip; ++a)
-//		IntendI->addItem(tmp_ip[a]);
+	i = solidColorRenderingIntentComboBox->currentIndex();
+	int j=imageRenderingIntentComboBox->currentIndex();
+	solidColorRenderingIntentComboBox->clear();
+	imageRenderingIntentComboBox->clear();
+	QString tmp_ip[] = { tr("Perceptual"), tr("Relative Colorimetric"), tr("Saturation"), tr("Absolute Colorimetric")};
+	size_t ar_ip = sizeof(tmp_ip) / sizeof(*tmp_ip);
+	for (uint a = 0; a < ar_ip; ++a)
+		solidColorRenderingIntentComboBox->addItem(tmp_ip[a]);
+	for (uint a = 0; a < ar_ip; ++a)
+		imageRenderingIntentComboBox->addItem(tmp_ip[a]);
+	solidColorRenderingIntentComboBox->setCurrentIndex(i);
+	imageRenderingIntentComboBox->setCurrentIndex(j);
 }
 
 void Prefs_PDFExport::restoreDefaults(struct ApplicationPrefs *prefsData)
@@ -126,7 +134,8 @@
 	int unitIndex = prefsData->docSetupPrefs.docUnitIndex;
 	double unitRatio = unitGetRatioFromIndex(unitIndex);
 	unitChange(unitIndex);
-
+	Opts=prefsData->pdfPrefs;
+	defaultSolidColorRGBProfile=prefsData->colorPrefs.DCMSset.DefaultSolidColorRGBProfile;
 	exportAllPagesRadioButton->setChecked(true);
 	enableRangeControls(false);
 	rotationComboBox->setCurrentIndex(prefsData->pdfPrefs.RotateDeg / 90);
@@ -177,13 +186,13 @@
 	enableSecurityControls(prefsData->pdfPrefs.Encrypt);
 
 	if (prefsData->pdfPrefs.UseRGB)
-		outputIntentionCheckBox->setCurrentIndex(0);
+		outputIntentionComboBox->setCurrentIndex(0);
 	else
 	{
 		if (prefsData->pdfPrefs.isGrayscale)
-			outputIntentionCheckBox->setCurrentIndex(2);
+			outputIntentionComboBox->setCurrentIndex(2);
 		else
-			outputIntentionCheckBox->setCurrentIndex(1);
+			outputIntentionComboBox->setCurrentIndex(1);
 	}
 	convertSpotsToProcessCheckBox->setChecked(!prefsData->pdfPrefs.UseSpotColors);
 
@@ -199,12 +208,13 @@
 	printRegistrationMarksCheckBox->setChecked(prefsData->pdfPrefs.registrationMarks);
 	printColorBarsCheckBox->setChecked(prefsData->pdfPrefs.colorMarks);
 	printPageInfoCheckBox->setChecked(prefsData->pdfPrefs.docInfoMarks);
+
 }
 
 
 void Prefs_PDFExport::saveGuiToPrefs(struct ApplicationPrefs *prefsData) const
 {
-
+ //TODO
 }
 
 void Prefs_PDFExport::enableRangeControls(bool enabled)
@@ -240,3 +250,244 @@
 	}
 	exportPageListLineEdit->setText(QString::null);
 }
+
+void Prefs_PDFExport::setMaximumResolution()
+{
+	if (maxResolutionLimitCheckBox->isChecked())
+	{
+		maxExportResolutionSpinBox->setEnabled(true);
+		if (maxExportResolutionSpinBox->value() > epsExportResolutionSpinBox->value())
+			maxExportResolutionSpinBox->setValue(epsExportResolutionSpinBox->value());
+	}
+	else
+		maxExportResolutionSpinBox->setEnabled(false);
+}
+
+void Prefs_PDFExport::enableProfiles(int i)
+{
+	enableLPI(i);
+	bool setter = false;
+	if (i == 1 && pdfVersionComboBox->currentIndex() != 3)
+		setter = true;
+
+	setSolidsImagesWidgetsEnabled(setter);
+}
+
+void Prefs_PDFExport::enableLPI(int i)
+{
+	if (i == 1)
+	{
+		QString tp(Opts.SolidProf);
+		if (!ScCore->InputProfiles.contains(tp))
+		{
+			if (m_doc != 0)
+				tp = m_doc->CMSSettings.DefaultSolidColorRGBProfile;
+			else
+				tp = defaultSolidColorRGBProfile;
+		}
+		solidColorProfileComboBox->clear();
+		ProfilesL::Iterator itp;
+		ProfilesL::Iterator itpend=ScCore->InputProfiles.end();
+		for (itp = ScCore->InputProfiles.begin(); itp != itpend; ++itp)
+		{
+			solidColorProfileComboBox->addItem(itp.key());
+			if (itp.key() == tp)
+			{
+				if (cmsEnabled)
+					solidColorProfileComboBox->setCurrentIndex(solidColorProfileComboBox->count()-1);
+			}
+		}
+		if (cmsEnabled)
+			solidColorRenderingIntentComboBox->setCurrentIndex(Opts.Intent);
+		QString tp1 = Opts.ImageProf;
+		if (!ScCore->InputProfiles.contains(tp1))
+		{
+			if (m_doc != 0)
+				tp1 = m_doc->CMSSettings.DefaultSolidColorRGBProfile;
+			else
+				tp1 = defaultSolidColorRGBProfile;
+		}
+		imageProfileComboBox->clear();
+		ProfilesL::Iterator itp2;
+		ProfilesL::Iterator itp2end=ScCore->InputProfiles.end();
+		for (itp2 = ScCore->InputProfiles.begin(); itp2 != itp2end; ++itp2)
+		{
+			imageProfileComboBox->addItem(itp2.key());
+			if (itp2.key() == tp1)
+			{
+				if (cmsEnabled)
+					imageProfileComboBox->setCurrentIndex(imageProfileComboBox->count()-1);
+			}
+		}
+		if (cmsEnabled)
+			imageRenderingIntentComboBox->setCurrentIndex(Opts.Intent2);
+		setSolidsImagesWidgetsShown(cmsEnabled);
+		convertSpotsToProcessCheckBox->show();
+		if (m_doc!=0)
+		{
+			useCustomRenderingCheckBox->show();
+			setCustomRenderingWidgetsShown(useCustomRenderingCheckBox->isChecked());
+		}
+	}
+	else
+	{
+		convertSpotsToProcessCheckBox->hide();
+		useCustomRenderingCheckBox->hide();
+		setCustomRenderingWidgetsShown(false);
+	}
+}
+
+void Prefs_PDFExport::setCustomRenderingWidgetsShown(bool visible)
+{
+	useCustomRenderingCheckBox->setShown(visible);
+	customRenderingColorComboBox->setShown(visible);
+	customRenderingFrequencySpinBox->setShown(visible);
+	customRenderingAngleSpinBox->setShown(visible);
+	customRenderingSpotFunctionComboBox->setShown(visible);
+}
+
+
+void Prefs_PDFExport::setSolidsImagesWidgetsShown(bool visible)
+{
+	useSolidColorProfileCheckBox->setShown(visible);
+	solidColorProfileComboBox->setShown(visible);
+	solidColorRenderingIntentComboBox->setShown(visible);
+	useImageProfileCheckBox->setShown(visible);
+	doNotUseEmbeddedImageProfileCheckBox->setShown(visible);
+	imageProfileComboBox->setShown(visible);
+	imageRenderingIntentComboBox->setShown(visible);
+}
+void Prefs_PDFExport::setSolidsImagesWidgetsEnabled(bool enabled)
+{
+	useSolidColorProfileCheckBox->setEnabled(enabled);
+	solidColorProfileComboBox->setEnabled(enabled);
+	solidColorRenderingIntentComboBox->setEnabled(enabled);
+	useImageProfileCheckBox->setEnabled(enabled);
+	doNotUseEmbeddedImageProfileCheckBox->setEnabled(enabled);
+	imageProfileComboBox->setEnabled(enabled);
+	imageRenderingIntentComboBox->setEnabled(enabled);
+}
+
+
+void Prefs_PDFExport::enablePGI()
+{
+	bool setter=false;
+	if (useImageProfileCheckBox->isChecked())
+		setter = doNotUseEmbeddedImageProfileCheckBox->isChecked() ? true : false;
+	imageProfileComboBox->setEnabled(setter);
+	imageRenderingIntentComboBox->setEnabled(setter);
+	doNotUseEmbeddedImageProfileCheckBox->setEnabled(useImageProfileCheckBox->isChecked());
+}
+
+void Prefs_PDFExport::enablePGI2()
+{
+	bool setter = doNotUseEmbeddedImageProfileCheckBox->isChecked() ? true : false;
+	imageProfileComboBox->setEnabled(setter);
+	imageRenderingIntentComboBox->setEnabled(setter);
+}
+
+void Prefs_PDFExport::enablePG()
+{
+	bool setter = useSolidColorProfileCheckBox->isChecked() ? true : false;
+
+	solidColorProfileComboBox->setEnabled(setter);
+	solidColorRenderingIntentComboBox->setEnabled(setter);
+}
+
+void Prefs_PDFExport::enablePDFX(int i)
+{
+	includeLayersCheckBox->setEnabled((i == 2) || (i == 5));
+	/*
+	if (useLayers2)
+		useLayers2->setEnabled((i == 2) || (i == 5));
+	if (doc != 0 && pdfExport)
+	{
+		int currentEff = EffectType->currentIndex();
+		disconnect(EffectType, SIGNAL(activated(int)), this, SLOT(SetEffOpts(int)));
+		EffectType->clear();
+		EffectType->addItem( tr("No Effect"));
+		EffectType->addItem( tr("Blinds"));
+		EffectType->addItem( tr("Box"));
+		EffectType->addItem( tr("Dissolve"));
+		EffectType->addItem( tr("Glitter"));
+		EffectType->addItem( tr("Split"));
+		EffectType->addItem( tr("Wipe"));
+		if (i == 2)
+		{
+			EffectType->addItem( tr("Push"));
+			EffectType->addItem( tr("Cover"));
+			EffectType->addItem( tr("Uncover"));
+			EffectType->addItem( tr("Fade"));
+			EffectType->setCurrentIndex(currentEff);
+		}
+		else
+		{
+			if (currentEff > 6)
+			{
+				currentEff = 0;
+				EffectType->setCurrentIndex(0);
+				SetEffOpts(0);
+				for (int pg = 0; pg < doc->Pages->count(); ++pg)
+				{
+					if (EffVal[pg].effectType > 6)
+						EffVal[pg].effectType = 0;
+				}
+			}
+			else
+				EffectType->setCurrentIndex(currentEff);
+		}
+		connect(EffectType, SIGNAL(activated(int)), this, SLOT(SetEffOpts(int)));
+	}
+	*/
+	if (i < 3)  // not PDF/X
+	{
+		pdfx3OutputProfileComboBox->setEnabled(false);
+		pdfx3InfoStringLineEdit->setEnabled(false);
+		tabWidget->setTabEnabled(2, true);
+		outputIntentionComboBox->setEnabled(true);
+		useImageProfileCheckBox->setEnabled(true);
+		emit hasInfo();
+		/*
+		if (m_doc != 0 && pdfExport)
+		{
+			CheckBox10->setEnabled(true);
+			EmbedFonts->setEnabled(true);
+			if (EmbedList->count() != 0)
+				FromEmbed->setEnabled(true);
+			ToEmbed->setEnabled(true);
+		}
+		*/
+		return;
+	}
+	// PDF/X is selected
+	disconnect(outputIntentionComboBox, SIGNAL(activated(int)), this, SLOT(enableProfiles(int)));
+	outputIntentionComboBox->setCurrentIndex(1);
+	outputIntentionComboBox->setEnabled(false);
+	enableProfiles(1);
+	if ((i == 4) || (i == 5)) // X3 or X4, enforcing color profiles on images
+	{
+		useImageProfileCheckBox->setChecked(true);
+		useImageProfileCheckBox->setEnabled(false);
+	}
+	/*
+	if (m_doc != 0 && pdfExport)
+	{
+//		EmbedFonts->setChecked(true);
+		EmbedAll();
+		CheckBox10->setChecked(false);
+		CheckBox10->setEnabled(false);
+//		EmbedFonts->setEnabled(false);
+		FromEmbed->setEnabled(false);
+		ToEmbed->setEnabled(false);
+		if (InfoString->text().isEmpty())
+			emit noInfo();
+		else
+			emit hasInfo();
+	}
+	*/
+	enablePGI();
+	pdfx3OutputProfileComboBox->setEnabled(true);
+	pdfx3InfoStringLineEdit->setEnabled(true);
+	tabWidget->setTabEnabled(2, false);
+	connect(outputIntentionComboBox, SIGNAL(activated(int)), this, SLOT(enableProfiles(int)));
+}
Index: scribus/ui/prefs_pdfexport.h
===================================================================
--- scribus/ui/prefs_pdfexport.h	(revision 14735)
+++ scribus/ui/prefs_pdfexport.h	(revision 14736)
@@ -12,6 +12,7 @@
 #include "prefs_pane.h"
 #include "scribusapi.h"
 
+#include "pdfoptions.h"
 class ScribusDoc;
 
 class SCRIBUS_API Prefs_PDFExport : public Prefs_Pane, Ui::Prefs_PDFExport
@@ -24,6 +25,10 @@
 		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
 		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
 
+	signals:
+		void noInfo();
+		void hasInfo();
+
 	public slots:
 		void languageChange();
 		void unitChange(int);
@@ -32,10 +37,22 @@
 		void enableRangeControls(bool);
 		void enableSecurityControls(bool);
 		void createPageNumberRange();
+		void setMaximumResolution();
+		void enableProfiles(int);
+		void enableLPI(int);
+		void enablePG();
+		void enablePGI();
+		void enablePGI2();
+		void enablePDFX(int);
 
 	protected:
+		void setCustomRenderingWidgetsShown(bool);
+		void setSolidsImagesWidgetsShown(bool);
+		void setSolidsImagesWidgetsEnabled(bool);
 		bool cmsEnabled;
 		ScribusDoc* m_doc;
+		QString defaultSolidColorRGBProfile;
+		PDFOptions Opts;
 };
 
 #endif // PREFS_PDFEXPORT_H
Index: scribus/ui/prefs_pdfexportbase.ui
===================================================================
--- scribus/ui/prefs_pdfexportbase.ui	(revision 14735)
+++ scribus/ui/prefs_pdfexportbase.ui	(revision 14736)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>565</width>
-    <height>565</height>
+    <width>652</width>
+    <height>691</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -33,7 +33,7 @@
      <property name="currentIndex">
       <number>0</number>
      </property>
-     <widget class="QWidget" name="tab">
+     <widget class="QWidget" name="tabPages">
       <attribute name="title">
        <string>Pages</string>
       </attribute>
@@ -230,7 +230,7 @@
        </item>
       </layout>
      </widget>
-     <widget class="QWidget" name="tab_5">
+     <widget class="QWidget" name="tabFileOptions">
       <attribute name="title">
        <string>File Options</string>
       </attribute>
@@ -467,7 +467,7 @@
        </item>
       </layout>
      </widget>
-     <widget class="QWidget" name="tab_2">
+     <widget class="QWidget" name="tabSecurity">
       <attribute name="title">
        <string>Security</string>
       </attribute>
@@ -641,192 +641,337 @@
        </item>
       </layout>
      </widget>
-     <widget class="QWidget" name="tab_3">
+     <widget class="QWidget" name="tabColor">
       <attribute name="title">
        <string>Color</string>
       </attribute>
       <layout class="QVBoxLayout" name="verticalLayout_5">
+       <property name="leftMargin">
+        <number>10</number>
+       </property>
+       <property name="topMargin">
+        <number>6</number>
+       </property>
+       <property name="rightMargin">
+        <number>10</number>
+       </property>
+       <property name="bottomMargin">
+        <number>10</number>
+       </property>
        <item>
-        <layout class="QFormLayout" name="formLayout_4">
-         <property name="formAlignment">
-          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+        <widget class="QScrollArea" name="scrollArea">
+         <property name="widgetResizable">
+          <bool>true</bool>
          </property>
-         <item row="0" column="0">
-          <widget class="QLabel" name="label_15">
-           <property name="text">
-            <string>Output Intended For:</string>
-           </property>
-          </widget>
-         </item>
-         <item row="0" column="1">
-          <widget class="QComboBox" name="outputIntentionCheckBox"/>
-         </item>
-        </layout>
-       </item>
-       <item>
-        <widget class="QCheckBox" name="convertSpotsToProcessCheckBox">
-         <property name="text">
-          <string>Convert Spot Colors to Process Colors</string>
-         </property>
+         <widget class="QWidget" name="scrollAreaWidgetContents">
+          <property name="geometry">
+           <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>583</width>
+            <height>641</height>
+           </rect>
+          </property>
+          <layout class="QVBoxLayout" name="verticalLayout_8">
+           <item>
+            <layout class="QFormLayout" name="formLayout_4">
+             <property name="formAlignment">
+              <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+             </property>
+             <item row="0" column="0">
+              <widget class="QLabel" name="label_15">
+               <property name="text">
+                <string>Output Intended For:</string>
+               </property>
+              </widget>
+             </item>
+             <item row="0" column="1">
+              <widget class="QComboBox" name="outputIntentionComboBox"/>
+             </item>
+            </layout>
+           </item>
+           <item>
+            <widget class="QCheckBox" name="convertSpotsToProcessCheckBox">
+             <property name="text">
+              <string>Convert Spot Colors to Process Colors</string>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <spacer name="verticalSpacer_9">
+             <property name="orientation">
+              <enum>Qt::Vertical</enum>
+             </property>
+             <property name="sizeType">
+              <enum>QSizePolicy::Fixed</enum>
+             </property>
+             <property name="sizeHint" stdset="0">
+              <size>
+               <width>20</width>
+               <height>20</height>
+              </size>
+             </property>
+            </spacer>
+           </item>
+           <item>
+            <widget class="QLabel" name="label_20">
+             <property name="font">
+              <font>
+               <weight>75</weight>
+               <bold>true</bold>
+              </font>
+             </property>
+             <property name="text">
+              <string>Solid Colors</string>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <widget class="Line" name="line">
+             <property name="font">
+              <font>
+               <pointsize>14</pointsize>
+               <weight>75</weight>
+               <bold>true</bold>
+              </font>
+             </property>
+             <property name="orientation">
+              <enum>Qt::Horizontal</enum>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <widget class="QCheckBox" name="useSolidColorProfileCheckBox">
+             <property name="text">
+              <string>Use Color Profile</string>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <layout class="QFormLayout" name="formLayout_8">
+             <item row="0" column="0">
+              <widget class="QLabel" name="label_28">
+               <property name="text">
+                <string>Profile:</string>
+               </property>
+              </widget>
+             </item>
+             <item row="0" column="1">
+              <widget class="QComboBox" name="solidColorProfileComboBox"/>
+             </item>
+             <item row="1" column="0">
+              <widget class="QLabel" name="label_27">
+               <property name="text">
+                <string>Rendering Intent:</string>
+               </property>
+              </widget>
+             </item>
+             <item row="1" column="1">
+              <widget class="QComboBox" name="solidColorRenderingIntentComboBox"/>
+             </item>
+            </layout>
+           </item>
+           <item>
+            <spacer name="verticalSpacer_12">
+             <property name="orientation">
+              <enum>Qt::Vertical</enum>
+             </property>
+             <property name="sizeType">
+              <enum>QSizePolicy::Fixed</enum>
+             </property>
+             <property name="sizeHint" stdset="0">
+              <size>
+               <width>20</width>
+               <height>20</height>
+              </size>
+             </property>
+            </spacer>
+           </item>
+           <item>
+            <widget class="QLabel" name="label_21">
+             <property name="font">
+              <font>
+               <weight>75</weight>
+               <bold>true</bold>
+              </font>
+             </property>
+             <property name="text">
+              <string>Images</string>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <widget class="Line" name="line_11">
+             <property name="orientation">
+              <enum>Qt::Horizontal</enum>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <widget class="QCheckBox" name="useImageProfileCheckBox">
+             <property name="text">
+              <string>Use Color Profile</string>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <widget class="QCheckBox" name="doNotUseEmbeddedImageProfileCheckBox">
+             <property name="text">
+              <string>Do not use Embedded Color Profiles</string>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <layout class="QFormLayout" name="formLayout_6">
+             <item row="0" column="0">
+              <widget class="QLabel" name="label_22">
+               <property name="text">
+                <string>Profile:</string>
+               </property>
+              </widget>
+             </item>
+             <item row="0" column="1">
+              <widget class="QComboBox" name="imageProfileComboBox"/>
+             </item>
+             <item row="1" column="0">
+              <widget class="QLabel" name="label_26">
+               <property name="text">
+                <string>Rendering Intent:</string>
+               </property>
+              </widget>
+             </item>
+             <item row="1" column="1">
+              <widget class="QComboBox" name="imageRenderingIntentComboBox"/>
+             </item>
+            </layout>
+           </item>
+           <item>
+            <spacer name="verticalSpacer_13">
+             <property name="orientation">
+              <enum>Qt::Vertical</enum>
+             </property>
+             <property name="sizeType">
+              <enum>QSizePolicy::Minimum</enum>
+             </property>
+             <property name="sizeHint" stdset="0">
+              <size>
+               <width>20</width>
+               <height>20</height>
+              </size>
+             </property>
+            </spacer>
+           </item>
+           <item>
+            <widget class="QLabel" name="label_29">
+             <property name="font">
+              <font>
+               <weight>75</weight>
+               <bold>true</bold>
+              </font>
+             </property>
+             <property name="text">
+              <string>Custom Rendering</string>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <widget class="Line" name="line_12">
+             <property name="orientation">
+              <enum>Qt::Horizontal</enum>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <widget class="QCheckBox" name="useCustomRenderingCheckBox">
+             <property name="text">
+              <string>Use Custom Rendering</string>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <layout class="QFormLayout" name="formLayout_9">
+             <property name="fieldGrowthPolicy">
+              <enum>QFormLayout::FieldsStayAtSizeHint</enum>
+             </property>
+             <item row="0" column="0">
+              <widget class="QLabel" name="label_30">
+               <property name="text">
+                <string>Color:</string>
+               </property>
+              </widget>
+             </item>
+             <item row="0" column="1">
+              <widget class="QComboBox" name="customRenderingColorComboBox"/>
+             </item>
+             <item row="1" column="0">
+              <widget class="QLabel" name="label_31">
+               <property name="text">
+                <string>Frequency:</string>
+               </property>
+              </widget>
+             </item>
+             <item row="1" column="1">
+              <widget class="QSpinBox" name="customRenderingFrequencySpinBox">
+               <property name="minimum">
+                <number>10</number>
+               </property>
+               <property name="maximum">
+                <number>1000</number>
+               </property>
+              </widget>
+             </item>
+             <item row="2" column="0">
+              <widget class="QLabel" name="label_32">
+               <property name="text">
+                <string>Angle:</string>
+               </property>
+              </widget>
+             </item>
+             <item row="2" column="1">
+              <widget class="QSpinBox" name="customRenderingAngleSpinBox">
+               <property name="suffix">
+                <string> °</string>
+               </property>
+               <property name="minimum">
+                <number>-180</number>
+               </property>
+               <property name="maximum">
+                <number>180</number>
+               </property>
+              </widget>
+             </item>
+             <item row="3" column="0">
+              <widget class="QLabel" name="label_33">
+               <property name="text">
+                <string>Spot Function:</string>
+               </property>
+              </widget>
+             </item>
+             <item row="3" column="1">
+              <widget class="QComboBox" name="customRenderingSpotFunctionComboBox"/>
+             </item>
+            </layout>
+           </item>
+           <item>
+            <spacer name="verticalSpacer_7">
+             <property name="orientation">
+              <enum>Qt::Vertical</enum>
+             </property>
+             <property name="sizeHint" stdset="0">
+              <size>
+               <width>20</width>
+               <height>40</height>
+              </size>
+             </property>
+            </spacer>
+           </item>
+          </layout>
+         </widget>
         </widget>
        </item>
-       <item>
-        <spacer name="verticalSpacer_9">
-         <property name="orientation">
-          <enum>Qt::Vertical</enum>
-         </property>
-         <property name="sizeType">
-          <enum>QSizePolicy::Fixed</enum>
-         </property>
-         <property name="sizeHint" stdset="0">
-          <size>
-           <width>20</width>
-           <height>20</height>
-          </size>
-         </property>
-        </spacer>
-       </item>
-       <item>
-        <widget class="QLabel" name="label_20">
-         <property name="font">
-          <font>
-           <weight>75</weight>
-           <bold>true</bold>
-          </font>
-         </property>
-         <property name="text">
-          <string>Solid Colors</string>
-         </property>
-        </widget>
-       </item>
-       <item>
-        <widget class="Line" name="line_10">
-         <property name="orientation">
-          <enum>Qt::Horizontal</enum>
-         </property>
-        </widget>
-       </item>
-       <item>
-        <widget class="QCheckBox" name="useSolidColorProfileCheckBox">
-         <property name="text">
-          <string>Use Color Profile</string>
-         </property>
-        </widget>
-       </item>
-       <item>
-        <layout class="QFormLayout" name="formLayout_8">
-         <item row="0" column="0">
-          <widget class="QLabel" name="label_28">
-           <property name="text">
-            <string>Profile:</string>
-           </property>
-          </widget>
-         </item>
-         <item row="0" column="1">
-          <widget class="QComboBox" name="solidColorProfileComboBox"/>
-         </item>
-         <item row="1" column="0">
-          <widget class="QLabel" name="label_27">
-           <property name="text">
-            <string>Rendering Intent:</string>
-           </property>
-          </widget>
-         </item>
-         <item row="1" column="1">
-          <widget class="QComboBox" name="solidColorRenderingIntentComboBox"/>
-         </item>
-        </layout>
-       </item>
-       <item>
-        <spacer name="verticalSpacer_12">
-         <property name="orientation">
-          <enum>Qt::Vertical</enum>
-         </property>
-         <property name="sizeType">
-          <enum>QSizePolicy::Fixed</enum>
-         </property>
-         <property name="sizeHint" stdset="0">
-          <size>
-           <width>20</width>
-           <height>20</height>
-          </size>
-         </property>
-        </spacer>
-       </item>
-       <item>
-        <widget class="QLabel" name="label_21">
-         <property name="font">
-          <font>
-           <weight>75</weight>
-           <bold>true</bold>
-          </font>
-         </property>
-         <property name="text">
-          <string>Images</string>
-         </property>
-        </widget>
-       </item>
-       <item>
-        <widget class="Line" name="line_11">
-         <property name="orientation">
-          <enum>Qt::Horizontal</enum>
-         </property>
-        </widget>
-       </item>
-       <item>
-        <widget class="QCheckBox" name="useImageProfileCheckBox">
-         <property name="text">
-          <string>Use Color Profile</string>
-         </property>
-        </widget>
-       </item>
-       <item>
-        <widget class="QCheckBox" name="doNotUseEmbededImageProfileCheckBox">
-         <property name="text">
-          <string>Do not use Embedded Color Profiles</string>
-         </property>
-        </widget>
-       </item>
-       <item>
-        <layout class="QFormLayout" name="formLayout_6">
-         <item row="0" column="0">
-          <widget class="QLabel" name="label_22">
-           <property name="text">
-            <string>Profile:</string>
-           </property>
-          </widget>
-         </item>
-         <item row="0" column="1">
-          <widget class="QComboBox" name="imageProfileComboBox"/>
-         </item>
-         <item row="1" column="0">
-          <widget class="QLabel" name="label_26">
-           <property name="text">
-            <string>Rendering Intent:</string>
-           </property>
-          </widget>
-         </item>
-         <item row="1" column="1">
-          <widget class="QComboBox" name="imageRenderingIntentComboBox"/>
-         </item>
-        </layout>
-       </item>
-       <item>
-        <spacer name="verticalSpacer_7">
-         <property name="orientation">
-          <enum>Qt::Vertical</enum>
-         </property>
-         <property name="sizeHint" stdset="0">
-          <size>
-           <width>20</width>
-           <height>40</height>
-          </size>
-         </property>
-        </spacer>
-       </item>
       </layout>
      </widget>
-     <widget class="QWidget" name="tab_4">
+     <widget class="QWidget" name="tabPrePress">
       <attribute name="title">
        <string>Pre-Press</string>
       </attribute>
@@ -1048,20 +1193,6 @@
      </widget>
     </widget>
    </item>
-   <item>
-    <widget class="Line" name="line">
-     <property name="font">
-      <font>
-       <pointsize>14</pointsize>
-       <weight>75</weight>
-       <bold>true</bold>
-      </font>
-     </property>
-     <property name="orientation">
-      <enum>Qt::Horizontal</enum>
-     </property>
-    </widget>
-   </item>
   </layout>
  </widget>
  <customwidgets>




More information about the scribus-commit mailing list