r19490 by jghali - #12671: Some non consistent tabstops

scribus-commit scribus-commit at lists.scribus.net
Sun Sep 7 16:02:55 UTC 2014


Author: jghali
Date: Sun Sep  7 16:02:55 2014
New Revision: 19490

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19490
Log:
#12671: Some non consistent tabstops

Modified:
    trunk/Scribus/scribus/ui/printdialogbase.ui
    trunk/Scribus/scribus/ui/smlinestylewidget.cpp
    trunk/Scribus/scribus/ui/smlinestylewidget.h
    trunk/Scribus/scribus/ui/smlinestylewidget.ui
    trunk/Scribus/scribus/ui/smpstylewidget.ui

Modified: trunk/Scribus/scribus/ui/printdialogbase.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19490&path=/trunk/Scribus/scribus/ui/printdialogbase.ui
==============================================================================
--- trunk/Scribus/scribus/ui/printdialogbase.ui (original)
+++ trunk/Scribus/scribus/ui/printdialogbase.ui Sun Sep  7 16:02:55 2014
@@ -665,6 +665,47 @@
    <header location="global">ui/scrspinbox.h</header>
   </customwidget>
  </customwidgets>
+ <tabstops>
+  <tabstop>printOptions</tabstop>
+  <tabstop>OtherCom</tabstop>
+  <tabstop>RadioButton1</tabstop>
+  <tabstop>Copies</tabstop>
+  <tabstop>CurrentPage</tabstop>
+  <tabstop>RadioButton2</tabstop>
+  <tabstop>pageNr</tabstop>
+  <tabstop>pageNrButton</tabstop>
+  <tabstop>PrintDest</tabstop>
+  <tabstop>OptButton</tabstop>
+  <tabstop>LineEdit1</tabstop>
+  <tabstop>ToolButton1</tabstop>
+  <tabstop>Command</tabstop>
+  <tabstop>PrintSep</tabstop>
+  <tabstop>colorType</tabstop>
+  <tabstop>SepArt</tabstop>
+  <tabstop>printEngines</tabstop>
+  <tabstop>usePDFMarks</tabstop>
+  <tabstop>MirrorHor</tabstop>
+  <tabstop>MirrorVert</tabstop>
+  <tabstop>devPar</tabstop>
+  <tabstop>ClipMarg</tabstop>
+  <tabstop>GcR</tabstop>
+  <tabstop>spotColors</tabstop>
+  <tabstop>UseICC</tabstop>
+  <tabstop>cropMarks</tabstop>
+  <tabstop>bleedMarks</tabstop>
+  <tabstop>colorMarks</tabstop>
+  <tabstop>registrationMarks</tabstop>
+  <tabstop>markLength</tabstop>
+  <tabstop>markOffset</tabstop>
+  <tabstop>BleedTop</tabstop>
+  <tabstop>BleedRight</tabstop>
+  <tabstop>BleedBottom</tabstop>
+  <tabstop>BleedLeft</tabstop>
+  <tabstop>docBleeds</tabstop>
+  <tabstop>previewButton</tabstop>
+  <tabstop>OKButton</tabstop>
+  <tabstop>OKButton_2</tabstop>
+ </tabstops>
  <resources/>
  <connections>
   <connection>

Modified: trunk/Scribus/scribus/ui/smlinestylewidget.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19490&path=/trunk/Scribus/scribus/ui/smlinestylewidget.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/smlinestylewidget.cpp (original)
+++ trunk/Scribus/scribus/ui/smlinestylewidget.cpp Sun Sep  7 16:02:55 2014
@@ -24,14 +24,8 @@
 	addButton->setIcon(QIcon(loadIcon("penciladd.png")));
 	removeButton->setIcon(QIcon(loadIcon("pencilsub.png")));
 
-	dashCombo = new LineCombo(this);
-	gridLayout->addWidget(dashCombo, 0, 0);
-
-	lineWidth = new ScrSpinBox( 0, 300, this, 0 );
-	gridLayout1->addWidget(lineWidth, 0, 1);
-	
-	colorCombo = new ColorCombo(this);
-	gridLayout1->addWidget(colorCombo, 1, 0);
+	lineWidth->setMinimum(0.0);
+	lineWidth->setMaximum(300.0);
 
 	endCombo->addItem(loadIcon("ButtCap.png"), tr( "Flat Cap" ) );
 	endCombo->addItem(loadIcon("SquareCap.png"), tr( "Square Cap" ) );

Modified: trunk/Scribus/scribus/ui/smlinestylewidget.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19490&path=/trunk/Scribus/scribus/ui/smlinestylewidget.h
==============================================================================
--- trunk/Scribus/scribus/ui/smlinestylewidget.h (original)
+++ trunk/Scribus/scribus/ui/smlinestylewidget.h Sun Sep  7 16:02:55 2014
@@ -32,9 +32,6 @@
 	void unitChange(int unitIndex);
 
 private:
