eric6/Preferences/ConfigurationPages/EditorTypingPage.ui

changeset 7281
8087ef6df2e4
parent 6997
24eabcea4c59
--- a/eric6/Preferences/ConfigurationPages/EditorTypingPage.ui	Sat Sep 28 19:03:56 2019 +0200
+++ b/eric6/Preferences/ConfigurationPages/EditorTypingPage.ui	Sun Sep 29 17:03:39 2019 +0200
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>543</width>
-    <height>531</height>
+    <height>518</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -414,6 +414,173 @@
        </item>
       </layout>
      </widget>
+     <widget class="QWidget" name="yamlPage">
+      <layout class="QVBoxLayout" name="verticalLayout_5">
+       <property name="leftMargin">
+        <number>0</number>
+       </property>
+       <property name="rightMargin">
+        <number>0</number>
+       </property>
+       <item>
+        <widget class="QGroupBox" name="yamlGroup">
+         <property name="focusPolicy">
+          <enum>Qt::TabFocus</enum>
+         </property>
+         <property name="toolTip">
+          <string>Select to enable YAML typing aids</string>
+         </property>
+         <property name="title">
+          <string>Enable YAML typing aids</string>
+         </property>
+         <property name="checkable">
+          <bool>true</bool>
+         </property>
+         <layout class="QVBoxLayout" name="verticalLayout_4">
+          <item>
+           <widget class="QCheckBox" name="yamlInsertClosingBraceCheckBox">
+            <property name="toolTip">
+             <string>Select to insert a closing parenthesis</string>
+            </property>
+            <property name="text">
+             <string>Automatic parenthesis insertion</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <layout class="QHBoxLayout" name="_2">
+            <item>
+             <spacer>
+              <property name="orientation">
+               <enum>Qt::Horizontal</enum>
+              </property>
+              <property name="sizeType">
+               <enum>QSizePolicy::Fixed</enum>
+              </property>
+              <property name="sizeHint" stdset="0">
+               <size>
+                <width>20</width>
+                <height>20</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+            <item>
+             <widget class="QCheckBox" name="yamlSkipBraceCheckBox">
+              <property name="enabled">
+               <bool>false</bool>
+              </property>
+              <property name="toolTip">
+               <string>Select to skip matching braces when typing</string>
+              </property>
+              <property name="text">
+               <string>Automatically skip matching braces when typing</string>
+              </property>
+             </widget>
+            </item>
+            <item>
+             <spacer>
+              <property name="orientation">
+               <enum>Qt::Horizontal</enum>
+              </property>
+              <property name="sizeHint" stdset="0">
+               <size>
+                <width>131</width>
+                <height>21</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+           </layout>
+          </item>
+          <item>
+           <widget class="QCheckBox" name="yamlColonDetectionCheckBox">
+            <property name="toolTip">
+             <string>Select to skip a ':', if typed next to another ':'</string>
+            </property>
+            <property name="text">
+             <string>Automatic colon detection</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QCheckBox" name="yamlAutoIndentationCheckBox">
+            <property name="toolTip">
+             <string>Select to indent after typing 'return'</string>
+            </property>
+            <property name="text">
+             <string>Automatic indent after ':', '-', '|', '|-', '|+', '&gt;', '&gt;-', '&gt;+'</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QCheckBox" name="yamlInsertQuoteCheckBox">
+            <property name="toolTip">
+             <string>Select to insert the matching quote character</string>
+            </property>
+            <property name="text">
+             <string>Automatic quote insertion</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QCheckBox" name="yamlInsertBlankColonCheckBox">
+            <property name="toolTip">
+             <string>Select to insert a blank after ':'</string>
+            </property>
+            <property name="text">
+             <string>Automatic insertion of ' ' (blank) after ':'</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QCheckBox" name="yamlInsertBlankDashCheckBox">
+            <property name="toolTip">
+             <string>Select to insert a blank after '-'</string>
+            </property>
+            <property name="text">
+             <string>Automatic insertion of ' ' (blank) after '-'</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QCheckBox" name="yamlInsertBlankQuestionCheckBox">
+            <property name="toolTip">
+             <string>Select to insert a blank after '?'</string>
+            </property>
+            <property name="text">
+             <string>Automatic insertion of ' ' (blank) after '?'</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QCheckBox" name="yamlInsertBlankCommaCheckBox">
+            <property name="toolTip">
+             <string>Select to insert a blank after ','</string>
+            </property>
+            <property name="text">
+             <string>Automatic insertion of ' ' (blank) after ','</string>
+            </property>
+           </widget>
+          </item>
+         </layout>
+        </widget>
+       </item>
+       <item>
+        <spacer name="verticalSpacer">
+         <property name="orientation">
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeHint" stdset="0">
+          <size>
+           <width>20</width>
+           <height>89</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+      </layout>
+     </widget>
     </widget>
    </item>
    <item>
@@ -464,12 +631,12 @@
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>118</x>
-     <y>113</y>
+     <x>139</x>
+     <y>141</y>
     </hint>
     <hint type="destinationlabel">
-     <x>162</x>
-     <y>139</y>
+     <x>210</x>
+     <y>172</y>
     </hint>
    </hints>
   </connection>
@@ -480,12 +647,12 @@
    <slot>setChecked(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>215</x>
-     <y>113</y>
+     <x>236</x>
+     <y>141</y>
     </hint>
     <hint type="destinationlabel">
-     <x>198</x>
-     <y>137</y>
+     <x>246</x>
+     <y>172</y>
     </hint>
    </hints>
   </connection>
@@ -496,12 +663,44 @@
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>82</x>
-     <y>271</y>
+     <x>103</x>
+     <y>353</y>
     </hint>
     <hint type="destinationlabel">
-     <x>92</x>
-     <y>297</y>
+     <x>140</x>
+     <y>384</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>yamlInsertClosingBraceCheckBox</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>yamlSkipBraceCheckBox</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>104</x>
+     <y>128</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>106</x>
+     <y>160</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>yamlInsertClosingBraceCheckBox</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>yamlSkipBraceCheckBox</receiver>
+   <slot>setChecked(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>222</x>
+     <y>129</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>222</x>
+     <y>160</y>
     </hint>
    </hints>
   </connection>

eric ide

mercurial