1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
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
203
204
205
206
207
208
209
210
211
212
213
214
215
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
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
|
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>NewsSourceDlg</class>
<comment>The dialog to be used to edit another news source.</comment>
<author>Frerich Raabe <[email protected]></author>
<widget class="TQDialog">
<property name="name">
<cstring>NewsSourceDlg</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>438</width>
<height>201</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>4</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="caption">
<string>Add News Source</string>
</property>
<property name="icon">
<pixmap>image0</pixmap>
</property>
<property name="layoutMargin" stdset="0">
</property>
<property name="layoutSpacing" stdset="0">
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>4</number>
</property>
<property name="spacing">
<number>4</number>
</property>
<widget class="TQGroupBox" row="0" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>gbNewsSourceProperties</cstring>
</property>
<property name="title">
<string>News Source Properties</string>
</property>
<property name="layoutMargin" stdset="0">
</property>
<property name="layoutSpacing" stdset="0">
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>lName</cstring>
</property>
<property name="text">
<string>&Name:</string>
</property>
<property name="buddy" stdset="0">
<cstring>leName</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Name of the news source</string>
</property>
<property name="whatsThis" stdset="0">
<string>Here you can enter the name of the news source.<br>Note that you can also use the button at the bottom right labeled <i>Suggest</i> to let KNewsTicker fill this field automatically, after you have entered a source file below.</string>
</property>
</widget>
<widget class="KLineEdit" row="0" column="1" rowspan="1" colspan="5">
<property name="name">
<cstring>leName</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Name of the news source</string>
</property>
<property name="whatsThis" stdset="0">
<string>Here you can enter the name of the news source.<br>Note that you can also use the button at the bottom right labeled <i>Suggest</i> to let KNewsTicker fill this field automatically, after you have entered a source file below.</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>lSourceFile</cstring>
</property>
<property name="text">
<string>Source &file:</string>
</property>
<property name="buddy" stdset="0">
<cstring>urlSourceFile</cstring>
</property>
<property name="toolTip" stdset="0">
<string>The source file for this news source</string>
</property>
<property name="whatsThis" stdset="0">
<string>Enter the path to the source file for the news source you want to add here. If you specified a source file here, you can use the button at the bottom right labeled <i>Suggest</i> to let KNewsTicker fill in the remaining values automatically.</string>
</property>
</widget>
<widget class="TQLabel" row="4" column="0">
<property name="name">
<cstring>lIcon</cstring>
</property>
<property name="text">
<string>&Icon:</string>
</property>
<property name="buddy" stdset="0">
<cstring>leIcon</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Path to the icon for this news source</string>
</property>
<property name="whatsThis" stdset="0">
<string>Here you can specify the path to an icon to be used for this news source. Icons make it easier to distinguish between multiple news sources as the headlines scroll by.<br>Note that you can also use the button at the bottom right labeled <i>Suggest</i> to let KNewsTicker fill this field automatically, after you have entered a source file above.</string>
</property>
</widget>
<widget class="KLineEdit" row="4" column="1" rowspan="1" colspan="4">
<property name="name">
<cstring>leIcon</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Path to the icon for this news source</string>
</property>
<property name="whatsThis" stdset="0">
<string>Here you can specify the path to an icon to be used for this news source. Icons make it easier to distinguish between multiple news sources as the headlines scroll by.<br>Note that you can also use the button at the bottom right labeled <i>Suggest</i> to let KNewsTicker fill this field automatically, after you have entered a source file above.</string>
</property>
</widget>
<widget class="TQLabel" row="4" column="5">
<property name="name">
<cstring>pixmapIcon</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="pixmap">
<pixmap>image1</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Icon to be used for this news source</string>
</property>
<property name="whatsThis" stdset="0">
<string>This is what the currently configured icon for this news source looks like. To change this icon, use the input field at the left.</string>
</property>
</widget>
<widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>lCategory</cstring>
</property>
<property name="text">
<string>Ca&tegory:</string>
</property>
<property name="buddy" stdset="0">
<cstring>comboCategory</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Into which category does this news source belong?</string>
</property>
<property name="whatsThis" stdset="0">
<string>Here you can specify into which category this news source belongs. Arranging the news sources into categories makes it much easier to maintain large lists of news sources.<br>Note that you can also use the button at the bottom right labeled <i>Suggest</i> to let KNewsTicker fill this field automatically, after you have entered a source file above.</string>
</property>
</widget>
<widget class="KComboBox" row="3" column="1">
<property name="name">
<cstring>comboCategory</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Into which category does this news source belong?</string>
</property>
<property name="whatsThis" stdset="0">
<string>Here you can specify into which category this news source belongs. Arranging the news sources into categories makes it much easier to maintain large lists of news sources.<br>Note that you can also use the button at the bottom right labeled <i>Suggest</i> to let KNewsTicker fill this field automatically, after you have entered a source file above.</string>
</property>
</widget>
<spacer row="3" column="2">
<property name="name">
<cstring>Spacer5</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
</spacer>
<widget class="TQLabel" row="3" column="3">
<property name="name">
<cstring>lMaxArticles</cstring>
</property>
<property name="text">
<string>&Max. articles:</string>
</property>
<property name="buddy" stdset="0">
<cstring>sbMaxArticles</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Maximum number of articles</string>
</property>
<property name="whatsThis" stdset="0">
<string>This option lets you define how many articles KNewsTicker should cache for this news source. This value will never be exceeded.<br>Note that you can also use the button at the bottom right labeled <i>Suggest</i> to let KNewsTicker fill this field automatically, after you have entered a source file above.</string>
</property>
</widget>
<widget class="KIntSpinBox" row="3" column="4" rowspan="1" colspan="2">
<property name="name">
<cstring>sbMaxArticles</cstring>
</property>
<property name="maxValue">
<number>1000</number>
</property>
<property name="value">
<number>10</number>
</property>
<property name="toolTip" stdset="0">
<string>Maximum number of articles</string>
</property>
<property name="whatsThis" stdset="0">
<string>This option lets you define how many articles KNewsTicker should cache for this news source. This value will never be exceeded.<br>Note that you can also use the button at the bottom right labeled <i>Suggest</i> to let KNewsTicker fill this field automatically, after you have entered a source file above.</string>
</property>
</widget>
<widget class="TQCheckBox" row="2" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>cbProgram</cstring>
</property>
<property name="text">
<string>The file is a &program</string>
</property>
<property name="toolTip" stdset="0">
<string>Is the specified source file a program?</string>
</property>
<property name="whatsThis" stdset="0">
<string>Check this box to tell KNewsTicker that the file you specified in the above input field labeled <i>Source file</i> is a program and not a RDF or RSS file. KNewsTicker will then process the output (as received on <i>stdout</i>) of that program.</string>
</property>
</widget>
<widget class="KURLRequester" row="1" column="1" rowspan="1" colspan="5">
<property name="name">
<cstring>urlSourceFile</cstring>
</property>
<property name="toolTip" stdset="0">
<string>The source file for this news source</string>
</property>
<property name="whatsThis" stdset="0">
<string>Enter the path to the source file for the news source you want to add here. If you specified a source file here, you can use the button at the bottom right labeled <i>Suggest</i> to let KNewsTicker fill in the remaining values automatically.</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQPushButton" row="1" column="3">
<property name="name">
<cstring>bCancel</cstring>
</property>
<property name="text">
<string>&Cancel</string>
</property>
<property name="toolTip" stdset="0">
<string>Cancel this configuration</string>
</property>
<property name="whatsThis" stdset="0">
<string>Press this button to close this dialog, discarding all entered information.</string>
</property>
</widget>
<widget class="TQPushButton" row="1" column="2">
<property name="name">
<cstring>bSuggest</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&Suggest</string>
</property>
<property name="toolTip" stdset="0">
<string>Suggest suitable values</string>
</property>
<property name="whatsThis" stdset="0">
<string>Press this button to make KNewsTicker guess more or less reasonable values for some of the news properties (such as the name, icon or maximum number of articles).<br>Note that you have to supply a source file in order to use this function.</string>
</property>
</widget>
<widget class="TQPushButton" row="1" column="1">
<property name="name">
<cstring>bOk</cstring>
</property>
<property name="text">
<string>&OK</string>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Acknowledge these values</string>
</property>
<property name="whatsThis" stdset="0">
<string>Press this button to apply the values of this dialog and return to the previous configuration dialog.</string>
</property>
</widget>
<spacer row="1" column="0">
<property name="name">
<cstring>spacerButtons</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
</spacer>
</grid>
</widget>
<images>
<image name="image0">
<data format="XPM.GZ" length="2045">789c55d45b53db381407f0773e4586f3c6ec9cc6777b76f6a177480b85425be8ce3ec8924c4248805cb87467bffb4ae7fc6d688433f3437f1dc992e3577ba3f3e3c3d1deab9df5c66c667664a76635da73dbc5e2e9ef7ffefa7767372947e1af6e46e9ee1f3bbb279b911d1ddd2c7d04670134964f34ddc039bc14d7c1b5e44fa2933ab1899aa2d3713a4e24cfefe13c557f1637c18dd4bb82ad9a1fa2b324b55922fd703656732e6eb23ad3bc872deca2f324b3b9e6e7ea7c0c4fe01c7e2d3639d6c307bd7323fe155da443bfacb73005f6876d74990efe24366551ca789ac38d9a8f61079be82a2b1dd67fa6ae922a13bf13b75551b5e2b770a3260f3bf4c7c3a43aab0aecffd3603d9f37b0aba53e91ba4ed42ce75d87fa38af1676b8ff525d17b5ce770137f00fd8c1e7d14d5ebb26179faa9b04fe0217f0bed8065bf111dcc01f60077f8c3679e38c8e7f549b04eec4613cce7b0d3b78a63649293f0692e7a7cddbb4d5f18dd8198ff5add46da9e743dcbb75d27f0f7b352da26dd138e4efd506e74bb3c17a9e977081f3b1b0d1fda40dece195ba2d71bf696facbf80bd2dc45bb54dd5a476a1beceb756b7a9ee2fddc1dea86f7ba3fe77b53556ef7f1aed0adbefd757b54b9dce2ff59c1ffa0fd5ae74fafe59c21e4ea27d3978d1db97e26bb54fd5a4f6d6e87ed054ed52ac5f9e87ae7406e7d3c2fdfed4ea3083ba828dce4ff27bedbade3c5677a957dfc2fdfdfcecdde97abfc106be84c3475fc67d6362c32ddbe7ffc4a61976ece5eaf892a73ce32bd8f5199ef3352f78c9377ccb77bce2356fd8f236b47b7e40c687c463684f61fc15ffe2d7d2def05b7ec7ef9171a1c6237fe08fbccf073c79717de2cf439d433e0aed4bc84cc2bc4b5cc74127439daf21b11fda6918bb08ebd676c6dff860a8f33df49ef20f3e973acf99b3703f13d4d92271f1a2ce4f1e73c229eb3b2ce722f45e70195a5f27262aaeb941c6136b82087542820cd7d492edeb90a3f8f12113eba046487474f95bc6cbaec53a7d8d8ea634d30c5dd19ce67c2cdfb14e3524ae69a19970a6192de345377c40b774472b5ad386b674ff9c79f1744c38fbbdd1c3ee7f7feefc0f291dd297</data>
</image>
<image name="image1">
<data format="XPM.GZ" length="620">789c7dcfcd6a84301007f0bb4f11f426256bd4b886a58fd0d263a1f43093c48fdd55a1dd1e4ae9bbd749a2220b8d82f9fd33c99843ca5e5f9e587a883e6f70eb35d31d7cb0d47c0dc3f7dbfbe34f148b8ad17b64227e8862ce347b9e464b739ce749e606113c8b5a02315958e5c4c6b3cc2ab7da0796c782683d655623d1044a5512a740a534511373550b2d899740e9d9110bb1f04a2c8512da10cf4499cf2739b6c40a008c2b1e56ba0b8ec41ad1dacadd7d1e09d08334e521036d10d158c4356b5a4380ced2d767fdd9ef828b5db344bb3ade5cb73a0e6ed39c6d759c239d0e83d97af801e3847c9fc130edfe6fedb9cf96debbbd18a25d0f7e9f01dc6549fbef79bfa7e80f2829874e</data>
</image>
</images>
<connections>
<connection>
<sender>bSuggest</sender>
<signal>clicked()</signal>
<receiver>NewsSourceDlg</receiver>
<slot>slotSuggestClicked()</slot>
</connection>
<connection>
<sender>bCancel</sender>
<signal>clicked()</signal>
<receiver>NewsSourceDlg</receiver>
<slot>slotCancelClicked()</slot>
</connection>
<connection>
<sender>leName</sender>
<signal>textChanged(const TQString&)</signal>
<receiver>NewsSourceDlg</receiver>
<slot>slotModified()</slot>
</connection>
<connection>
<sender>comboCategory</sender>
<signal>highlighted(const TQString&)</signal>
<receiver>NewsSourceDlg</receiver>
<slot>slotModified()</slot>
</connection>
<connection>
<sender>sbMaxArticles</sender>
<signal>valueChanged(int)</signal>
<receiver>NewsSourceDlg</receiver>
<slot>slotModified()</slot>
</connection>
<connection>
<sender>leIcon</sender>
<signal>textChanged(const TQString&)</signal>
<receiver>NewsSourceDlg</receiver>
<slot>slotModified()</slot>
</connection>
<connection>
<sender>bOk</sender>
<signal>clicked()</signal>
<receiver>NewsSourceDlg</receiver>
<slot>slotOkClicked()</slot>
</connection>
<connection>
<sender>urlSourceFile</sender>
<signal>textChanged(const TQString &)</signal>
<receiver>NewsSourceDlg</receiver>
<slot>slotSourceFileChanged()</slot>
</connection>
</connections>
<tabstops>
<tabstop>leName</tabstop>
<tabstop>urlSourceFile</tabstop>
<tabstop>cbProgram</tabstop>
<tabstop>comboCategory</tabstop>
<tabstop>sbMaxArticles</tabstop>
<tabstop>leIcon</tabstop>
<tabstop>bOk</tabstop>
<tabstop>bSuggest</tabstop>
<tabstop>bCancel</tabstop>
</tabstops>
<includes>
<include location="global" impldecl="in declaration">kurlrequester.h</include>
<include location="global" impldecl="in declaration">kcombobox.h</include>
<include location="global" impldecl="in declaration">klineedit.h</include>
<include location="global" impldecl="in declaration">knuminput.h</include>
</includes>
<slots>
<slot access="protected">slotOkClicked()</slot>
<slot access="protected">slotCancelClicked()</slot>
<slot access="protected">slotModified()</slot>
<slot access="protected">slotSourceFileChanged()</slot>
<slot access="protected">slotSuggestClicked()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
|