-	LineCombo *dashCombo;
-	ScrSpinBox  *lineWidth;
-	ColorCombo *colorCombo;
 	multiLine  currentStyle;
 	ColorList  colors;
 

Modified: trunk/Scribus/scribus/ui/smlinestylewidget.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19490&path=/trunk/Scribus/scribus/ui/smlinestylewidget.ui
==============================================================================
--- trunk/Scribus/scribus/ui/smlinestylewidget.ui (original)
+++ trunk/Scribus/scribus/ui/smlinestylewidget.ui Sun Sep  7 16:02:55 2014
@@ -1,7 +1,8 @@
-<ui version="4.0" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
  <class>SMLineStyleWidget</class>
- <widget class="QWidget" name="SMLineStyleWidget" >
-  <property name="geometry" >
+ <widget class="QWidget" name="SMLineStyleWidget">
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
@@ -9,98 +10,80 @@
     <height>298</height>
    </rect>
   </property>
-  <layout class="QVBoxLayout" >
-   <property name="spacing" >
+  <layout class="QVBoxLayout">
+   <property name="spacing">
     <number>5</number>
    </property>
-   <property name="leftMargin" >
-    <number>5</number>
-   </property>
-   <property name="topMargin" >
-    <number>5</number>
-   </property>
-   <property name="rightMargin" >
-    <number>5</number>
-   </property>
-   <property name="bottomMargin" >
+   <property name="margin">
     <number>5</number>
    </property>
    <item>
-    <layout class="QHBoxLayout" >
-     <property name="spacing" >
+    <layout class="QHBoxLayout">
+     <property name="spacing">
       <number>6</number>
      </property>
-     <property name="leftMargin" >
+     <property name="margin">
       <number>0</number>
      </property>
-     <property name="topMargin" >
-      <number>0</number>
-     </property>
-     <property name="rightMargin" >
-      <number>0</number>
-     </property>
-     <property name="bottomMargin" >
-      <number>0</number>
-     </property>
-     <item>
-      <widget class="QPushButton" name="addButton" >
-       <property name="sizePolicy" >
-        <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
+     <item>
+      <widget class="QPushButton" name="addButton">
+       <property name="sizePolicy">
+        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
-       <property name="minimumSize" >
+       <property name="minimumSize">
         <size>
          <width>20</width>
          <height>20</height>
         </size>
        </property>
-       <property name="maximumSize" >
+       <property name="maximumSize">
         <size>
          <width>20</width>
          <height>20</height>
         </size>
        </property>
-       <property name="text" >
+       <property name="text">
         <string/>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QPushButton" name="removeButton" >
-       <property name="sizePolicy" >
-        <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
+      <widget class="QPushButton" name="removeButton">
+       <property name="sizePolicy">
+        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
-       <property name="minimumSize" >
+       <property name="minimumSize">
         <size>
          <width>20</width>
          <height>20</height>
         </size>
        </property>
-       <property name="maximumSize" >
+       <property name="maximumSize">
         <size>
          <width>20</width>
          <height>20</height>
         </size>
        </property>
-       <property name="text" >
+       <property name="text">
         <string/>
        </property>
       </widget>
      </item>
      <item>
       <spacer>
-       <property name="orientation" >
+       <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
-       <property name="sizeType" >
+       <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
-       <property name="sizeHint" >
+       <property name="sizeHint" stdset="0">
         <size>
          <width>150</width>
          <height>21</height>
@@ -111,25 +94,16 @@
     </layout>
    </item>
    <item>
-    <layout class="QHBoxLayout" >
-     <property name="spacing" >
+    <layout class="QHBoxLayout">
+     <property name="spacing">
       <number>6</number>
      </property>
-     <property name="leftMargin" >
+     <property name="margin">
       <number>0</number>
      </property>
-     <property name="topMargin" >
-      <number>0</number>
-     </property>
-     <property name="rightMargin" >
-      <number>0</number>
-     </property>
-     <property name="bottomMargin" >
-      <number>0</number>
-     </property>
-     <item>
-      <widget class="QListWidget" name="lineStyles" >
-       <property name="maximumSize" >
+     <item>
+      <widget class="QListWidget" name="lineStyles">
+       <property name="maximumSize">
         <size>
          <width>200</width>
          <height>32767</height>
@@ -138,139 +112,115 @@
       </widget>
      </item>
      <item>
-      <layout class="QVBoxLayout" >
-       <property name="spacing" >
+      <layout class="QVBoxLayout">
+       <property name="spacing">
         <number>6</number>
        </property>
-       <property name="leftMargin" >
+       <property name="margin">
         <number>0</number>
        </property>
