completionsettingspage.ui 10.6 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
3 4
 <class>CppTools::Internal::CompletionSettingsPage</class>
 <widget class="QWidget" name="CppTools::Internal::CompletionSettingsPage">
5 6 7 8
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>484</width>
    <height>376</height>
11 12
   </rect>
  </property>
13
  <layout class="QVBoxLayout" name="verticalLayout_2">
14
   <item>
15
    <widget class="QGroupBox" name="groupBox">
16 17 18
     <property name="title">
      <string>Behavior</string>
     </property>
19
     <layout class="QGridLayout" name="gridLayout">
20 21
      <item row="5" column="0">
       <layout class="QHBoxLayout" name="horizontalLayout_2">
22
        <item>
23
         <spacer name="horizontalSpacer_4">
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
          <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>
39 40 41
         <widget class="QCheckBox" name="spaceAfterFunctionName">
          <property name="enabled">
           <bool>true</bool>
42 43
          </property>
          <property name="text">
44
           <string>Insert &amp;space after function name</string>
45 46 47 48 49
          </property>
         </widget>
        </item>
       </layout>
      </item>
50 51 52 53 54 55 56 57 58 59
      <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>
60
      <item row="0" column="1">
61 62 63 64 65 66 67
       <widget class="QComboBox" name="caseSensitivity">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
68
        <item>
69 70 71
         <property name="text">
          <string>Full</string>
         </property>
72 73
        </item>
        <item>
74 75 76
         <property name="text">
          <string>None</string>
         </property>
77 78
        </item>
        <item>
79 80 81
         <property name="text">
          <string>First Letter</string>
         </property>
82
        </item>
83 84
       </widget>
      </item>
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
      <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">
           <string>When typing a matching character and there is a text selection, instead of removing the selection, surrounds it with the corresponding characters.</string>
          </property>
          <property name="text">
           <string>Surround &amp;text selections</string>
          </property>
          <property name="checked">
           <bool>true</bool>
          </property>
         </widget>
        </item>
       </layout>
      </item>
118 119
      <item row="6" column="0">
       <widget class="QCheckBox" name="autoSplitStrings">
120 121 122 123 124
        <property name="toolTip">
         <string>Splits a string into two lines by adding an end quote at the cursor position when you press Enter and a start quote to the next line, before the rest of the string.

In addition, Shift+Enter inserts an escape character at the cursor position and moves the rest of the string to the next line.</string>
        </property>
125
        <property name="text">
126
         <string>Automatically split strings</string>
127 128 129
        </property>
       </widget>
      </item>
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
      <item row="1" column="5">
       <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>
      </item>
      <item row="0" column="2" colspan="4">
       <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>
156
      <item row="1" column="1" colspan="2">
157
       <widget class="QComboBox" name="completionTrigger">
158
        <item>
159 160 161
         <property name="text">
          <string>Manually</string>
         </property>
162
        </item>
163 164 165 166 167 168 169 170 171 172 173 174
        <item>
         <property name="text">
          <string>When Triggered</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>Always</string>
         </property>
        </item>
       </widget>
      </item>
175 176 177 178 179 180 181
      <item row="1" column="3">
       <widget class="QLabel" name="automaticProposalTimeoutLabel">
        <property name="text">
         <string>Timeout in ms:</string>
        </property>
       </widget>
      </item>
182 183
      <item row="2" column="0">
       <widget class="QCheckBox" name="partiallyComplete">
184
        <property name="toolTip">
jkobus's avatar
jkobus committed
185
         <string>Inserts the common prefix of available completion items.</string>
186
        </property>
187
        <property name="text">
188
         <string>Autocomplete common &amp;prefix</string>
189 190 191 192 193 194
        </property>
        <property name="checked">
         <bool>true</bool>
        </property>
       </widget>
      </item>
195 196 197 198 199 200 201
      <item row="1" column="0">
       <widget class="QLabel" name="completionTriggerLabel">
        <property name="text">
         <string>Activate completion:</string>
        </property>
       </widget>
      </item>
202
      <item row="3" column="0" colspan="2">
203
       <widget class="QCheckBox" name="autoInsertBrackets">
204
        <property name="toolTip">
jkobus's avatar
jkobus committed
205
         <string>Automatically inserts semicolons and closing brackets, parentheses, curly braces, and quotes when appropriate.</string>
206
        </property>
207
        <property name="text">
208
         <string>&amp;Automatically insert matching characters</string>
209 210 211 212 213 214
        </property>
        <property name="checked">
         <bool>true</bool>
        </property>
       </widget>
      </item>
215 216 217 218 219 220 221 222 223 224 225 226
      <item row="1" column="4">
       <widget class="QSpinBox" name="automaticProposalTimeoutSpinBox">
        <property name="maximum">
         <number>500</number>
        </property>
        <property name="singleStep">
         <number>50</number>
        </property>
        <property name="value">
         <number>400</number>
        </property>
       </widget>
227
      </item>
228
     </layout>
229 230
    </widget>
   </item>
231 232 233 234 235 236 237 238 239
   <item>
    <widget class="QGroupBox" name="docCommentsGroup">
     <property name="title">
      <string>Documentation Comments</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout">
      <item>
       <widget class="QCheckBox" name="enableDoxygenCheckBox">
        <property name="toolTip">
Jarek Kobus's avatar
Jarek Kobus committed
240
         <string>Automatically creates a Doxygen comment upon pressing enter after a '/**', '/*!', '//!' or '///'.</string>
241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267
        </property>
        <property name="text">
         <string>Enable Doxygen blocks</string>
        </property>
       </widget>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_3">
        <item>
         <spacer name="horizontalSpacer_5">
          <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="generateBriefCheckBox">
          <property name="toolTip">
268
           <string>Generates a &lt;i&gt;brief&lt;/i&gt; command with an initial description for the corresponding declaration.</string>
269 270 271 272 273 274 275 276 277 278 279
          </property>
          <property name="text">
           <string>Generate brief description</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <widget class="QCheckBox" name="leadingAsterisksCheckBox">
        <property name="toolTip">
280
         <string>Adds leading asterisks when continuing C/C++ &quot;/*&quot;, Qt &quot;/*!&quot; and Java &quot;/**&quot; style comments on new lines.</string>
281 282 283 284 285 286 287 288 289
        </property>
        <property name="text">
         <string>Add leading asterisks</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305
   <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/>
306 307 308 309 310 311 312 313
 <connections>
  <connection>
   <sender>autoInsertBrackets</sender>
   <signal>toggled(bool)</signal>
   <receiver>spaceAfterFunctionName</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
314 315 316 317
     <x>267</x>
     <y>131</y>
    </hint>
    <hint type="destinationlabel">
318 319
     <x>333</x>
     <y>206</y>
320 321 322 323 324 325 326 327 328 329 330 331
    </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>
332 333
    </hint>
    <hint type="destinationlabel">
334 335
     <x>119</x>
     <y>156</y>
336 337 338
    </hint>
   </hints>
  </connection>
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354
  <connection>
   <sender>enableDoxygenCheckBox</sender>
   <signal>toggled(bool)</signal>
   <receiver>generateBriefCheckBox</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>153</x>
     <y>272</y>
    </hint>
    <hint type="destinationlabel">
     <x>204</x>
     <y>293</y>
    </hint>
   </hints>
  </connection>
355
 </connections>
356
</ui>