]> 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 2c3554955ec733e66c1b8a18e36d48c4b06871b5..9019720a33d818981a04c09e0a3c218cb5e10084 100644 (file)
-<ui version="4.0">
+<ui version="4.0" >
  <class>ColorUi</class>
- <widget class="QWidget" name="ColorUi">
-  <property name="geometry">
+ <widget class="QWidget" name="ColorUi" >
+  <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>404</width>
-    <height>216</height>
+    <width>426</width>
+    <height>261</height>
    </rect>
   </property>
-  <property name="contextMenuPolicy">
+  <property name="contextMenuPolicy" >
    <enum>Qt::DefaultContextMenu</enum>
   </property>
-  <property name="windowTitle">
-   <string>ColorUi</string>
+  <property name="windowTitle" >
+   <string/>
   </property>
-  <property name="toolTip">
+  <property name="toolTip" >
    <string/>
   </property>
-  <layout class="QGridLayout" name="gridLayout_3">
-   <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" name="gridLayout_2">
-      <item row="0" column="0">
-       <widget class="QLabel" name="noteFontColorLA">
-        <property name="text">
-         <string>Font color for
-greyed-out notes:</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="1">
-       <layout class="QHBoxLayout" name="horizontalLayout_3">
-        <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>
+  <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>
-         <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>
-         <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>
+         <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" name="gridLayout">
-      <item row="0" column="0">
-       <widget class="QLabel" name="label_4">
-        <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" name="horizontalLayout_4">
+      </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 name="horizontalSpacer_3">
-          <property name="orientation">
-           <enum>Qt::Horizontal</enum>
-          </property>
-          <property name="sizeHint" stdset="0">
-           <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 name="verticalSpacer">
-     <property name="orientation">
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <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>
- <layoutdefault spacing="6" margin="11"/>
+ <layoutdefault spacing="6" margin="11" />
  <includes>
-  <include location="local">qt_i18n.h</include>
+  <include location="local" >qt_i18n.h</include>
  </includes>
  <resources/>
  <connections/>