Warning, /frameworks/ktexteditor/src/dialogs/filetypeconfigwidget.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>FileTypeConfigWidget</class> 0004 <widget class="QWidget" name="FileTypeConfigWidget"> 0005 <layout class="QVBoxLayout"> 0006 <property name="margin"> 0007 <number>0</number> 0008 </property> 0009 <item> 0010 <layout class="QHBoxLayout"> 0011 <item> 0012 <widget class="QLabel" name="lblFiletype"> 0013 <property name="text"> 0014 <string>&Filetype:</string> 0015 </property> 0016 <property name="buddy"> 0017 <cstring>cmbFiletypes</cstring> 0018 </property> 0019 </widget> 0020 </item> 0021 <item> 0022 <widget class="QComboBox" name="cmbFiletypes"> 0023 <property name="whatsThis"> 0024 <string>Select the filetype you want to change.</string> 0025 </property> 0026 </widget> 0027 </item> 0028 <item> 0029 <widget class="QPushButton" name="btnNew"> 0030 <property name="whatsThis"> 0031 <string>Create a new file type.</string> 0032 </property> 0033 <property name="text"> 0034 <string>&New</string> 0035 </property> 0036 </widget> 0037 </item> 0038 <item> 0039 <widget class="QPushButton" name="btnDelete"> 0040 <property name="whatsThis"> 0041 <string>Delete the current file type.</string> 0042 </property> 0043 <property name="text"> 0044 <string>&Delete</string> 0045 </property> 0046 </widget> 0047 </item> 0048 <item> 0049 <spacer> 0050 <property name="orientation"> 0051 <enum>Qt::Horizontal</enum> 0052 </property> 0053 <property name="sizeHint" stdset="0"> 0054 <size> 0055 <width>1</width> 0056 <height>0</height> 0057 </size> 0058 </property> 0059 </spacer> 0060 </item> 0061 </layout> 0062 </item> 0063 <item> 0064 <widget class="QGroupBox" name="gbProperties"> 0065 <property name="title"> 0066 <string>Properties</string> 0067 </property> 0068 <layout class="QFormLayout" name="formLayout"> 0069 <item row="0" column="0"> 0070 <widget class="QLabel" name="lblName"> 0071 <property name="text"> 0072 <string>&Name:</string> 0073 </property> 0074 <property name="buddy"> 0075 <cstring>edtName</cstring> 0076 </property> 0077 </widget> 0078 </item> 0079 <item row="0" column="1"> 0080 <widget class="QLineEdit" name="edtName"> 0081 <property name="whatsThis"> 0082 <string>The name of the filetype will be the text of the corresponding menu item.</string> 0083 </property> 0084 </widget> 0085 </item> 0086 <item row="1" column="0"> 0087 <widget class="QLabel" name="lblSection"> 0088 <property name="text"> 0089 <string>&Section:</string> 0090 </property> 0091 <property name="buddy"> 0092 <cstring>edtSection</cstring> 0093 </property> 0094 </widget> 0095 </item> 0096 <item row="1" column="1"> 0097 <widget class="QLineEdit" name="edtSection"> 0098 <property name="whatsThis"> 0099 <string>The section name is used to organize the file types in menus.</string> 0100 </property> 0101 </widget> 0102 </item> 0103 <item row="2" column="0"> 0104 <widget class="QLabel" name="lblVariables"> 0105 <property name="text"> 0106 <string>&Variables:</string> 0107 </property> 0108 <property name="buddy"> 0109 <cstring>edtVariables</cstring> 0110 </property> 0111 </widget> 0112 </item> 0113 <item row="2" column="1"> 0114 <widget class="VariableLineEdit" name="edtVariables" native="true"> 0115 <property name="whatsThis"> 0116 <string><p>This string allows to configure Kate's settings for the files selected by this mimetype using Kate variables. Almost any configuration option can be set, such as highlight, indent-mode, encoding, etc.</p><p>For a full list of known variables, see the manual.</p></string> 0117 </property> 0118 </widget> 0119 </item> 0120 <item row="3" column="0"> 0121 <widget class="QLabel" name="lblHl"> 0122 <property name="text"> 0123 <string>&Highlighting:</string> 0124 </property> 0125 <property name="buddy"> 0126 <cstring>cmbHl</cstring> 0127 </property> 0128 </widget> 0129 </item> 0130 <item row="3" column="1"> 0131 <widget class="QComboBox" name="cmbHl"/> 0132 </item> 0133 <item row="4" column="0"> 0134 <widget class="QLabel" name="lblIndenter"> 0135 <property name="text"> 0136 <string>&Indentation mode:</string> 0137 </property> 0138 <property name="buddy"> 0139 <cstring>cmbIndenter</cstring> 0140 </property> 0141 </widget> 0142 </item> 0143 <item row="4" column="1"> 0144 <widget class="QComboBox" name="cmbIndenter"/> 0145 </item> 0146 <item row="5" column="0"> 0147 <widget class="QLabel" name="lblExtensions"> 0148 <property name="text"> 0149 <string>File e&xtensions:</string> 0150 </property> 0151 <property name="buddy"> 0152 <cstring>edtFileExtensions</cstring> 0153 </property> 0154 </widget> 0155 </item> 0156 <item row="5" column="1"> 0157 <widget class="QLineEdit" name="edtFileExtensions"> 0158 <property name="whatsThis"> 0159 <string>The wildcards mask allows to select files by filename. A typical mask uses an asterisk and the file extension, for example <code>*.txt; *.text</code>. The string is a semicolon-separated list of masks.</string> 0160 </property> 0161 </widget> 0162 </item> 0163 <item row="6" column="0"> 0164 <widget class="QLabel" name="lblMimeTypes"> 0165 <property name="text"> 0166 <string>MIME &types:</string> 0167 </property> 0168 <property name="buddy"> 0169 <cstring>edtMimeTypes</cstring> 0170 </property> 0171 </widget> 0172 </item> 0173 <item row="6" column="1"> 0174 <layout class="QHBoxLayout"> 0175 <property name="margin"> 0176 <number>0</number> 0177 </property> 0178 <item> 0179 <widget class="QLineEdit" name="edtMimeTypes"> 0180 <property name="whatsThis"> 0181 <string>The mime type mask allows to select files by mimetype. The string is a semicolon-separated list of mimetypes, for example <code>text/plain; text/english</code>.</string> 0182 </property> 0183 </widget> 0184 </item> 0185 <item> 0186 <widget class="QToolButton" name="btnMimeTypes"> 0187 <property name="whatsThis"> 0188 <string>Displays a wizard that helps you easily select mimetypes.</string> 0189 </property> 0190 </widget> 0191 </item> 0192 </layout> 0193 </item> 0194 <item row="7" column="0"> 0195 <widget class="QLabel" name="lblPriority"> 0196 <property name="text"> 0197 <string>P&riority:</string> 0198 </property> 0199 <property name="buddy"> 0200 <cstring>sbPriority</cstring> 0201 </property> 0202 </widget> 0203 </item> 0204 <item row="7" column="1"> 0205 <widget class="QSpinBox" name="sbPriority"> 0206 <property name="whatsThis"> 0207 <string>Sets priority for this file type. If more than one file type selects the same file, the one with the highest priority will be used.</string> 0208 </property> 0209 <property name="minimum"> 0210 <number>-99</number> 0211 </property> 0212 </widget> 0213 </item> 0214 </layout> 0215 </widget> 0216 </item> 0217 <item> 0218 <spacer> 0219 <property name="orientation"> 0220 <enum>Qt::Vertical</enum> 0221 </property> 0222 <property name="sizeHint" stdset="0"> 0223 <size> 0224 <width>0</width> 0225 <height>1</height> 0226 </size> 0227 </property> 0228 </spacer> 0229 </item> 0230 </layout> 0231 </widget> 0232 <customwidgets> 0233 <customwidget> 0234 <class>VariableLineEdit</class> 0235 <extends></extends> 0236 <header>variablelineedit.h</header> 0237 </customwidget> 0238 </customwidgets> 0239 <resources/> 0240 <connections/> 0241 </ui>