]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/ui/ColorUi.ui
Split the overcrowded and chaotic UI pref pane into two (#7524)
[lyx.git] / src / frontends / qt4 / ui / ColorUi.ui
index c6d0259c2bd2a93a8e24acb7a492fa555a96ddf7..9019720a33d818981a04c09e0a3c218cb5e10084 100644 (file)
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>406</width>
-    <height>275</height>
+    <width>426</width>
+    <height>261</height>
    </rect>
   </property>
   <property name="contextMenuPolicy" >
    <enum>Qt::DefaultContextMenu</enum>
   </property>
   <property name="windowTitle" >
-   <string>ColorUi</string>
+   <string/>
   </property>
   <property name="toolTip" >
    <string/>
   </property>
-  <layout class="QGridLayout" >
-   <property name="margin" >
-    <number>11</number>
-   </property>
-   <property name="spacing" >
-    <number>6</number>
-   </property>
-   <item row="0" column="0" >
-    <widget class="QGroupBox" name="fontcolorGB" >
-     <property name="title" >
-      <string>Font colors</string>
-     </property>
-     <property name="flat" >
-      <bool>true</bool>
-     </property>
-     <layout class="QGridLayout" >
-      <property name="margin" >
-       <number>11</number>
-      </property>
-      <property name="spacing" >
-       <number>6</number>
-      </property>
-      <item row="0" column="0" >
-       <widget class="QLabel" name="fontColorLA" >
-        <property name="text" >
-         <string>Main text:</string>
-        </property>
-        <property name="buddy" >
-         <cstring>fontColorPB</cstring>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="1" >
-       <layout class="QHBoxLayout" >
-        <property name="margin" >
-         <number>11</number>
-        </property>
-        <property name="spacing" >
-         <number>6</number>
-        </property>
-        <item>
-         <widget class="QPushButton" name="fontColorPB" >
-          <property name="maximumSize" >
-           <size>
-            <width>16777215</width>
-            <height>16777215</height>
-           </size>
-          </property>
-          <property name="toolTip" >
-           <string>Click to change the color</string>
-          </property>
-          <property name="text" >
-           <string>Default...</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QToolButton" name="delFontColorTB" >
-          <property name="minimumSize" >
-           <size>
-            <width>23</width>
-            <height>23</height>
-           </size>
-          </property>
-          <property name="toolTip" >
-           <string>Revert the color to the default</string>
-          </property>
-          <property name="text" >
-           <string>R&amp;eset</string>
-          </property>
-          <property name="toolButtonStyle" >
-           <enum>Qt::ToolButtonTextOnly</enum>
-          </property>
-          <property name="arrowType" >
-           <enum>Qt::LeftArrow</enum>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <spacer>
-          <property name="orientation" >
-           <enum>Qt::Horizontal</enum>
-          </property>
-          <property name="sizeHint" >
-           <size>
-            <width>40</width>
-            <height>20</height>
-           </size>
-          </property>
-         </spacer>
-        </item>
-       </layout>
-      </item>
-      <item row="1" column="0" >
-       <widget class="QLabel" name="noteFontColorLA" >
-        <property name="text" >
-         <string>Greyed-out notes:</string>
-        </property>
-        <property name="buddy" >
-         <cstring>fontColorPB</cstring>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="1" >
-       <layout class="QHBoxLayout" >
-        <property name="margin" >
-         <number>11</number>
-        </property>
-        <property name="spacing" >
-         <number>6</number>
-        </property>
-        <item>
-         <widget class="QPushButton" name="noteFontColorPB" >
-          <property name="maximumSize" >
-           <size>
-            <width>16777215</width>
-            <height>16777215</height>
-           </size>
-          </property>
-          <property name="toolTip" >
-           <string>Click to change the color</string>
-          </property>
-          <property name="text" >
-           <string>&amp;Change...</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QToolButton" name="delNoteFontColorTB" >
-          <property name="minimumSize" >
-           <size>
-            <width>23</width>
-            <height>23</height>
-           </size>
-          </property>
-          <property name="toolTip" >
-           <string>Revert the color to the default</string>
-          </property>
-          <property name="text" >
-           <string>R&amp;eset</string>
-          </property>
-          <property name="toolButtonStyle" >
-           <enum>Qt::ToolButtonTextOnly</enum>
-          </property>
-          <property name="arrowType" >
-           <enum>Qt::LeftArrow</enum>
-          </property>
-         </widget>
-        </item>
+  <layout class="QHBoxLayout" name="horizontalLayout" >
+   <item>
+    <layout class="QVBoxLayout" name="verticalLayout_3" >
+     <item>
+      <widget class="QGroupBox" name="fontcolorGB" >
+       <property name="title" >
+        <string>Font colors</string>
+       </property>
+       <property name="flat" >
+        <bool>true</bool>
+       </property>
+       <layout class="QVBoxLayout" name="verticalLayout" >
         <item>
-         <spacer>
-          <property name="orientation" >
-           <enum>Qt::Horizontal</enum>
-          </property>
-          <property name="sizeHint" >
-           <size>
-            <width>40</width>
-            <height>20</height>
-           </size>
-          </property>
-         </spacer>
+         <layout class="QGridLayout" name="gridLayout" >
+          <item row="0" column="0" >
+           <widget class="QLabel" name="fontColorLA" >
+            <property name="text" >
+             <string>Main text:</string>
+            </property>
+            <property name="buddy" >
+             <cstring>fontColorPB</cstring>
+            </property>
+           </widget>
+          </item>
+          <item row="0" column="1" >
+           <widget class="QPushButton" name="fontColorPB" >
+            <property name="maximumSize" >
+             <size>
+              <width>16777215</width>
+              <height>16777215</height>
+             </size>
+            </property>
+            <property name="toolTip" >
+             <string>Click to change the color</string>
+            </property>
+            <property name="text" >
+             <string>Default...</string>
+            </property>
+           </widget>
+          </item>
+          <item row="0" column="2" >
+           <widget class="QToolButton" name="delFontColorTB" >
+            <property name="minimumSize" >
+             <size>
+              <width>23</width>
+              <height>23</height>
+             </size>
+            </property>
+            <property name="toolTip" >
+             <string>Revert the color to the default</string>
+            </property>
+            <property name="text" >
+             <string>R&amp;eset</string>
+            </property>
+            <property name="toolButtonStyle" >
+             <enum>Qt::ToolButtonTextOnly</enum>
+            </property>
+            <property name="arrowType" >
+             <enum>Qt::LeftArrow</enum>
+            </property>
+           </widget>
+          </item>
+          <item row="0" column="3" >
+           <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="1" column="0" >
+           <widget class="QLabel" name="noteFontColorLA" >
+            <property name="text" >
+             <string>Greyed-out notes:</string>
+            </property>
+            <property name="buddy" >
+             <cstring>fontColorPB</cstring>
+            </property>
+           </widget>
+          </item>
+          <item row="1" column="1" >
+           <widget class="QPushButton" name="noteFontColorPB" >
+            <property name="maximumSize" >
+             <size>
+              <width>16777215</width>
+              <height>16777215</height>
+             </size>
+            </property>
+            <property name="toolTip" >
+             <string>Click to change the color</string>
+            </property>
+            <property name="text" >
+             <string>&amp;Change...</string>
+            </property>
+           </widget>
+          </item>
+          <item row="1" column="2" >
+           <widget class="QToolButton" name="delNoteFontColorTB" >
+            <property name="minimumSize" >
+             <size>
+              <width>23</width>
+              <height>23</height>
+             </size>
+            </property>
+            <property name="toolTip" >
+             <string>Revert the color to the default</string>
+            </property>
+            <property name="text" >
+             <string>R&amp;eset</string>
+            </property>
+            <property name="toolButtonStyle" >
+             <enum>Qt::ToolButtonTextOnly</enum>
+            </property>
+            <property name="arrowType" >
+             <enum>Qt::LeftArrow</enum>
+            </property>
+           </widget>
+          </item>
+          <item row="1" column="3" >
+           <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>
+         </layout>
         </item>
        </layout>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item row="1" column="0" >
-    <widget class="QGroupBox" name="backgroundGB" >
-     <property name="title" >
-      <string>Background colors</string>
-     </property>
-     <property name="flat" >
-      <bool>true</bool>
-     </property>
-     <layout class="QGridLayout" >
-      <property name="margin" >
-       <number>11</number>
-      </property>
-      <property name="spacing" >
-       <number>6</number>
-      </property>
-      <item row="0" column="0" >
-       <widget class="QLabel" name="backgroundColorLA" >
-        <property name="text" >
-         <string>Background color:</string>
-        </property>
-        <property name="buddy" >
-         <cstring>backgroundPB</cstring>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="1" >
-       <layout class="QHBoxLayout" >
-        <property name="margin" >
-         <number>11</number>
-        </property>
-        <property name="spacing" >
-         <number>6</number>
-        </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QGroupBox" name="backgroundGB" >
+       <property name="title" >
+        <string>Background colors</string>
+       </property>
+       <property name="flat" >
+        <bool>true</bool>
+       </property>
+       <layout class="QVBoxLayout" name="verticalLayout_2" >
         <item>
-         <widget class="QPushButton" name="backgroundPB" >
-          <property name="maximumSize" >
-           <size>
-            <width>16777215</width>
-            <height>16777215</height>
-           </size>
-          </property>
-          <property name="toolTip" >
-           <string>Click to change the color</string>
-          </property>
-          <property name="text" >
-           <string>&amp;Change...</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QToolButton" name="delbackgroundTB" >
-          <property name="minimumSize" >
-           <size>
-            <width>23</width>
-            <height>23</height>
-           </size>
-          </property>
-          <property name="toolTip" >
-           <string>Revert the color to the default</string>
-          </property>
-          <property name="text" >
-           <string>R&amp;eset</string>
-          </property>
-          <property name="toolButtonStyle" >
-           <enum>Qt::ToolButtonTextOnly</enum>
-          </property>
-          <property name="arrowType" >
-           <enum>Qt::LeftArrow</enum>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <spacer>
-          <property name="orientation" >
-           <enum>Qt::Horizontal</enum>
-          </property>
-          <property name="sizeHint" >
-           <size>
-            <width>40</width>
-            <height>20</height>
-           </size>
-          </property>
-         </spacer>
+         <layout class="QGridLayout" name="gridLayout_2" >
+          <item row="0" column="0" >
+           <widget class="QLabel" name="backgroundColorLA" >
+            <property name="text" >
+             <string>Page:</string>
+            </property>
+            <property name="buddy" >
+             <cstring>backgroundPB</cstring>
+            </property>
+           </widget>
+          </item>
+          <item row="0" column="1" >
+           <widget class="QPushButton" name="backgroundPB" >
+            <property name="maximumSize" >
+             <size>
+              <width>16777215</width>
+              <height>16777215</height>
+             </size>
+            </property>
+            <property name="toolTip" >
+             <string>Click to change the color</string>
+            </property>
+            <property name="text" >
+             <string>Default...</string>
+            </property>
+           </widget>
+          </item>
+          <item row="0" column="2" >
+           <widget class="QToolButton" name="delBackgroundTB" >
+            <property name="minimumSize" >
+             <size>
+              <width>23</width>
+              <height>23</height>
+             </size>
+            </property>
+            <property name="toolTip" >
+             <string>Revert the color to the default</string>
+            </property>
+            <property name="text" >
+             <string>R&amp;eset</string>
+            </property>
+            <property name="toolButtonStyle" >
+             <enum>Qt::ToolButtonTextOnly</enum>
+            </property>
+            <property name="arrowType" >
+             <enum>Qt::LeftArrow</enum>
+            </property>
+           </widget>
+          </item>
+          <item row="0" column="3" >
+           <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="1" column="0" >
+           <widget class="QLabel" name="boxBackgroundColorLA" >
+            <property name="text" >
+             <string>Shaded boxes:</string>
+            </property>
+            <property name="buddy" >
+             <cstring>backgroundPB</cstring>
+            </property>
+           </widget>
+          </item>
+          <item row="1" column="1" >
+           <widget class="QPushButton" name="boxBackgroundPB" >
+            <property name="maximumSize" >
+             <size>
+              <width>16777215</width>
+              <height>16777215</height>
+             </size>
+            </property>
+            <property name="toolTip" >
+             <string>Click to change the color</string>
+            </property>
+            <property name="text" >
+             <string>&amp;Change...</string>
+            </property>
+           </widget>
+          </item>
+          <item row="1" column="2" >
+           <widget class="QToolButton" name="delBoxBackgroundTB" >
+            <property name="minimumSize" >
+             <size>
+              <width>23</width>
+              <height>23</height>
+             </size>
+            </property>
+            <property name="toolTip" >
+             <string>Revert the color to the default</string>
+            </property>
+            <property name="text" >
+             <string>R&amp;eset</string>
+            </property>
+            <property name="toolButtonStyle" >
+             <enum>Qt::ToolButtonTextOnly</enum>
+            </property>
+            <property name="arrowType" >
+             <enum>Qt::LeftArrow</enum>
+            </property>
+           </widget>
+          </item>
+          <item row="1" column="3" >
+           <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>
+         </layout>
         </item>
        </layout>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item row="2" column="0" >
-    <spacer>
-     <property name="orientation" >
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeHint" >
-      <size>
-       <width>20</width>
-       <height>126</height>
-      </size>
-     </property>
-    </spacer>
+      </widget>
+     </item>
+     <item>
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Vertical</enum>
+       </property>
+       <property name="sizeHint" stdset="0" >
+        <size>
+         <width>385</width>
+         <height>22</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+    </layout>
    </item>
   </layout>
  </widget>