r15332 by cbradney - #9261: Set document changed when eye dropper adds a colour to a doc

scribus-commit scribus-commit at lists.scribus.net
Tue Jul 13 22:00:38 CEST 2010


Revision: 15332
Author: cbradney
Date: 2010-07-13T19:53:39.485959Z
Commit message: #9261: Set document changed when eye dropper adds a colour to a doc

Changeset: 
M  /branches/Version135/Scribus/scribus/canvasmode_eyedropper.cpp
M  /branches/Version135/Scribus/scribus/printdialogbase.ui

Diffs:
Index: scribus/printdialogbase.ui
===================================================================
--- scribus/printdialogbase.ui	(revision 15331)
+++ scribus/printdialogbase.ui	(revision 15332)
@@ -6,7 +6,7 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>505</width>
+    <width>570</width>
     <height>520</height>
    </rect>
   </property>
@@ -358,7 +358,7 @@
           <item>
            <widget class="QCheckBox" name="devPar">
             <property name="toolTip">
-             <string>This enables you to explicitly set the media size of the PostScript file. Not recommended unless requested by your printer.</string>
+             <string>&lt;qt&gt;This enables you to explicitly set the media size of the PostScript file. Not recommended unless requested by your printer.&lt;/qt&gt;</string>
             </property>
             <property name="text">
              <string>Set Media Size</string>
@@ -384,7 +384,7 @@
           <item>
            <widget class="QCheckBox" name="GcR">
             <property name="toolTip">
-             <string>A way of switching off some of the gray shades which are composed of cyan, yellow and magenta and using black instead. UCR most affects parts of images which are neutral and/or dark tones which are close to the gray. Use of this may improve printing some images and some experimentation and testing is need on a case by case basis. UCR reduces the possibility of over saturation with CMY inks.</string>
+             <string>&lt;qt&gt;A way of switching off some of the gray shades which are composed of cyan, yellow and magenta and using black instead. Under Color Removal mostly affects parts of images which are neutral and/or dark tones which are close to the gray. Use of this may improve printing some images and some experimentation and testing is need on a case by case basis. Under Color Removal reduces the possibility of over saturation with CMY inks.&lt;/qt&gt;</string>
             </property>
             <property name="text">
              <string>Apply Under Color Removal</string>
@@ -394,7 +394,7 @@
           <item>
            <widget class="QCheckBox" name="spotColors">
             <property name="toolTip">
-             <string>Enables Spot Colors to be converted to composite colors. Unless you are planning to print spot colors at a commercial printer, this is probably best left enabled.</string>
+             <string>&lt;qt&gt;Enables Spot Colors to be converted to composite colors. Unless you are planning to print spot colors at a commercial printer, this is probably best left enabled.&lt;/qt&gt;</string>
             </property>
             <property name="text">
              <string>Convert Spot Colors to Process Colors</string>
@@ -404,7 +404,7 @@
           <item>
            <widget class="QCheckBox" name="UseICC">
             <property name="toolTip">
-             <string>Allows you to embed color profiles in the print stream when color management is enabled</string>
+             <string>&lt;qt&gt;Allows you to embed color profiles in the print stream when color management is enabled&lt;/qt&gt;</string>
             </property>
             <property name="text">
              <string>Apply Color Profiles</string>
@@ -637,8 +637,8 @@
  <customwidgets>
   <customwidget>
    <class>ScrSpinBox</class>
-   <extends>QDoubleSpinBox</extends>
-   <header>scrspinbox.h</header>
+   <extends>QSpinBox</extends>
+   <header location="global">scrspinbox.h</header>
   </customwidget>
  </customwidgets>
  <resources/>
Index: scribus/canvasmode_eyedropper.cpp
===================================================================
--- scribus/canvasmode_eyedropper.cpp	(revision 15331)
+++ scribus/canvasmode_eyedropper.cpp	(revision 15332)
@@ -179,6 +179,7 @@
 		{
 			ScColor newColor(selectedColor.red(), selectedColor.green(), selectedColor.blue());
 			m_doc->PageColors[colorName]=newColor;
+			m_doc->changed();
 			m_ScMW->updateColorLists();
 		}
 		else




More information about the scribus-commit mailing list