Preferences/ConfigurationPages/EditorStylesPage.ui

changeset 1566
0cb791cc631a
parent 939
10d3a201cd27
child 2102
a9218946b0bd
--- a/Preferences/ConfigurationPages/EditorStylesPage.ui	Fri Jan 20 18:54:06 2012 +0100
+++ b/Preferences/ConfigurationPages/EditorStylesPage.ui	Sat Jan 21 15:01:53 2012 +0100
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>576</width>
-    <height>1645</height>
+    <height>1874</height>
    </rect>
   </property>
   <layout class="QVBoxLayout" name="verticalLayout_3">
@@ -42,6 +42,83 @@
     </widget>
    </item>
    <item>
+    <widget class="QGroupBox" name="groupBox_12">
+     <property name="title">
+      <string>Colours</string>
+     </property>
+     <layout class="QGridLayout" name="gridLayout_6">
+      <item row="0" column="0" colspan="4">
+       <widget class="QCheckBox" name="editAreaOverrideCheckBox">
+        <property name="toolTip">
+         <string>Select to set the colour of the edit area different to the default style</string>
+        </property>
+        <property name="text">
+         <string>Override edit area colours</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="0">
+       <widget class="QLabel" name="TextLabel2_2_2_2_2_12">
+        <property name="enabled">
+         <bool>false</bool>
+        </property>
+        <property name="text">
+         <string>Edit area foreground:</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="1">
+       <widget class="QPushButton" name="editAreaForegroundButton">
+        <property name="enabled">
+         <bool>false</bool>
+        </property>
+        <property name="minimumSize">
+         <size>
+          <width>100</width>
+          <height>0</height>
+         </size>
+        </property>
+        <property name="toolTip">
+         <string>Select the foreground colour for the edit area.</string>
+        </property>
+        <property name="text">
+         <string/>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="2">
+       <widget class="QLabel" name="TextLabel2_2_2_2_2_11">
+        <property name="enabled">
+         <bool>false</bool>
+        </property>
+        <property name="text">
+         <string>Edit area background:</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="3">
+       <widget class="QPushButton" name="editAreaBackgroundButton">
+        <property name="enabled">
+         <bool>false</bool>
+        </property>
+        <property name="minimumSize">
+         <size>
+          <width>100</width>
+          <height>0</height>
+         </size>
+        </property>
+        <property name="toolTip">
+         <string>Select the background colour for the edit area.</string>
+        </property>
+        <property name="text">
+         <string/>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item>
     <widget class="QGroupBox" name="groupBox_5">
      <property name="title">
       <string>Fonts</string>
@@ -1314,6 +1391,9 @@
   </layout>
  </widget>
  <tabstops>
+  <tabstop>editAreaOverrideCheckBox</tabstop>
+  <tabstop>editAreaForegroundButton</tabstop>
+  <tabstop>editAreaBackgroundButton</tabstop>
   <tabstop>defaultFontButton</tabstop>
   <tabstop>monospacedFontButton</tabstop>
   <tabstop>monospacedCheckBox</tabstop>
@@ -1370,12 +1450,12 @@
    <slot>display(int)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>510</x>
-     <y>279</y>
+     <x>483</x>
+     <y>378</y>
     </hint>
     <hint type="destinationlabel">
      <x>554</x>
-     <y>283</y>
+     <y>382</y>
     </hint>
    </hints>
   </connection>
@@ -1387,11 +1467,11 @@
    <hints>
     <hint type="sourcelabel">
      <x>492</x>
-     <y>1031</y>
+     <y>1144</y>
     </hint>
     <hint type="destinationlabel">
      <x>544</x>
-     <y>1035</y>
+     <y>1148</y>
     </hint>
    </hints>
   </connection>
@@ -1402,12 +1482,76 @@
    <slot>display(int)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>502</x>
-     <y>1152</y>
+     <x>206</x>
+     <y>1265</y>
     </hint>
     <hint type="destinationlabel">
      <x>555</x>
-     <y>1156</y>
+     <y>1269</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>editAreaOverrideCheckBox</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>TextLabel2_2_2_2_2_12</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>75</x>
+     <y>117</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>75</x>
+     <y>137</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>editAreaOverrideCheckBox</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>editAreaForegroundButton</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>201</x>
+     <y>115</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>209</x>
+     <y>140</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>editAreaOverrideCheckBox</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>TextLabel2_2_2_2_2_11</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>313</x>
+     <y>112</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>348</x>
+     <y>141</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>editAreaOverrideCheckBox</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>editAreaBackgroundButton</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>447</x>
+     <y>117</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>489</x>
+     <y>142</y>
     </hint>
    </hints>
   </connection>

eric ide

mercurial