r15080 by cbradney - Fix some widget hide/show issues on new pdf export prefs
scribus-commit
scribus-commit at lists.scribus.net
Sun May 16 23:00:27 CEST 2010
Revision: 15080
Author: cbradney
Date: 2010-05-16T20:56:36.813203Z
Commit message: Fix some widget hide/show issues on new pdf export prefs
Changeset:
M /trunk/Scribus/scribus/ui/prefs_pdfexportbase.ui
M /trunk/Scribus/scribus/ui/about.cpp
M /trunk/Scribus/scribus/ui/prefs_pdfexport.cpp
Diffs:
Index: scribus/ui/prefs_pdfexport.cpp
===================================================================
--- scribus/ui/prefs_pdfexport.cpp (revision 15079)
+++ scribus/ui/prefs_pdfexport.cpp (revision 15080)
@@ -364,7 +364,7 @@
doNotUseEmbeddedImageProfileCheckBox->setChecked(prefsData->pdfPrefs.EmbeddedI);
if ((prefsData->pdfPrefs.UseRGB) || (prefsData->pdfPrefs.isGrayscale))
{
- enableSolidsImagesWidgets(false);
+ //enableSolidsImagesWidgets(false);
enableProfiles(0);
}
else
@@ -625,7 +625,7 @@
{
cmsEnabled=enabled;
addPDFVersions(enabled);
- enableProfiles(1);
+ enableProfiles(enabled);
}
void Prefs_PDFExport::enablePDFExportTabs(bool enabled)
@@ -672,7 +672,6 @@
bool setter = false;
if (i == 1 && pdfVersionComboBox->currentIndex() != 3)
setter = true;
-
enableSolidsImagesWidgets(setter);
}
@@ -725,9 +724,8 @@
if (cmsEnabled)
imageRenderingIntentComboBox->setCurrentIndex(Opts.Intent2);
//Disabling vis hiding
- //setSolidsImagesWidgetsShown(cmsEnabled);
enableSolidsImagesWidgets(cmsEnabled);
- convertSpotsToProcessCheckBox->show();
+ convertSpotsToProcessCheckBox->setEnabled(true);
if (m_doc!=0)
{
useCustomRenderingCheckBox->show();
@@ -736,7 +734,7 @@
}
else
{
- convertSpotsToProcessCheckBox->hide();
+ convertSpotsToProcessCheckBox->setEnabled(false);
useCustomRenderingCheckBox->hide();
enableCustomRenderingWidgets(false);
}
@@ -776,6 +774,8 @@
}
void Prefs_PDFExport::enableSolidsImagesWidgets(bool enabled)
{
+ //if we want to show/hide instead
+ //setSolidsImagesWidgetsShown(enabled);
useSolidColorProfileCheckBox->setEnabled(enabled);
solidColorProfileComboBox->setEnabled(enabled);
solidColorRenderingIntentComboBox->setEnabled(enabled);
Index: scribus/ui/about.cpp
===================================================================
--- scribus/ui/about.cpp (revision 15079)
+++ scribus/ui/about.cpp (revision 15080)
@@ -114,7 +114,7 @@
buildID = new QLabel( tab );
buildID->setAlignment(Qt::AlignCenter);
buildID->setTextInteractionFlags(Qt::TextSelectableByMouse);
- QString BUILD_DAY = "14";
+ QString BUILD_DAY = "16";
QString BUILD_MONTH = CommonStrings::may;
QString BUILD_YEAR = "2010";
QString BUILD_TIME = "";
Index: scribus/ui/prefs_pdfexportbase.ui
===================================================================
--- scribus/ui/prefs_pdfexportbase.ui (revision 15079)
+++ scribus/ui/prefs_pdfexportbase.ui (revision 15080)
@@ -29,6 +29,13 @@
</widget>
</item>
<item>
+ <widget class="Line" name="line">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
@@ -668,7 +675,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>602</width>
+ <width>278</width>
<height>638</height>
</rect>
</property>
More information about the scribus-commit
mailing list