completionsettingspage.ui 9.59 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 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
      <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>
      <item row="0" column="2" colspan="2">
       <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>
      <item row="1" column="0">
       <widget class="QLabel" name="completionTriggerLabel">
        <property name="text">
         <string>Activate completion:</string>
        </property>
       </widget>
      </item>
      <item row="1" column="3">
       <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>
86 87 88 89 90 91 92 93 94 95
      <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>
96
      <item row="0" column="1">
97 98 99 100 101 102 103
       <widget class="QComboBox" name="caseSensitivity">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
104
        <item>
105 106 107
         <property name="text">
          <string>Full</string>
         </property>
108 109
        </item>
        <item>
110 111 112
         <property name="text">
          <string>None</string>
         </property>
113 114
        </item>
        <item>
115 116 117
         <property name="text">
          <string>First Letter</string>
         </property>
118
        </item>
119 120
       </widget>
      </item>
121 122
      <item row="6" column="0">
       <widget class="QCheckBox" name="autoSplitStrings">
123
        <property name="text">
124
         <string>Automatically split strings</string>
125 126 127
        </property>
       </widget>
      </item>
128
      <item row="1" column="1" colspan="2">
129
       <widget class="QComboBox" name="completionTrigger">
130
        <item>
131 132 133
         <property name="text">
          <string>Manually</string>
         </property>
134
        </item>
135 136 137 138 139 140 141 142 143 144 145 146
        <item>
         <property name="text">
          <string>When Triggered</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>Always</string>
         </property>
        </item>
       </widget>
      </item>
147 148
      <item row="2" column="0">
       <widget class="QCheckBox" name="partiallyComplete">
149
        <property name="toolTip">
jkobus's avatar
jkobus committed
150
         <string>Inserts the common prefix of available completion items.</string>
151
        </property>
152
        <property name="text">
153
         <string>Autocomplete common &amp;prefix</string>
154 155 156 157 158 159
        </property>
        <property name="checked">
         <bool>true</bool>
        </property>
       </widget>
      </item>
160
      <item row="3" column="0" colspan="2">
161
       <widget class="QCheckBox" name="autoInsertBrackets">
162
        <property name="toolTip">
jkobus's avatar
jkobus committed
163
         <string>Automatically inserts semicolons and closing brackets, parentheses, curly braces, and quotes when appropriate.</string>
164
        </property>
165
        <property name="text">
166
         <string>&amp;Automatically insert matching characters</string>
167 168 169 170 171 172
        </property>
        <property name="checked">
         <bool>true</bool>
        </property>
       </widget>
      </item>
173
      <item row="5" column="0">
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
       <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>
203
     </layout>
204 205
    </widget>
   </item>
206 207 208 209 210 211 212 213 214
   <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
215
         <string>Automatically creates a Doxygen comment upon pressing enter after a '/**', '/*!', '//!' or '///'.</string>
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
        </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">
243
           <string>Generates a &lt;i&gt;brief&lt;/i&gt; command with an initial description for the corresponding declaration.</string>
244 245 246 247 248 249 250 251 252 253 254
          </property>
          <property name="text">
           <string>Generate brief description</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <widget class="QCheckBox" name="leadingAsterisksCheckBox">
        <property name="toolTip">
255
         <string>Adds leading asterisks when continuing C/C++ &quot;/*&quot;, Qt &quot;/*!&quot; and Java &quot;/**&quot; style comments on new lines.</string>
256 257 258 259 260 261 262 263 264
        </property>
        <property name="text">
         <string>Add leading asterisks</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280
   <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/>
281 282 283 284 285 286 287 288
 <connections>
  <connection>
   <sender>autoInsertBrackets</sender>
   <signal>toggled(bool)</signal>
   <receiver>spaceAfterFunctionName</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
289 290 291 292
     <x>267</x>
     <y>131</y>
    </hint>
    <hint type="destinationlabel">
293 294
     <x>333</x>
     <y>206</y>
295 296 297 298 299 300 301 302 303 304 305 306
    </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>
307 308
    </hint>
    <hint type="destinationlabel">
309 310
     <x>119</x>
     <y>156</y>
311 312 313
    </hint>
   </hints>
  </connection>
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329
  <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>
330
 </connections>
331
</ui>