r19792 by craig - Add download area to hypenation prefs

scribus-commit scribus-commit at lists.scribus.net
Wed Feb 4 22:59:08 UTC 2015


Author: craig
Date: Wed Feb  4 22:59:07 2015
New Revision: 19792

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19792
Log:
Add download area to hypenation prefs

Modified:
    trunk/Scribus/scribus/langmgr.cpp
    trunk/Scribus/scribus/ui/prefs_hyphenatorbase.ui

Modified: trunk/Scribus/scribus/langmgr.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19792&path=/trunk/Scribus/scribus/langmgr.cpp
==============================================================================
--- trunk/Scribus/scribus/langmgr.cpp (original)
+++ trunk/Scribus/scribus/langmgr.cpp Wed Feb  4 22:59:07 2015
@@ -114,6 +114,7 @@
 	langTable.append(LangDef("en_ZA",  "",      "English (South Africa)", QObject::tr( "English (South Africa)" )) );
 	langTable.append(LangDef("eo",     "",      "Esperanto",              QObject::tr( "Esperanto" )) );
 	langTable.append(LangDef("es",     "es_ES", "Spanish",                QObject::tr( "Spanish" )) );
+	langTable.append(LangDef("es",     "es_ANY", "Spanish",                QObject::tr( "Spanish" )) );
 	langTable.append(LangDef("es_AR",  "",      "Spanish (Argentina)",    QObject::tr( "Spanish (Argentina)" )) );
 	langTable.append(LangDef("es_LA",  "",      "Spanish (Latin)",        QObject::tr( "Spanish (Latin)" )) );
 	langTable.append(LangDef("et",     "et_EE", "Estonian",               QObject::tr( "Estonian" )) );

Modified: trunk/Scribus/scribus/ui/prefs_hyphenatorbase.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19792&path=/trunk/Scribus/scribus/ui/prefs_hyphenatorbase.ui
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_hyphenatorbase.ui (original)
+++ trunk/Scribus/scribus/ui/prefs_hyphenatorbase.ui Wed Feb  4 22:59:07 2015
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>689</width>
-    <height>275</height>
+    <width>711</width>
+    <height>550</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -218,7 +218,16 @@
             <string>Exceptions</string>
            </property>
            <layout class="QGridLayout" name="_2">
-            <property name="margin">
+            <property name="leftMargin">
+             <number>10</number>
+            </property>
+            <property name="topMargin">
+             <number>10</number>
+            </property>
+            <property name="rightMargin">
+             <number>10</number>
+            </property>
+            <property name="bottomMargin">
              <number>10</number>
             </property>
             <property name="spacing">
@@ -270,7 +279,16 @@
             <string>Ignore List</string>
            </property>
            <layout class="QGridLayout" name="_3">
-            <property name="margin">
+            <property name="leftMargin">
+             <number>10</number>
+            </property>
+            <property name="topMargin">
+             <number>10</number>
+            </property>
+            <property name="rightMargin">
+             <number>10</number>
+            </property>
+            <property name="bottomMargin">
              <number>10</number>
             </property>
             <property name="spacing">
@@ -326,6 +344,140 @@
         </layout>
        </item>
       </layout>
+     </widget>
+     <widget class="QWidget" name="tab_3">
+      <attribute name="title">
+       <string>Download</string>
+      </attribute>
+      <layout class="QVBoxLayout" name="verticalLayout_7">
+       <property name="leftMargin">
+        <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="QScrollArea" name="scrollArea">
+         <property name="widgetResizable">
+          <bool>true</bool>
+         </property>
+         <widget class="QWidget" name="scrollAreaWidgetContents">
+          <property name="geometry">
+           <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>679</width>
+            <height>455</height>
+           </rect>
+          </property>
+          <layout class="QVBoxLayout" name="verticalLayout_4">
+           <item>
+            <layout class="QHBoxLayout" name="horizontalLayout_5">
+             <item>
+              <layout class="QVBoxLayout" name="verticalLayout_5">
+               <item>
+                <widget class="QLabel" name="label_5">
+                 <property name="text">
+                  <string>Installed Hyphenation Dictionaries</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QTableWidget" name="hyphDictTableWidget">
+                 <attribute name="verticalHeaderVisible">
+                  <bool>false</bool>
+                 </attribute>
+                </widget>
+               </item>
+              </layout>
+             </item>
+             <item>
+              <layout class="QVBoxLayout" name="verticalLayout_6">
+               <item>
+                <widget class="QLabel" name="label_6">
+                 <property name="text">
+                  <string>Downloadable Hyphenation Dictionaries</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QTableWidget" name="availHyphDictTableWidget">
+                 <attribute name="verticalHeaderVisible">
+                  <bool>false</bool>
+                 </attribute>
+                </widget>
+               </item>
+              </layout>
+             </item>
+            </layout>
+           </item>
+           <item>
+            <layout class="QHBoxLayout" name="horizontalLayout_6">
+             <item>
+              <widget class="QLabel" name="dlLabel">
+               <property name="text">
+                <string>Downloading</string>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QProgressBar" name="downloadProgressBar">
+               <property name="value">
+                <number>0</number>
+               </property>
+               <property name="textVisible">
+                <bool>true</bool>
+               </property>
+               <property name="invertedAppearance">
+                <bool>false</bool>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <spacer name="horizontalSpacer_2">
+               <property name="orientation">
+                <enum>Qt::Horizontal</enum>
+               </property>
+               <property name="sizeHint" stdset="0">
+                <size>
+                 <width>40</width>
+                 <height>20</height>
+                </size>
+               </property>
+              </spacer>
+             </item>
+             <item>
+              <widget class="QPushButton" name="availHyphListDownloadButton">
+               <property name="text">
+                <string>Refresh Downloadable List</string>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QPushButton" name="hyphDownloadButton">
+               <property name="text">
+                <string>Download Selected Dictionaries</string>
+               </property>
+              </widget>
+             </item>
+            </layout>
+           </item>
+          </layout>
+         </widget>
+        </widget>
+       </item>
+      </layout>
+      <zorder>scrollArea</zorder>
+      <zorder></zorder>
+      <zorder>dlLabel</zorder>
+      <zorder>downloadProgressBar</zorder>
+      <zorder></zorder>
      </widget>
     </widget>
    </item>




More information about the scribus-commit mailing list