-       <property name="topMargin" >
-        <number>0</number>
-       </property>
-       <property name="rightMargin" >
-        <number>0</number>
-       </property>
-       <property name="bottomMargin" >
-        <number>0</number>
-       </property>
-       <item>
-        <layout class="QGridLayout" >
-         <property name="leftMargin" >
+       <item>
+        <layout class="QGridLayout">
+         <property name="margin">
           <number>0</number>
          </property>
-         <property name="topMargin" >
-          <number>0</number>
-         </property>
-         <property name="rightMargin" >
-          <number>0</number>
-         </property>
-         <property name="bottomMargin" >
-          <number>0</number>
-         </property>
-         <property name="horizontalSpacing" >
+         <property name="spacing">
           <number>6</number>
          </property>
-         <property name="verticalSpacing" >
-          <number>6</number>
-         </property>
-         <item row="1" column="0" >
-          <widget class="QComboBox" name="endCombo" >
-           <property name="sizePolicy" >
-            <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
+         <item row="1" column="0">
+          <widget class="QComboBox" name="endCombo">
+           <property name="sizePolicy">
+            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
           </widget>
          </item>
-         <item row="2" column="0" >
-          <widget class="QComboBox" name="joinCombo" >
-           <property name="sizePolicy" >
-            <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
+         <item row="2" column="0">
+          <widget class="QComboBox" name="joinCombo">
+           <property name="sizePolicy">
+            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
           </widget>
          </item>
+         <item row="0" column="0">
+          <widget class="LineCombo" name="dashCombo"/>
+         </item>
         </layout>
        </item>
        <item>
-        <layout class="QGridLayout" >
-         <property name="leftMargin" >
+        <layout class="QGridLayout">
+         <property name="margin">
           <number>0</number>
          </property>
-         <property name="topMargin" >
-          <number>0</number>
-         </property>
-         <property name="rightMargin" >
-          <number>0</number>
-         </property>
-         <property name="bottomMargin" >
-          <number>0</number>
-         </property>
-         <property name="horizontalSpacing" >
+         <property name="spacing">
           <number>6</number>
          </property>
-         <property name="verticalSpacing" >
-          <number>6</number>
-         </property>
-         <item row="1" column="1" >
-          <widget class="QSpinBox" name="shadeBox" >
-           <property name="sizePolicy" >
-            <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
+         <item row="1" column="1">
+          <widget class="QSpinBox" name="shadeBox">
+           <property name="sizePolicy">
+            <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
-           <property name="minimumSize" >
+           <property name="minimumSize">
             <size>
              <width>70</width>
              <height>0</height>
             </size>
            </property>
-           <property name="suffix" >
+           <property name="suffix">
             <string>%</string>
            </property>
-           <property name="minimum" >
+           <property name="minimum">
             <number>0</number>
            </property>
-           <property name="maximum" >
+           <property name="maximum">
             <number>100</number>
            </property>
-           <property name="value" >
+           <property name="value">
             <number>100</number>
            </property>
           </widget>
          </item>
-         <item row="0" column="0" >
-          <widget class="QLabel" name="textLabel2" >
-           <property name="sizePolicy" >
-            <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
+         <item row="0" column="0">
+          <widget class="QLabel" name="textLabel2">
+           <property name="sizePolicy">
+            <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
-           <property name="text" >
+           <property name="text">
             <string>Line Width:</string>
            </property>
-           <property name="wordWrap" >
+           <property name="wordWrap">
             <bool>false</bool>
            </property>
           </widget>
          </item>
+         <item row="1" column="0">
+          <widget class="ColorCombo" name="colorCombo"/>
+         </item>
+         <item row="0" column="1">
+          <widget class="ScrSpinBox" name="lineWidth"/>
+         </item>
         </layout>
        </item>
        <item>
         <spacer>
-         <property name="orientation" >
+         <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
-         <property name="sizeType" >
+         <property name="sizeType">
           <enum>QSizePolicy::Fixed</enum>
          </property>
-         <property name="sizeHint" >
+         <property name="sizeHint" stdset="0">
           <size>
            <width>20</width>
            <height>16</height>
@@ -279,36 +229,36 @@
         </spacer>
        </item>
        <item>
-        <widget class="QLabel" name="previewLabel" >
-         <property name="sizePolicy" >
-          <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
+        <widget class="QLabel" name="previewLabel">
+         <property name="sizePolicy">
+          <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
-         <property name="minimumSize" >
+         <property name="minimumSize">
           <size>
            <width>0</width>
            <height>60</height>
           </size>
          </property>
-         <property name="text" >
+         <property name="text">
           <string/>
          </property>
-         <property name="wordWrap" >
+         <property name="wordWrap">
           <bool>false</bool>
          </property>
         </widget>
        </item>
        <item>
         <spacer>
