r14545 by cbradney - Change to form layout for image cache prefs

scribus-commit scribus-commit at lists.scribus.net
Tue Jan 19 23:35:42 CET 2010


Revision: 14545
Author: cbradney
Date: 2010-01-19T22:33:21.816230Z
Commit message: Change to form layout for image cache prefs

Changeset: 
M  /trunk/Scribus/scribus/ui/prefs_imagecachebase.ui

Diffs:
Index: scribus/ui/prefs_imagecachebase.ui
===================================================================
--- scribus/ui/prefs_imagecachebase.ui	(revision 14544)
+++ scribus/ui/prefs_imagecachebase.ui	(revision 14545)
@@ -45,8 +45,8 @@
        <rect>
         <x>0</x>
         <y>0</y>
-        <width>560</width>
-        <height>218</height>
+        <width>554</width>
+        <height>207</height>
        </rect>
       </property>
       <layout class="QVBoxLayout" name="verticalLayout_2">
@@ -58,11 +58,14 @@
         </widget>
        </item>
        <item>
-        <layout class="QGridLayout" name="gridLayout">
-         <item row="4" column="0">
-          <widget class="QLabel" name="cacheEntryLimitLabel">
+        <layout class="QFormLayout" name="formLayout">
+         <property name="formAlignment">
+          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+         </property>
+         <item row="0" column="0">
+          <widget class="QLabel" name="cacheSizeLimitLabel">
            <property name="text">
-            <string>Cache Entry Limit</string>
+            <string>Cache Size Limit:</string>
            </property>
            <property name="alignment">
             <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -72,8 +75,8 @@
            </property>
           </widget>
          </item>
-         <item row="4" column="1">
-          <widget class="QSpinBox" name="cacheEntryLimitSpinBox">
+         <item row="0" column="1">
+          <widget class="QSpinBox" name="cacheSizeLimitSpinBox">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
              <horstretch>0</horstretch>
@@ -89,11 +92,17 @@
            <property name="alignment">
             <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
            </property>
+           <property name="buttonSymbols">
+            <enum>QAbstractSpinBox::UpDownArrows</enum>
+           </property>
+           <property name="suffix">
+            <string> MiB</string>
+           </property>
            <property name="minimum">
             <number>100</number>
            </property>
            <property name="maximum">
-            <number>100000</number>
+            <number>1000000</number>
            </property>
            <property name="singleStep">
             <number>100</number>
@@ -103,10 +112,10 @@
            </property>
           </widget>
          </item>
-         <item row="2" column="0">
-          <widget class="QLabel" name="cacheSizeLimitLabel">
+         <item row="1" column="0">
+          <widget class="QLabel" name="cacheEntryLimitLabel">
            <property name="text">
-            <string>Cache Size Limit</string>
+            <string>Cache Entry Limit:</string>
            </property>
            <property name="alignment">
             <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -116,8 +125,8 @@
            </property>
           </widget>
          </item>
-         <item row="2" column="1">
-          <widget class="QSpinBox" name="cacheSizeLimitSpinBox">
+         <item row="1" column="1">
+          <widget class="QSpinBox" name="cacheEntryLimitSpinBox">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
              <horstretch>0</horstretch>
@@ -133,17 +142,11 @@
            <property name="alignment">
             <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
            </property>
-           <property name="buttonSymbols">
-            <enum>QAbstractSpinBox::UpDownArrows</enum>
-           </property>
-           <property name="suffix">
-            <string> MiB</string>
-           </property>
            <property name="minimum">
             <number>100</number>
            </property>
            <property name="maximum">
-            <number>1000000</number>
+            <number>100000</number>
            </property>
            <property name="singleStep">
             <number>100</number>
@@ -153,43 +156,17 @@
            </property>
           </widget>
          </item>
-         <item row="2" column="2">
-          <spacer name="horizontalSpacer">
-           <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 row="4" column="2">
-          <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 row="5" column="0">
+         <item row="2" column="0">
           <widget class="QLabel" name="compressionLevelLabel">
            <property name="text">
-            <string>Compression Level</string>
+            <string>Compression Level:</string>
            </property>
            <property name="alignment">
             <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
            </property>
           </widget>
          </item>
-         <item row="5" column="1">
+         <item row="2" column="1">
           <widget class="QSpinBox" name="compressionLevelSpinBox">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">




More information about the scribus-commit mailing list