]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/ui/PrefColorsUi.ui
Split the overcrowded and chaotic UI pref pane into two (#7524)
[lyx.git] / src / frontends / qt4 / ui / PrefColorsUi.ui
index 5ae88236bb36da53766fcab3b102c2b0cfa2050d..239f4f551a1d8e19f1b3101fde5a08cb6ec5fd73 100644 (file)
@@ -5,77 +5,68 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>359</width>
-    <height>351</height>
+    <width>231</width>
+    <height>254</height>
    </rect>
   </property>
   <property name="windowTitle" >
    <string/>
   </property>
-   <layout class="QVBoxLayout" >
-    <property name="margin" >
-     <number>0</number>
-    </property>
-    <property name="spacing" >
-     <number>6</number>
-    </property>
-    <item>
-     <widget class="QLabel" name="lyxObjectsLA" >
-      <property name="text" >
-       <string>&amp;Colors</string>
-      </property>
-      <property name="buddy" >
-       <cstring>lyxObjectsLW</cstring>
-      </property>
-     </widget>
-    </item>
-    <item>
-     <layout class="QHBoxLayout" >
-      <property name="margin" >
-       <number>0</number>
-      </property>
-      <property name="spacing" >
-       <number>6</number>
-      </property>
-      <item>
-       <widget class="QListWidget" name="lyxObjectsLW" />
-      </item>
-      <item>
-       <layout class="QVBoxLayout" >
-        <property name="margin" >
-         <number>0</number>
-        </property>
-        <property name="spacing" >
-         <number>6</number>
-        </property>
-        <item>
-         <widget class="QPushButton" name="colorChangePB" >
-          <property name="text" >
-           <string>&amp;Alter...</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <spacer>
-          <property name="orientation" >
-           <enum>Qt::Vertical</enum>
-          </property>
-          <property name="sizeHint" >
-           <size>
-            <width>20</width>
-            <height>40</height>
-           </size>
-          </property>
-         </spacer>
-        </item>
-       </layout>
-      </item>
-     </layout>
-    </item>
-   </layout>
+  <layout class="QGridLayout" >
+   <item rowspan="2" row="0" column="0" >
+    <widget class="QListWidget" name="lyxObjectsLW" >
+     <property name="sizePolicy" >
+      <sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
+    </widget>
+   </item>
+   <item row="1" column="1" >
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeHint" stdset="0" >
+      <size>
+       <width>20</width>
+       <height>40</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item row="0" column="1" >
+    <widget class="QPushButton" name="colorChangePB" >
+     <property name="text" >
+      <string>A&amp;lter...</string>
+     </property>
+    </widget>
+   </item>
+   <item row="0" column="2" >
+    <spacer>
+     <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="2" column="0" colspan="2" >
+    <widget class="QCheckBox" name="syscolorsCB" >
+     <property name="text" >
+      <string>&amp;Use system colors</string>
+     </property>
+    </widget>
+   </item>
+  </layout>
  </widget>
  <includes>
-  <include location="local" >qt_helpers.h</include>
+  <include location="local" >qt_i18n.h</include>
  </includes>
  <resources/>
  <connections/>