2 <class>KPropertiesDesktopBase</class>
3 <widget class="QWidget" name="KPropertiesDesktopBase" >
4 <property name="geometry" >
12 <layout class="QGridLayout" >
13 <property name="leftMargin" >
16 <property name="topMargin" >
19 <property name="rightMargin" >
22 <property name="bottomMargin" >
25 <property name="horizontalSpacing" >
28 <property name="verticalSpacing" >
31 <item row="5" column="3" colspan="2" >
33 <property name="orientation" >
34 <enum>Qt::Vertical</enum>
36 <property name="sizeType" >
37 <enum>QSizePolicy::Minimum</enum>
39 <property name="sizeHint" >
47 <item row="6" column="0" colspan="7" >
48 <widget class="QLabel" name="textLabel7" >
49 <property name="whatsThis" >
50 <string><qt><p>This list should show the types of file that your application can handle. This list is organized by <u>mimetypes</u>.</p>
51 <p>MIME, Multipurpose Internet (e)Mail Extension, is a standard protocol for identifying the type of data based on filename extensions and correspondent <u>mimetypes</u>. Example: the "bmp" part that comes after the dot in flower.bmp indicates that it is a specific kind of image, <u>image/x-bmp</u>. To know which application should open each type of file, the system should be informed about the abilities of each application to handle these extensions and mimetypes.</p>
52 <p>If you want to associate this application with one or more mimetypes that are not in this list, click on the button <b>Add</b> below. If there are one or more filetypes that this application cannot handle, you may want to remove them from the list clicking on the button <b>Remove</b> below.</p></qt></string>
54 <property name="text" >
55 <string>&Supported file types:</string>
57 <property name="buddy" >
58 <cstring>filetypeList</cstring>
62 <item row="7" column="0" colspan="7" >
63 <widget class="QTreeWidget" name="filetypeList" >
64 <property name="sizePolicy" >
65 <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
66 <horstretch>0</horstretch>
67 <verstretch>1</verstretch>
70 <property name="whatsThis" >
71 <string><qt><p>This list should show the types of file that your application can handle. This list is organized by <u>mimetypes</u>.</p>
72 <p>MIME, Multipurpose Internet (e)Mail Extension, is a standard protocol for identifying the type of data based on filename extensions and correspondent <u>mimetypes</u>. Example: the "bmp" part that comes after the dot in flower.bmp indicates that it is a specific kind of image, <u>image/x-bmp</u>. To know which application should open each type of file, the system should be informed about the abilities of each application to handle these extensions and mimetypes.</p>
73 <p>If you want to associate this application with one or more mimetypes that are not in this list, click on the button <b>Add</b> below. If there are one or more filetypes that this application cannot handle, you may want to remove them from the list clicking on the button <b>Remove</b> below.</p></qt></string>
75 <property name="rootIsDecorated" >
78 <property name="sortingEnabled" >
81 <property name="allColumnsShowFocus" >
85 <property name="text" >
86 <string>Mimetype</string>
90 <property name="text" >
91 <string>Description</string>
96 <item row="0" column="0" colspan="2" >
97 <widget class="QLabel" name="nameLabel" >
98 <property name="whatsThis" >
99 <string>Type the name you want to give to this application here. This application will appear under this name in the applications menu and in the panel.</string>
101 <property name="text" >
102 <string>&Name:</string>
104 <property name="buddy" >
105 <cstring>nameEdit</cstring>
109 <item row="0" column="2" colspan="5" >
110 <widget class="KLineEdit" name="nameEdit" >
111 <property name="whatsThis" >
112 <string>Type the name you want to give to this application here. This application will appear under this name in the applications menu and in the panel.</string>
116 <item row="1" column="0" colspan="2" >
117 <widget class="QLabel" name="textLabel2" >
118 <property name="whatsThis" >
119 <string>Type the description of this application, based on its use, here. Examples: a dial up application (KPPP) would be "Dial up tool".</string>
121 <property name="text" >
122 <string>&Description:</string>
124 <property name="buddy" >
125 <cstring>genNameEdit</cstring>
129 <item row="1" column="2" colspan="5" >
130 <widget class="KLineEdit" name="genNameEdit" >
131 <property name="whatsThis" >
132 <string>Type the description of this application, based on its use, here. Examples: a dial up application (KPPP) would be "Dial up tool".</string>
136 <item row="2" column="0" colspan="2" >
137 <widget class="QLabel" name="textLabel3" >
138 <property name="whatsThis" >
139 <string>Type any comment you think is useful here.</string>
141 <property name="text" >
142 <string>Comm&ent:</string>
144 <property name="buddy" >
145 <cstring>commentEdit</cstring>
149 <item row="2" column="2" colspan="5" >
150 <widget class="KLineEdit" name="commentEdit" >
151 <property name="whatsThis" >
152 <string>Type any comment you think is useful here.</string>
156 <item row="3" column="0" colspan="2" >
157 <widget class="QLabel" name="textLabel4" >
158 <property name="whatsThis" >
159 <string>Type the command to start this application here.
161 Following the command, you can have several place holders which will be replaced with the actual values when the actual program is run:
162 %f - a single file name
163 %F - a list of files; use for applications that can open several local files at once
166 %d - the directory of the file to open
167 %D - a list of directories
170 %c - the caption</string>
172 <property name="text" >
173 <string>Co&mmand:</string>
175 <property name="buddy" >
176 <cstring>commandEdit</cstring>
180 <item row="3" column="2" colspan="4" >
181 <widget class="KLineEdit" name="commandEdit" >
182 <property name="whatsThis" >
183 <string>Type the command to start this application here.
185 Following the command, you can have several place holders which will be replaced with the actual values when the actual program is run:
186 %f - a single file name
187 %F - a list of files; use for applications that can open several local files at once
190 %d - the directory of the file to open
191 %D - a list of directories
194 %c - the caption</string>
198 <item row="3" column="6" >
199 <widget class="QPushButton" name="browseButton" >
200 <property name="whatsThis" >
201 <string>Click here to browse your file system in order to find the desired executable.</string>
203 <property name="text" >
204 <string>&Browse...</string>
208 <item row="4" column="0" colspan="2" >
209 <widget class="QLabel" name="textLabel5" >
210 <property name="whatsThis" >
211 <string>Sets the working directory for your application.</string>
213 <property name="text" >
214 <string>&Work path:</string>
216 <property name="buddy" >
217 <cstring>pathEdit</cstring>
221 <item row="4" column="2" colspan="5" >
222 <widget class="KUrlRequester" name="pathEdit" >
223 <property name="whatsThis" >
224 <string>Sets the working directory for your application.</string>
228 <item row="8" column="0" >
229 <widget class="QPushButton" name="addFiletypeButton" >
230 <property name="whatsThis" >
231 <string>Click on this button if you want to add a type of file (mimetype) that your application can handle.</string>
233 <property name="text" >
234 <string>Add...</string>
238 <item row="8" column="1" colspan="2" >
240 <property name="orientation" >
241 <enum>Qt::Horizontal</enum>
243 <property name="sizeType" >
244 <enum>QSizePolicy::MinimumExpanding</enum>
246 <property name="sizeHint" >
254 <item row="8" column="3" >
255 <widget class="QPushButton" name="delFiletypeButton" >
256 <property name="whatsThis" >
257 <string>If you want to remove a type of file (mimetype) that your application cannot handle, select the mimetype in the list above and click on this button.</string>
259 <property name="text" >
260 <string>Remove</string>
264 <item row="8" column="4" >
266 <property name="orientation" >
267 <enum>Qt::Horizontal</enum>
269 <property name="sizeType" >
270 <enum>QSizePolicy::MinimumExpanding</enum>
272 <property name="sizeHint" >
280 <item row="8" column="5" colspan="2" >
281 <widget class="QPushButton" name="advancedButton" >
282 <property name="whatsThis" >
283 <string>Click here to modify the way this application will run, launch feedback, D-Bus options or to run it as a different user.</string>
285 <property name="text" >
286 <string>Ad&vanced Options</string>
292 <layoutdefault spacing="6" margin="11" />
295 <class>KLineEdit</class>
296 <extends>QLineEdit</extends>
297 <header>klineedit.h</header>
298 <container>1</container>
301 <class>KUrlRequester</class>
302 <extends>QFrame</extends>
303 <header>kurlrequester.h</header>
304 <container>1</container>