summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabel/editorpreferences.ui
blob: 77c646838431b99411a600fb4cc3163615d3c20e (plain)
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
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>EditorPreferences</class>
<author>Stanislav Visnovsky</author>
<widget class="TQWidget">
    <property name="name">
        <cstring>EditorPreferences</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>627</width>
            <height>480</height>
        </rect>
    </property>
    <vbox>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <widget class="TQTabWidget">
            <property name="name">
                <cstring>tabWidget2</cstring>
            </property>
            <widget class="TQWidget">
                <property name="name">
                    <cstring>tab</cstring>
                </property>
                <attribute name="title">
                    <string>&amp;General</string>
                </attribute>
                <vbox>
                    <property name="name">
                        <cstring>unnamed</cstring>
                    </property>
                    <widget class="TQFrame">
                        <property name="name">
                            <cstring>frame6</cstring>
                        </property>
                        <property name="frameShape">
                            <enum>StyledPanel</enum>
                        </property>
                        <property name="frameShadow">
                            <enum>Raised</enum>
                        </property>
                        <hbox>
                            <property name="name">
                                <cstring>unnamed</cstring>
                            </property>
                            <widget class="TQCheckBox">
                                <property name="name">
                                    <cstring>kcfg_AutoUnsetFuzzy</cstring>
                                </property>
                                <property name="text">
                                    <string>A&amp;utomatically unset fuzzy status</string>
                                </property>
                                <property name="whatsThis" stdset="0">
                                    <string>&lt;qt&gt;&lt;p&gt;&lt;b&gt;Automatically unset fuzzy status&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;If this is activated and you are editing a fuzzy entry, the fuzzy status is automatically
