Warning, /frameworks/ktexteditor/src/dialogs/indentationconfigwidget.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>IndentationConfigWidget</class>
0004  <widget class="QWidget" name="IndentationConfigWidget">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>450</width>
0010     <height>530</height>
0011    </rect>
0012   </property>
0013   <layout class="QVBoxLayout" name="verticalLayout">
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     <layout class="QHBoxLayout">
0028      <property name="leftMargin">
0029       <number>0</number>
0030      </property>
0031      <property name="topMargin">
0032       <number>0</number>
0033      </property>
0034      <property name="rightMargin">
0035       <number>0</number>
0036      </property>
0037      <property name="bottomMargin">
0038       <number>0</number>
0039      </property>
0040      <item>
0041       <widget class="QLabel" name="lblMode">
0042        <property name="text">
0043         <string>Default indentation mode:</string>
0044        </property>
0045        <property name="buddy">
0046         <cstring>cmbMode</cstring>
0047        </property>
0048       </widget>
0049      </item>
0050      <item>
0051       <widget class="QComboBox" name="cmbMode">
0052        <property name="whatsThis">
0053         <string>This is a list of available indentation modes. The specified indentation mode will be used for all new documents. Be aware that it is also possible to set the indentation mode with document variables, modes or a .kateconfig file.</string>
0054        </property>
0055       </widget>
0056      </item>
0057      <item>
0058       <spacer>
0059        <property name="orientation">
0060         <enum>Qt::Horizontal</enum>
0061        </property>
0062        <property name="sizeHint" stdset="0">
0063         <size>
0064          <width>1</width>
0065          <height>0</height>
0066         </size>
0067        </property>
0068       </spacer>
0069      </item>
0070     </layout>
0071    </item>
0072    <item>
0073     <widget class="QGroupBox" name="gbIndentationMode">
0074      <property name="title">
0075       <string>Indent using</string>
0076      </property>
0077      <layout class="QGridLayout" name="gridLayout">
0078       <item row="2" column="3">
0079        <widget class="KPluralHandlingSpinBox" name="sbIndentWidth">
0080         <property name="whatsThis">
0081          <string>The indentation width is the number of spaces which is used to indent a line. If the option &lt;b&gt;Insert spaces instead of tabulators&lt;/b&gt; in the section &lt;b&gt;Editing&lt;/b&gt; is disabled, a &lt;b&gt;Tab&lt;/b&gt; character is inserted if the indentation is divisible by the tab width.</string>
0082         </property>
0083         <property name="minimum">
0084          <number>1</number>
0085         </property>
0086         <property name="maximum">
0087          <number>200</number>
0088         </property>
0089         <property name="value">
0090          <number>4</number>
0091         </property>
0092        </widget>
0093       </item>
0094       <item row="2" column="0">
0095        <widget class="QRadioButton" name="rbIndentWithSpaces">
0096         <property name="text">
0097          <string>&amp;Spaces</string>
0098         </property>
0099        </widget>
0100       </item>
0101       <item row="2" column="2">
0102        <widget class="QLabel" name="lblIndentWidth">
0103         <property name="text">
0104          <string>&amp;Indentation width:</string>
0105         </property>
0106         <property name="buddy">
0107          <cstring>sbIndentWidth</cstring>
0108         </property>
0109        </widget>
0110       </item>
0111       <item row="1" column="2">
0112        <widget class="QLabel" name="lblTabWidth">
0113         <property name="text">
0114          <string>Tab wi&amp;dth:</string>
0115         </property>
0116         <property name="alignment">
0117          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0118         </property>
0119         <property name="buddy">
0120          <cstring>sbTabWidth</cstring>
0121         </property>
0122        </widget>
0123       </item>
0124       <item row="2" column="1">
0125        <spacer name="horizontalSpacer">
0126         <property name="orientation">
0127          <enum>Qt::Horizontal</enum>
0128         </property>
0129         <property name="sizeHint" stdset="0">
0130          <size>
0131           <width>40</width>
0132           <height>20</height>
0133          </size>
0134         </property>
0135        </spacer>
0136       </item>
0137       <item row="1" column="3">
0138        <widget class="KPluralHandlingSpinBox" name="sbTabWidth">
0139         <property name="minimum">
0140          <number>1</number>
0141         </property>
0142         <property name="maximum">
0143          <number>200</number>
0144         </property>
0145         <property name="value">
0146          <number>8</number>
0147         </property>
0148        </widget>
0149       </item>
0150       <item row="1" column="0">
0151        <widget class="QRadioButton" name="rbIndentWithTabs">
0152         <property name="text">
0153          <string>&amp;Tabulators</string>
0154         </property>
0155        </widget>
0156       </item>
0157       <item row="3" column="0">
0158        <widget class="QRadioButton" name="rbIndentMixed">
0159         <property name="text">
0160          <string>Tabulators &amp;and Spaces</string>
0161         </property>
0162        </widget>
0163       </item>
0164       <item row="0" column="0">
0165        <widget class="QCheckBox" name="chkAutoDetectIndent">
0166         <property name="text">
0167          <string>Automatically detect file indentation</string>
0168         </property>
0169        </widget>
0170       </item>
0171      </layout>
0172     </widget>
0173    </item>
0174    <item>
0175     <widget class="QGroupBox" name="gbProperties">
0176      <property name="title">
0177       <string>Indentation Properties</string>
0178      </property>
0179      <layout class="QVBoxLayout">
0180       <item>
0181        <widget class="QCheckBox" name="chkKeepExtraSpaces">
0182         <property name="whatsThis">
0183          <string>If this option is disabled, changing the indentation level aligns a line to a multiple of the width specified in &lt;b&gt;Indentation width&lt;/b&gt;.</string>
0184         </property>
0185         <property name="text">
0186          <string>&amp;Keep extra spaces</string>
0187         </property>
0188        </widget>
0189       </item>
0190       <item>
0191        <widget class="QCheckBox" name="chkIndentPaste">
0192         <property name="whatsThis">
0193          <string>If this option is selected, pasted code from the clipboard is indented. Triggering the &lt;b&gt;undo&lt;/b&gt;-action removes the indentation.</string>
0194         </property>
0195         <property name="text">
0196          <string>Adjust indentation of code &amp;pasted from the clipboard</string>
0197         </property>
0198        </widget>
0199       </item>
0200      </layout>
0201     </widget>
0202    </item>
0203    <item>
0204     <widget class="QGroupBox" name="gbKeys">
0205      <property name="title">
0206       <string>Indentation Actions</string>
0207      </property>
0208      <layout class="QVBoxLayout">
0209       <item>
0210        <widget class="QCheckBox" name="chkBackspaceUnindents">
0211         <property name="whatsThis">
0212          <string>If this option is selected, the &lt;b&gt;Backspace&lt;/b&gt; key decreases the indentation level if the cursor is located in the leading blank space of a line.</string>
0213         </property>
0214         <property name="text">
0215          <string>&amp;Backspace key in leading blank space unindents</string>
0216         </property>
0217        </widget>
0218       </item>
0219       <item>
0220        <widget class="QLabel" name="label">
0221         <property name="text">
0222          <string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
0223 p, li { white-space: pre-wrap; }
0224 &lt;/style&gt;&lt;/head&gt;&lt;body&gt;
0225 &lt;p&gt;Tab key action (if no selection exists) &lt;a href=&quot;If you want &lt;b&gt;Tab&lt;/b&gt; to align the current line in the current code block like in Emacs, make &lt;b&gt;Tab&lt;/b&gt; a shortcut to the action &lt;b&gt;Format Indentation&lt;/b&gt;.&quot;&gt;&lt;span&gt;More ...&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
0226         </property>
0227        </widget>
0228       </item>
0229       <item>
0230        <layout class="QHBoxLayout">
0231         <property name="leftMargin">
0232          <number>0</number>
0233         </property>
0234         <property name="topMargin">
0235          <number>0</number>
0236         </property>
0237         <property name="rightMargin">
0238          <number>0</number>
0239         </property>
0240         <property name="bottomMargin">
0241          <number>0</number>
0242         </property>
0243         <item>
0244          <spacer>
0245           <property name="orientation">
0246            <enum>Qt::Horizontal</enum>
0247           </property>
0248           <property name="sizeType">
0249            <enum>QSizePolicy::Fixed</enum>
0250           </property>
0251           <property name="sizeHint" stdset="0">
0252            <size>
0253             <width>20</width>
0254             <height>0</height>
0255            </size>
0256           </property>
0257          </spacer>
0258         </item>
0259         <item>
0260          <layout class="QVBoxLayout">
0261           <property name="leftMargin">
0262            <number>0</number>
0263           </property>
0264           <property name="topMargin">
0265            <number>0</number>
0266           </property>
0267           <property name="rightMargin">
0268            <number>0</number>
0269           </property>
0270           <property name="bottomMargin">
0271            <number>0</number>
0272           </property>
0273           <item>
0274            <widget class="QRadioButton" name="rbTabAdvances">
0275             <property name="whatsThis">
0276              <string>If this option is selected, the &lt;b&gt;Tab&lt;/b&gt; key always inserts white space so that the next tab position is reached. If the option &lt;b&gt;Insert spaces instead of tabulators&lt;/b&gt; in the section &lt;b&gt;Editing&lt;/b&gt; is enabled, spaces are inserted; otherwise, a single tabulator is inserted.</string>
0277             </property>
0278             <property name="text">
0279              <string>Always advance to the &amp;next tab position</string>
0280             </property>
0281            </widget>
0282           </item>
0283           <item>
0284            <widget class="QRadioButton" name="rbTabIndents">
0285             <property name="whatsThis">
0286              <string>If this option is selected, the &lt;b&gt;Tab&lt;/b&gt; key always indents the current line by the number of character positions specified in &lt;b&gt;Indentation width&lt;/b&gt;.</string>
0287             </property>
0288             <property name="text">
0289              <string>Always increase indentation &amp;level</string>
0290             </property>
0291            </widget>
0292           </item>
0293           <item>
0294            <widget class="QRadioButton" name="rbTabSmart">
0295             <property name="whatsThis">
0296              <string>If this option is selected, the &lt;b&gt;Tab&lt;/b&gt; key either indents the current line or advances to the next tab position.&lt;p&gt; If the insertion point is at or before the first non-space character in the line, or if there is a selection, the current line is indented by the number of character positions specified in &lt;b&gt;Indentation width&lt;/b&gt;.&lt;p&gt; If the insertion point is located after the first non-space character in the line and there is no selection, white space is inserted so that the next tab position is reached: if the option &lt;b&gt;Insert spaces instead of tabulators&lt;/b&gt; in the section &lt;b&gt;Editing&lt;/b&gt; is enabled, spaces are inserted; otherwise, a single tabulator is inserted.</string>
0297             </property>
0298             <property name="text">
0299              <string>Increase indentation level if in l&amp;eading blank space</string>
0300             </property>
0301            </widget>
0302           </item>
0303          </layout>
0304         </item>
0305        </layout>
0306       </item>
0307      </layout>
0308     </widget>
0309    </item>
0310    <item>
0311     <spacer>
0312      <property name="orientation">
0313       <enum>Qt::Vertical</enum>
0314      </property>
0315      <property name="sizeHint" stdset="0">
0316       <size>
0317        <width>0</width>
0318        <height>1</height>
0319       </size>
0320      </property>
0321     </spacer>
0322    </item>
0323   </layout>
0324  </widget>
0325  <customwidgets>
0326   <customwidget>
0327    <class>KPluralHandlingSpinBox</class>
0328    <extends>QSpinBox</extends>
0329    <header>kpluralhandlingspinbox.h</header>
0330   </customwidget>
0331  </customwidgets>
0332  <resources/>
0333  <connections/>
0334 </ui>