completionsettingspage.ui 6.98 KB
Newer Older
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>CompletionSettingsPage</class>
 <widget class="QWidget" name="CompletionSettingsPage">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9
10
    <width>363</width>
    <height>241</height>
11
12
13
14
   </rect>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
15
    <widget class="QGroupBox" name="groupBox">
16
17
18
     <property name="title">
      <string>Behavior</string>
     </property>
19
20
21
22
23
24
25
26
27
28
29
     <layout class="QGridLayout" name="gridLayout">
      <item row="0" column="0">
       <widget class="QLabel" name="caseSensitivityLabel">
        <property name="text">
         <string>&amp;Case-sensitivity:</string>
        </property>
        <property name="buddy">
         <cstring>caseSensitivity</cstring>
        </property>
       </widget>
      </item>
30
      <item row="0" column="1">
31
32
33
34
35
36
37
       <widget class="QComboBox" name="caseSensitivity">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
38
        <item>
39
40
41
         <property name="text">
          <string>Full</string>
         </property>
42
43
        </item>
        <item>
44
45
46
         <property name="text">
          <string>None</string>
         </property>
47
48
        </item>
        <item>
49
50
51
         <property name="text">
          <string>First Letter</string>
         </property>
52
        </item>
53
54
       </widget>
      </item>
55
      <item row="0" column="2" colspan="2">
56
57
58
59
60
61
62
63
64
65
66
67
       <spacer name="horizontalSpacer">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>70</width>
          <height>24</height>
         </size>
        </property>
       </spacer>
      </item>
68
      <item row="1" column="0">
69
70
71
72
73
74
       <widget class="QLabel" name="completionTriggerLabel">
        <property name="text">
         <string>Activate completion:</string>
        </property>
       </widget>
      </item>
75
      <item row="1" column="1" colspan="2">
76
       <widget class="QComboBox" name="completionTrigger">
77
        <item>
78
79
80
         <property name="text">
          <string>Manually</string>
         </property>
81
        </item>
82
83
84
85
86
87
88
89
90
91
92
93
        <item>
         <property name="text">
          <string>When Triggered</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>Always</string>
         </property>
        </item>
       </widget>
      </item>
94
      <item row="1" column="3">
95
96
97
98
99
100
101
102
103
104
105
       <spacer name="horizontalSpacer_3">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>40</width>
          <height>24</height>
         </size>
        </property>
       </spacer>
106
      </item>
107
108
      <item row="2" column="0">
       <widget class="QCheckBox" name="partiallyComplete">
109
        <property name="toolTip">
110
         <string>Insert the common prefix of available completion items.</string>
111
        </property>
112
        <property name="text">
113
         <string>Autocomplete common &amp;prefix</string>
114
115
116
117
118
119
        </property>
        <property name="checked">
         <bool>true</bool>
        </property>
       </widget>
      </item>
120
      <item row="3" column="0" colspan="2">
121
       <widget class="QCheckBox" name="autoInsertBrackets">
122
        <property name="toolTip">
123
         <string>Automatically insert semicolons and closing brackets, parentheses, curly braces, and quotes when appropriate.</string>
124
        </property>
125
        <property name="text">
126
         <string>&amp;Automatically insert matching characters</string>
127
128
129
130
131
132
        </property>
        <property name="checked">
         <bool>true</bool>
        </property>
       </widget>
      </item>
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
      <item row="4" column="0">
       <layout class="QHBoxLayout" name="horizontalLayout">
        <item>
         <spacer name="horizontalSpacer_2">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeType">
           <enum>QSizePolicy::Fixed</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>30</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
        <item>
         <widget class="QCheckBox" name="surroundSelectedText">
          <property name="toolTip">
154
           <string>When typing a matching character and there is a text selection, instead of removing the selection, surround it with the corresponding characters.</string>
155
156
          </property>
          <property name="text">
157
           <string>Surround &amp;text selections</string>
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
          </property>
          <property name="checked">
           <bool>true</bool>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item row="5" column="0" colspan="2">
       <layout class="QHBoxLayout" name="horizontalLayout_2">
        <item>
         <spacer name="horizontalSpacer_4">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeType">
           <enum>QSizePolicy::Fixed</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>30</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
        <item>
         <widget class="QCheckBox" name="spaceAfterFunctionName">
          <property name="enabled">
           <bool>true</bool>
          </property>
          <property name="text">
           <string>Insert &amp;space after function name</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
196
     </layout>
197
198
    </widget>
   </item>
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
   <item>
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>20</width>
       <height>40</height>
      </size>
     </property>
    </spacer>
   </item>
  </layout>
 </widget>
 <resources/>
215
216
217
218
219
220
221
222
 <connections>
  <connection>
   <sender>autoInsertBrackets</sender>
   <signal>toggled(bool)</signal>
   <receiver>spaceAfterFunctionName</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
     <x>267</x>
     <y>131</y>
    </hint>
    <hint type="destinationlabel">
     <x>265</x>
     <y>182</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>autoInsertBrackets</sender>
   <signal>toggled(bool)</signal>
   <receiver>surroundSelectedText</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>109</x>
     <y>123</y>
241
242
    </hint>
    <hint type="destinationlabel">
243
244
     <x>119</x>
     <y>156</y>
245
246
247
248
    </hint>
   </hints>
  </connection>
 </connections>
249
</ui>