Warning, /kdevelop/kdevelop/plugins/astyle/astyle_preferences.ui is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <ui version="4.0">
0003  <class>AStylePreferences</class>
0004  <widget class="QWidget" name="AStylePreferences">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>332</width>
0010     <height>648</height>
0011    </rect>
0012   </property>
0013   <layout class="QHBoxLayout" name="horizontalLayout">
0014    <property name="leftMargin">
0015     <number>0</number>
0016    </property>
0017    <property name="topMargin">
0018     <number>0</number>
0019    </property>
0020    <property name="rightMargin">
0021     <number>0</number>
0022    </property>
0023    <property name="bottomMargin">
0024     <number>0</number>
0025    </property>
0026    <item>
0027     <widget class="QTabWidget" name="tabWidget">
0028      <property name="currentIndex">
0029       <number>0</number>
0030      </property>
0031      <widget class="QWidget" name="tabIndentqtion">
0032       <attribute name="title">
0033        <string comment="@title:tab">Indentation</string>
0034       </attribute>
0035       <layout class="QVBoxLayout" name="verticalLayout_2">
0036        <item>
0037         <layout class="QHBoxLayout" name="horizontalLayout_2">
0038          <item>
0039           <widget class="KComboBox" name="cbIndentType">
0040            <property name="sizePolicy">
0041             <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
0042              <horstretch>0</horstretch>
0043              <verstretch>0</verstretch>
0044             </sizepolicy>
0045            </property>
0046            <item>
0047             <property name="text">
0048              <string comment="@item:inlistbox Indentation type">Tabs</string>
0049             </property>
0050            </item>
0051            <item>
0052             <property name="text">
0053              <string comment="@item:inlistbox Indentation type">Force tabs</string>
0054             </property>
0055            </item>
0056            <item>
0057             <property name="text">
0058              <string comment="@item:inlistbox Indentation type">Spaces</string>
0059             </property>
0060            </item>
0061           </widget>
0062          </item>
0063          <item>
0064           <spacer name="spacer13_3">
0065            <property name="orientation">
0066             <enum>Qt::Horizontal</enum>
0067            </property>
0068            <property name="sizeType">
0069             <enum>QSizePolicy::Minimum</enum>
0070            </property>
0071            <property name="sizeHint" stdset="0">
0072             <size>
0073              <width>18</width>
0074              <height>21</height>
0075             </size>
0076            </property>
0077           </spacer>
0078          </item>
0079          <item>
0080           <widget class="QSpinBox" name="inpNuberSpaces">
0081            <property name="enabled">
0082             <bool>true</bool>
0083            </property>
0084            <property name="toolTip">
0085             <string comment="@info:tooltip">Number of spaces that will be converted to a tab.
0086 The number of spaces per tab is controlled by the editor.</string>
0087            </property>
0088            <property name="minimum">
0089             <number>1</number>
0090            </property>
0091            <property name="value">
0092             <number>4</number>
0093            </property>
0094           </widget>
0095          </item>
0096         </layout>
0097        </item>
0098        <item>
0099         <widget class="QCheckBox" name="chkConvertTabs">
0100          <property name="enabled">
0101           <bool>true</bool>
0102          </property>
0103          <property name="toolTip">
0104           <string comment="@info:tooltip">Convert tabs to spaces.</string>
0105          </property>
0106          <property name="text">
0107           <string comment="@option:check">Con&amp;vert tabs into spaces</string>
0108          </property>
0109         </widget>
0110        </item>
0111        <item>
0112         <widget class="QCheckBox" name="chkFillEmptyLines">
0113          <property name="toolTip">
0114           <string comment="@info:tooltip">Fill empty lines with the white space of their previous lines.</string>
0115          </property>
0116          <property name="text">
0117           <string comment="@option:check">Fill empt&amp;y lines</string>
0118          </property>
0119         </widget>
0120        </item>
0121        <item>
0122         <layout class="QGridLayout" name="gridLayout_3">
0123          <item row="1" column="0">
0124           <spacer name="verticalSpacer">
0125            <property name="orientation">
0126             <enum>Qt::Vertical</enum>
0127            </property>
0128            <property name="sizeHint" stdset="0">
0129             <size>
0130              <width>20</width>
0131              <height>10</height>
0132             </size>
0133            </property>
0134           </spacer>
0135          </item>
0136          <item row="0" column="0">
0137           <widget class="QLabel" name="lblIndentObjects">
0138            <property name="text">
0139             <string comment="@label:listbox">Indent:</string>
0140            </property>
0141           </widget>
0142          </item>
0143          <item row="0" column="1" rowspan="2">
0144           <widget class="QListWidget" name="listIdentObjects">
0145            <property name="sizePolicy">
0146             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
0147              <horstretch>0</horstretch>
0148              <verstretch>0</verstretch>
0149             </sizepolicy>
0150            </property>
0151            <item>
0152             <property name="text">
0153              <string comment="@item:inlistbox">Blocks</string>
0154             </property>
0155            </item>
0156            <item>
0157             <property name="text">
0158              <string comment="@item:inlistbox">Brackets</string>
0159             </property>
0160            </item>
0161            <item>
0162             <property name="text">
0163              <string comment="@item:inlistbox">Cases</string>
0164             </property>
0165            </item>
0166            <item>
0167             <property name="text">
0168              <string comment="@item:inlistbox">Class</string>
0169             </property>
0170            </item>
0171            <item>
0172             <property name="text">
0173              <string comment="@item:inlistbox">Labels</string>
0174             </property>
0175            </item>
0176            <item>
0177             <property name="text">
0178              <string comment="@item:inlistbox">Namespaces</string>
0179             </property>
0180            </item>
0181            <item>
0182             <property name="text">
0183              <string comment="@item:inlistbox">Preprocessor directives</string>
0184             </property>
0185            </item>
0186            <item>
0187             <property name="text">
0188              <string comment="@item:inlistbox">Switches</string>
0189             </property>
0190            </item>
0191           </widget>
0192          </item>
0193         </layout>
0194        </item>
0195        <item>
0196         <layout class="QGridLayout" name="gridLayout_4">
0197          <item row="0" column="1">
0198           <widget class="QSpinBox" name="inpMaxStatement">
0199            <property name="toolTip">
0200             <string comment="@info:tooltip">Indent a maximal # spaces in a continuous statement,
0201 relative to the previous line.</string>
0202            </property>
0203            <property name="value">
0204             <number>40</number>
0205            </property>
0206           </widget>
0207          </item>
0208          <item row="1" column="0">
0209           <widget class="QLabel" name="TextLabel3_2">
0210            <property name="toolTip">
0211             <string comment="@info:tooltip">Indent a minimal # spaces in a continuous conditional
0212 belonging to a conditional header.</string>
0213            </property>
0214            <property name="text">
0215             <string comment="@label:spinbox">Minimum in conditional:</string>
0216            </property>
0217            <property name="wordWrap">
0218             <bool>false</bool>
0219            </property>
0220           </widget>
0221          </item>
0222          <item row="1" column="1">
0223           <widget class="QSpinBox" name="inpMinConditional">
0224            <property name="toolTip">
0225             <string comment="@info:tooltip">Indent a minimal # spaces in a continuous conditional
0226 belonging to a conditional header.</string>
0227            </property>
0228            <property name="specialValueText">
0229             <string comment="@item">Twice current</string>
0230            </property>
0231            <property name="minimum">
0232             <number>-1</number>
0233            </property>
0234            <property name="value">
0235             <number>-1</number>
0236            </property>
0237           </widget>
0238          </item>
0239          <item row="0" column="0">
0240           <widget class="QLabel" name="TextLabel2_2">
0241            <property name="toolTip">
0242             <string comment="@info:tooltip">Indent a maximal # spaces in a continuous statement,
0243 relative to the previous line.</string>
0244            </property>
0245            <property name="text">
0246             <string comment="@label:spinbox">Maximum in statement:</string>
0247            </property>
0248            <property name="wordWrap">
0249             <bool>false</bool>
0250            </property>
0251           </widget>
0252          </item>
0253          <item row="2" column="1">
0254           <widget class="QSpinBox" name="inpContinuation">
0255            <property name="toolTip">
0256             <string comment="@info:tooltip">Number of indents</string>
0257            </property>
0258            <property name="maximum">
0259             <number>4</number>
0260            </property>
0261            <property name="value">
0262             <number>1</number>
0263            </property>
0264           </widget>
0265          </item>
0266          <item row="2" column="0">
0267           <widget class="QCheckBox" name="chkAfterParens">
0268            <property name="toolTip">
0269             <string comment="@info:tooltip">Indent, instead of align, continuation lines following lines that contain an opening paren '(' or an assignment '='.</string>
0270            </property>
0271            <property name="text">
0272             <string comment="@option:check">Continuation lines:</string>
0273            </property>
0274           </widget>
0275          </item>
0276         </layout>
0277        </item>
0278        <item>
0279         <spacer name="verticalSpacer_2">
0280          <property name="orientation">
0281           <enum>Qt::Vertical</enum>
0282          </property>
0283          <property name="sizeHint" stdset="0">
0284           <size>
0285            <width>20</width>
0286            <height>144</height>
0287           </size>
0288          </property>
0289         </spacer>
0290        </item>
0291       </layout>
0292      </widget>
0293      <widget class="QWidget" name="tabOther">
0294       <attribute name="title">
0295        <string comment="@title:tab">Other</string>
0296       </attribute>
0297       <layout class="QVBoxLayout" name="verticalLayout_8">
0298        <item>
0299         <widget class="QGroupBox" name="gpBrackets">
0300          <property name="title">
0301           <string comment="@title:group">Brackets</string>
0302          </property>
0303          <layout class="QVBoxLayout" name="verticalLayout_3">
0304           <item>
0305            <layout class="QGridLayout" name="gridLayout_5">
0306             <item row="0" column="0">
0307              <widget class="QLabel" name="lblBrackets">
0308               <property name="sizePolicy">
0309                <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
0310                 <horstretch>0</horstretch>
0311                 <verstretch>0</verstretch>
0312                </sizepolicy>
0313               </property>
0314               <property name="text">
0315                <string comment="@label:listbox">Type:</string>
0316               </property>
0317              </widget>
0318             </item>
0319             <item row="1" column="0" colspan="2">
0320              <widget class="QCheckBox" name="chkBracketsCloseHeaders">
0321               <property name="enabled">
0322                <bool>true</bool>
0323               </property>
0324               <property name="toolTip">
0325                <string comment="@info:tooltip">Break brackets before closing headers (e.g. 'else', 'catch', ...)
0326 from their immediately preceding closing brackets.</string>
0327               </property>
0328               <property name="text">
0329                <string comment="@option:check">Brea&amp;k closing headers</string>
0330               </property>
0331              </widget>
0332             </item>
0333             <item row="0" column="1">
0334              <widget class="KComboBox" name="cbBrackets">
0335               <property name="sizePolicy">
0336                <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
0337                 <horstretch>0</horstretch>
0338                 <verstretch>0</verstretch>
0339                </sizepolicy>
0340               </property>
0341               <item>
0342                <property name="text">
0343                 <string comment="@item:inlistbox brackets style">No change</string>
0344                </property>
0345               </item>
0346               <item>
0347                <property name="text">
0348                 <string comment="@item:inlistbox brackets style">Attach</string>
0349                </property>
0350               </item>
0351               <item>
0352                <property name="text">
0353                 <string comment="@item:inlistbox brackets style">Break</string>
0354                </property>
0355               </item>
0356               <item>
0357                <property name="text">
0358                 <string comment="@item:inlistbox brackets style">Linux</string>
0359                </property>
0360               </item>
0361               <item>
0362                <property name="text">
0363                 <string comment="@item:inlistbox brackets style">Run-In</string>
0364                </property>
0365               </item>
0366              </widget>
0367             </item>
0368             <item row="2" column="0" colspan="2">
0369              <widget class="QCheckBox" name="chkBracesAdd">
0370               <property name="toolTip">
0371                <string comment="@info:tooltip">Add braces to unbraced one-line conditional statements (e.g. 'if', 'for', 'while')</string>
0372               </property>
0373               <property name="text">
0374                <string comment="@option:check add braces to unbraced one-line conditional statements">Add b&amp;races</string>
0375               </property>
0376              </widget>
0377             </item>
0378            </layout>
0379           </item>
0380          </layout>
0381         </widget>
0382        </item>
0383        <item>
0384         <widget class="QGroupBox" name="gpBlocks">
0385          <property name="title">
0386           <string comment="@title:group">Blocks</string>
0387          </property>
0388          <layout class="QVBoxLayout" name="verticalLayout_5">
0389           <item>
0390            <widget class="QCheckBox" name="chkBlockBreak">
0391             <property name="toolTip">
0392              <string comment="@info:tooltip">Insert empty lines around unrelated blocks, labels, classes,...
0393 Known problems:
0394 
0395 1. If a statement is NOT part of a block, 
0396 the following statements are all double spaced. 
0397 Statements enclosed in a block are formatted 
0398 correctly.
0399 
0400 2. Comments are broken from the block.
0401 </string>
0402             </property>
0403             <property name="text">
0404              <string comment="@option:check break unrelated blocks by a newline">&amp;Break blocks</string>
0405             </property>
0406            </widget>
0407           </item>
0408           <item>
0409            <widget class="QCheckBox" name="chkBlockBreakAll">
0410             <property name="toolTip">
0411              <string comment="@info:tooltip">Like --break-blocks, except also insert empty lines 
0412 around closing headers (e.g. 'else', 'catch', ...).
0413 
0414 Known problems:
0415 
0416 1. If a statement is NOT part of a block, 
0417 the following statements are all double spaced. 
0418 Statements enclosed in a block are formatted 
0419 correctly.
0420 
0421 2. Comments are broken from the block.
0422 </string>
0423             </property>
0424             <property name="text">
0425              <string comment="@option:check break all blocks with a newline">Break all bl&amp;ocks</string>
0426             </property>
0427            </widget>
0428           </item>
0429           <item>
0430            <widget class="QCheckBox" name="chkBlockIfElse">
0431             <property name="toolTip">
0432              <string comment="@info:tooltip">Break 'else if()' statements into two different lines.</string>
0433             </property>
0434             <property name="text">
0435              <string comment="@option:check break else if() into separate lines">Break i&amp;f-else</string>
0436             </property>
0437            </widget>
0438           </item>
0439          </layout>
0440         </widget>
0441        </item>
0442        <item>
0443         <widget class="QGroupBox" name="gpPadding">
0444          <property name="title">
0445           <string comment="@title:group">Padding</string>
0446          </property>
0447          <layout class="QVBoxLayout" name="verticalLayout_6">
0448           <item>
0449            <layout class="QGridLayout" name="gridLayout_6">
0450             <item row="0" column="1">
0451              <widget class="KComboBox" name="cbParenthesisPadding">
0452               <property name="sizePolicy">
0453                <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
0454                 <horstretch>0</horstretch>
0455                 <verstretch>0</verstretch>
0456                </sizepolicy>
0457               </property>
0458               <item>
0459                <property name="text">
0460                 <string comment="@item:inlistbox parenthesis padding">No change</string>
0461                </property>
0462               </item>
0463               <item>
0464                <property name="text">
0465                 <string comment="@item:inlistbox parenthesis padding">Unpad</string>
0466                </property>
0467               </item>
0468               <item>
0469                <property name="text">
0470                 <string comment="@item:inlistbox parenthesis padding">Inside only</string>
0471                </property>
0472               </item>
0473               <item>
0474                <property name="text">
0475                 <string comment="@item:inlistbox parenthesis padding">Outside only</string>
0476                </property>
0477               </item>
0478               <item>
0479                <property name="text">
0480                 <string comment="@item:inlistbox parenthesis padding">Inside and outside</string>
0481                </property>
0482               </item>
0483              </widget>
0484             </item>
0485             <item row="2" column="0" colspan="2">
0486              <widget class="QCheckBox" name="chkPadOperators">
0487               <property name="toolTip">
0488                <string comment="@info:tooltip">Insert space padding around operators.
0489 Once padded, operators stay padded.
0490 There is no unpad operator option.</string>
0491               </property>
0492               <property name="text">
0493                <string comment="@option:check">&amp;Add spaces around operators</string>
0494               </property>
0495              </widget>
0496             </item>
0497             <item row="0" column="0">
0498              <widget class="QLabel" name="lblParenthesis">
0499               <property name="text">
0500                <string comment="@label:listbox">Pad parenthesis:</string>
0501               </property>
0502              </widget>
0503             </item>
0504             <item row="1" column="0" colspan="2">
0505              <widget class="QCheckBox" name="chkPadParenthesisHeader">
0506               <property name="toolTip">
0507                <string comment="@info:tooltip">Insert space padding after parenthesis headers (e.g. 'if', 'for', 'while', ...)</string>
0508               </property>
0509               <property name="text">
0510                <string comment="@option:check">Add spaces after parenthesis &amp;headers</string>
0511               </property>
0512              </widget>
0513             </item>
0514            </layout>
0515           </item>
0516          </layout>
0517         </widget>
0518        </item>
0519        <item>
0520         <widget class="QGroupBox" name="gpOneLiners">
0521          <property name="title">
0522           <string comment="@title:group">One Liners</string>
0523          </property>
0524          <layout class="QVBoxLayout" name="verticalLayout_7">
0525           <item>
0526            <widget class="QCheckBox" name="chkKeepStatements">
0527             <property name="toolTip">
0528              <string comment="@info:tooltip">Do not break lines containing multiple statements into
0529 multiple single-statement lines.</string>
0530             </property>
0531             <property name="text">
0532              <string comment="@option:check">&amp;Keep one-line statements</string>
0533             </property>
0534            </widget>
0535           </item>
0536           <item>
0537            <widget class="QCheckBox" name="chkKeepBlocks">
0538             <property name="toolTip">
0539              <string comment="@info:tooltip">Do not break blocks residing completely on one line.</string>
0540             </property>
0541             <property name="text">
0542              <string comment="@option:check">Keep o&amp;ne-line blocks</string>
0543             </property>
0544            </widget>
0545           </item>
0546          </layout>
0547         </widget>
0548        </item>
0549        <item>
0550         <widget class="QGroupBox" name="gpOther">
0551          <property name="title">
0552           <string comment="@title:group">Other</string>
0553          </property>
0554          <layout class="QGridLayout" name="gridLayout" columnstretch="0,1">
0555           <item row="0" column="0">
0556            <widget class="QLabel" name="lblPointerAlign">
0557             <property name="text">
0558              <string comment="@label:listbox">Pointer Alignment:</string>
0559             </property>
0560            </widget>
0561           </item>
0562           <item row="0" column="1">
0563            <widget class="QComboBox" name="cbPointerAlign">
0564             <item>
0565              <property name="text">
0566               <string comment="@item:inlistbox pointer alignment">No change</string>
0567              </property>
0568             </item>
0569             <item>
0570              <property name="text">
0571               <string comment="@item:inlistbox pointer alignment">Name</string>
0572              </property>
0573             </item>
0574             <item>
0575              <property name="text">
0576               <string comment="@item:inlistbox pointer alignment">Middle</string>
0577              </property>
0578             </item>
0579             <item>
0580              <property name="text">
0581               <string comment="@item:inlistbox pointer alignment">Type</string>
0582              </property>
0583             </item>
0584            </widget>
0585           </item>
0586          </layout>
0587         </widget>
0588        </item>
0589        <item>
0590         <spacer name="verticalSpacer_3">
0591          <property name="orientation">
0592           <enum>Qt::Vertical</enum>
0593          </property>
0594          <property name="sizeHint" stdset="0">
0595           <size>
0596            <width>20</width>
0597            <height>70</height>
0598           </size>
0599          </property>
0600         </spacer>
0601        </item>
0602       </layout>
0603      </widget>
0604     </widget>
0605    </item>
0606   </layout>
0607  </widget>
0608  <customwidgets>
0609   <customwidget>
0610    <class>KComboBox</class>
0611    <extends>QComboBox</extends>
0612    <header>KComboBox</header>
0613   </customwidget>
0614  </customwidgets>
0615  <resources/>
0616  <connections/>
0617 </ui>