-         <property name="orientation" >
+         <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
-         <property name="sizeType" >
+         <property name="sizeType">
           <enum>QSizePolicy::Expanding</enum>
          </property>
-         <property name="sizeHint" >
+         <property name="sizeHint" stdset="0">
           <size>
            <width>41</width>
            <height>26</height>
@@ -322,7 +272,35 @@
    </item>
   </layout>
  </widget>
- <layoutdefault spacing="6" margin="11" />
+ <layoutdefault spacing="6" margin="11"/>
+ <customwidgets>
+  <customwidget>
+   <class>LineCombo</class>
+   <extends>QComboBox</extends>
+   <header>ui/linecombo.h</header>
+  </customwidget>
+  <customwidget>
+   <class>ColorCombo</class>
+   <extends>QComboBox</extends>
+   <header>ui/colorcombo.h</header>
+  </customwidget>
+  <customwidget>
+   <class>ScrSpinBox</class>
+   <extends>QDoubleSpinBox</extends>
+   <header>ui/scrspinbox.h</header>
+  </customwidget>
+ </customwidgets>
+ <tabstops>
+  <tabstop>addButton</tabstop>
+  <tabstop>removeButton</tabstop>
+  <tabstop>lineStyles</tabstop>
+  <tabstop>dashCombo</tabstop>
+  <tabstop>endCombo</tabstop>
+  <tabstop>joinCombo</tabstop>
+  <tabstop>lineWidth</tabstop>
+  <tabstop>colorCombo</tabstop>
+  <tabstop>shadeBox</tabstop>
+ </tabstops>
  <resources/>
  <connections/>
 </ui>

Modified: trunk/Scribus/scribus/ui/smpstylewidget.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19490&path=/trunk/Scribus/scribus/ui/smpstylewidget.ui
==============================================================================
--- trunk/Scribus/scribus/ui/smpstylewidget.ui (original)
+++ trunk/Scribus/scribus/ui/smpstylewidget.ui Sun Sep  7 16:02:55 2014
@@ -1030,16 +1030,7 @@
        <property name="spacing">
         <number>5</number>
        </property>
-       <property name="leftMargin">
-        <number>0</number>
-       </property>
-       <property name="topMargin">
-        <number>0</number>
-       </property>
-       <property name="rightMargin">
-        <number>0</number>
-       </property>
-       <property name="bottomMargin">
+       <property name="margin">
         <number>0</number>
        </property>
        <item>
@@ -1115,6 +1106,47 @@
    <container>1</container>
   </customwidget>
  </customwidgets>
+ <tabstops>
+  <tabstop>tabWidget</tabstop>
+  <tabstop>parentCombo</tabstop>
+  <tabstop>lineSpacingMode</tabstop>
+  <tabstop>lineSpacing</tabstop>
+  <tabstop>spaceAbove</tabstop>
+  <tabstop>spaceBelow</tabstop>
+  <tabstop>keepLinesStart</tabstop>
+  <tabstop>keepLinesEnd</tabstop>
+  <tabstop>keepTogether</tabstop>
+  <tabstop>keepWithNext</tabstop>
+  <tabstop>optMarginRadioNone</tabstop>
+  <tabstop>optMarginRadioBoth</tabstop>
+  <tabstop>optMarginRadioLeft</tabstop>
+  <tabstop>optMarginRadioRight</tabstop>
+  <tabstop>optMarginDefaultButton</tabstop>
+  <tabstop>optMarginParentButton</tabstop>
+  <tabstop>minSpaceSpin</tabstop>
+  <tabstop>minGlyphExtSpin</tabstop>
+  <tabstop>maxGlyphExtSpin</tabstop>
+  <tabstop>bulletBox</tabstop>
+  <tabstop>bulletStrEdit</tabstop>
+  <tabstop>bulletCharTableButton</tabstop>
+  <tabstop>numBox</tabstop>
+  <tabstop>numComboBox</tabstop>
+  <tabstop>numLevelSpin</tabstop>
+  <tabstop>numNewLineEdit</tabstop>
+  <tabstop>numFormatCombo</tabstop>
+  <tabstop>numStartSpin</tabstop>
+  <tabstop>numPrefix</tabstop>
+  <tabstop>numSuffix</tabstop>
+  <tabstop>numRestartCombo</tabstop>
+  <tabstop>numRestartOtherBox</tabstop>
+  <tabstop>numRestartHigherBox</tabstop>
+  <tabstop>dropCapsBox</tabstop>
+  <tabstop>dropCapLines</tabstop>
+  <tabstop>parEffectCharStyleCombo</tabstop>
+  <tabstop>parEffectOffset</tabstop>
+  <tabstop>parEffectIndentBox</tabstop>
+  <tabstop>parentParEffectsButton</tabstop>
+ </tabstops>
  <resources/>
  <connections/>
 </ui>




More information about the scribus-commit mailing list