unset (this means the string &lt;i&gt;, fuzzy&lt;/i&gt;
is removed from the entry's comment).&lt;/p&gt;&lt;/qt&gt;</string>
                                </property>
                            </widget>
                            <widget class="TQCheckBox">
                                <property name="name">
                                    <cstring>kcfg_CleverEditing</cstring>
                                </property>
                                <property name="text">
                                    <string>Use cle&amp;ver editing</string>
                                </property>
                                <property name="whatsThis" stdset="0">
                                    <string>&lt;qt&gt;&lt;p&gt;&lt;b&gt;Use clever editing&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Check this to make typing text more comfortable and let 
KBabel take care of some special characters that have to 
be quoted. For example typing '\"' will result in 
'\\\"', pressing Return will automatically add whitespace 
at the end of the line, pressing Shift+Return will add 
'\\n' at the end of the line.&lt;/p&gt;
&lt;p&gt;Note that this is just a hint: it is still possible to 
generate syntactically incorrect text.&lt;/p&gt;&lt;/qt&gt;</string>
                                </property>
                            </widget>
                        </hbox>
                    </widget>
                    <widget class="TQGroupBox">
                        <property name="name">
                            <cstring>groupBox3</cstring>
                        </property>
                        <property name="title">
                            <string>Automatic Checks</string>
                        </property>
                        <property name="whatsThis" stdset="0">
                            <string>&lt;qt&gt;&lt;p&gt;&lt;b&gt;Error recognition&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Here you can set how to show that an error occurred. 
&lt;b&gt;Beep on error&lt;/b&gt; beeps and &lt;b&gt;Change text color on error
&lt;/b&gt; changes the color of the translated text. If none is 
activated, you will still see a message in the statusbar.
&lt;/p&gt;&lt;/qt&gt;</string>
                        </property>
                        <vbox>
                            <property name="name">
                                <cstring>unnamed</cstring>
                            </property>
                            <widget class="ToolSelectionWidget">
                                <property name="name">
                                    <cstring>_kcfg_AutoCheckTools</cstring>
                                </property>
                            </widget>
                            <widget class="TQCheckBox">
                                <property name="name">
                                    <cstring>kcfg_BeepOnError</cstring>
                                </property>
                                <property name="text">
                                    <string>&amp;Beep on error</string>
                                </property>
                            </widget>
                            <widget class="TQCheckBox">
                                <property name="name">
                                    <cstring>kcfg_AutoCheckColorError</cstring>
                                </property>
                                <property name="text">
                                    <string>Change te&amp;xt color on error</string>
                                </property>
                            </widget>
                        </vbox>
                    </widget>
                    <spacer>
                        <property name="name">
                            <cstring>spacer8</cstring>
                        </property>
                        <property name="orientation">
                            <enum>Vertical</enum>
                        </property>
                        <property name="sizeType">
                            <enum>Expanding</enum>
                        </property>
                        <property name="sizeHint">
                            <size>
                                <width>20</width>
                                <height>21</height>
                            </size>
                        </property>
                    </spacer>
                </vbox>
            </widget>
            <widget class="TQWidget">
                <property name="name">
                    <cstring>tab</cstring>
                </property>
                <attribute name="title">
                    <string>A&amp;ppearance</string>
                </attribute>
                <vbox>
                    <property name="name">
                        <cstring>unnamed</cstring>
                    </property>
                    <widget class="TQFrame">
                        <property name="name">
                            <cstring>frame3</cstring>
                        </property>
                        <property name="frameShape">
                            <enum>StyledPanel</enum>
                        </property>
                        <property name="frameShadow">
                            <enum>Raised</enum>
                        </property>
                        <grid>
                            <property name="name">
                                <cstring>unnamed</cstring>
                            </property>
                            <widget class="TQCheckBox" row="0" column="0">
                                <property name="name">
                                    <cstring>kcfg_HighlightSyntax</cstring>
                                </property>
                                <property name="text">
                                    <string>H&amp;ighlight syntax</string>
                                </property>
                            </widget>
                            <widget class="TQCheckBox" row="1" column="0">
                                <property name="name">
                                    <cstring>kcfg_HighlightBackground</cstring>
                                </property>
                                <property name="text">
                                    <string>Highlight backgrou&amp;nd</string>
                                </property>
                            </widget>
                            <widget class="TQCheckBox" row="0" column="1">
                                <property name="name">
                                    <cstring>kcfg_WhitespacePoints</cstring>
                                </property>
                                <property name="text">
                                    <string>Mark &amp;whitespaces with points</string>
                                </property>
                            </widget>
                            <widget class="TQCheckBox" row="1" column="1">
                                <property name="name">
                                    <cstring>kcfg_EnableQuotes</cstring>
                                </property>
                                <property name="text">
                                    <string>&amp;Show surrounding quotes</string>
                                </property>
                            </widget>
                        </grid>
                    </widget>
                    <widget class="TQButtonGroup">
                        <property name="name">
                            <cstring>buttonGroup1</cstring>
                        </property>
                        <property name="title">
                            <string>Status LEDs</string>
                        </property>
                        <property name="whatsThis" stdset="0">
                            <string>&lt;qt&gt;&lt;p&gt;&lt;b&gt;Status LEDs&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Choose here where the status LEDs are displayed and what color they have.&lt;/p&gt;&lt;/qt&gt;</string>
                        </property>
                        <hbox>
                            <property name="name">
                                <cstring>unnamed</cstring>
                            </property>
                            <widget class="TQRadioButton">
                                <property name="name">
                                    <cstring>kcfg_LedInStatusbar</cstring>
                                </property>
                                <property name="text">
                                    <string>Display in stat&amp;usbar</string>
                                </property>
                            </widget>
                            <widget class="TQRadioButton">
                                <property name="name">
                                    <cstring>radioButton2</cstring>
                                </property>
                                <property name="text">
                                    <string>Display in edi&amp;tor</string>
                                </property>
                                <property name="checked">
                                    <bool>true</bool>
                                </property>
                            </widget>
                            <spacer>
                                <property name="name">
                                    <cstring>spacer1</cstring>
                                </property>
                                <property name="orientation">
                                    <enum>Horizontal</enum>
                                </property>
                                <property name="sizeType">
                                    <enum>Expanding</enum>
                                </property>
                                <property name="sizeHint">
                                    <size>
                                        <width>51</width>
                                        <height>20</height>
                                    </size>
                                </property>
                            </spacer>
                            <widget class="TQLabel">
                                <property name="name">
                                    <cstring>textLabel7</cstring>
                                </property>
                                <property name="text">
                                    <string>Colo&amp;r:</string>
                                </property>
                                <property name="buddy" stdset="0">
                                    <cstring>kcfg_LedColor</cstring>
                                </property>
                            </widget>
                            <widget class="KColorButton">
                                <property name="name">
                                    <cstring>kcfg_LedColor</cstring>
                                </property>
                                <property name="text">
                                    <string></string>
                                </property>
                            </widget>
                        </hbox>
                    </widget>
                    <spacer>
                        <property name="name">
                            <cstring>spacer2</cstring>
                        </property>
                        <property name="orientation">
                            <enum>Vertical</enum>
                        </property>
                        <property name="sizeType">
                            <enum>Expanding</enum>
                        </property>
                        <property name="sizeHint">
                            <size>
                                <width>20</width>
                                <height>29</height>
                            </size>
                        </property>
                    </spacer>
                </vbox>
            </widget>
        </widget>
    </vbox>
</widget>
<customwidgets>
    <customwidget>
        <class>ToolSelectionWidget</class>
        <header location="global">toolselectionwidget.h</header>
        <sizehint>
            <width>200</width>
            <height>200</height>
        </sizehint>
        <container>0</container>
        <sizepolicy>
            <hordata>5</hordata>
            <verdata>5</verdata>
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
        </sizepolicy>
        <pixmap>image0</pixmap>
    </customwidget>
</customwidgets>
<images>
    <image name="image0">
        <data format="XBM.GZ" length="79">789c534e494dcbcc4b554829cdcdad8c2fcf4c29c95030e0524611cd48cd4ccf28010a1797249664262b2467241641a592324b8aa363156c15aab914146aadb90067111b1f</data>
    </image>
</images>
<connections>
    <connection>
        <sender>kcfg_LedInStatusbar</sender>
        <signal>toggled(bool)</signal>
        <receiver>EditorPreferences</receiver>
        <slot>ledWarning(bool)</slot>
    </connection>
    <connection>
        <sender>radioButton2</sender>
        <signal>toggled(bool)</signal>
        <receiver>EditorPreferences</receiver>
        <slot>ledWarning(bool)</slot>
    </connection>
    <connection>
        <sender>kcfg_LedInStatusbar</sender>
        <signal>toggled(bool)</signal>
        <receiver>EditorPreferences</receiver>
        <slot>toggleOther(bool)</slot>
    </connection>
</connections>
<includes>
    <include location="local" impldecl="in implementation">editorpreferences.ui.h</include>
</includes>
<Q_SLOTS>
    <slot specifier="non virtual">ledWarning( bool show )</slot>
    <slot specifier="non virtual">toggleOther( bool other )</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
    <includehint>toolselectionwidget.h</includehint>
    <includehint>kcolorbutton.h</includehint>
</includehints>
</UI>