1 <!DOCTYPE UI><UI version="3.2" stdsetdef="1">
2 <class>HadifixConfigUI</class>
3 <widget class="QWidget">
5 <cstring>HadifixConfigUI</cstring>
7 <property name="geometry">
15 <property name="caption">
16 <string>Hadifix Configuration</string>
18 <property name="whatsThis" stdset="0">
19 <string>This is the configuration dialog for the Hadifix (txt2pho and Mbrola) speech synthesizer.</string>
22 <property name="name">
23 <cstring>unnamed</cstring>
25 <property name="margin">
28 <property name="spacing">
31 <widget class="QGroupBox" row="0" column="0">
32 <property name="name">
33 <cstring>GroupBox4</cstring>
35 <property name="sizePolicy">
37 <hsizetype>5</hsizetype>
38 <vsizetype>5</vsizetype>
39 <horstretch>0</horstretch>
40 <verstretch>0</verstretch>
43 <property name="title">
44 <string>Had&ifix Configuration</string>
46 <property name="whatsThis" stdset="0">
47 <string>This is the configuration dialog for the Hadifix (txt2pho and Mbrola) speech synthesizer.</string>
50 <property name="name">
51 <cstring>unnamed</cstring>
53 <property name="margin">
56 <property name="spacing">
59 <widget class="QGroupBox" row="0" column="0" rowspan="1" colspan="2">
60 <property name="name">
61 <cstring>basicOptions</cstring>
63 <property name="sizePolicy">
65 <hsizetype>5</hsizetype>
66 <vsizetype>0</vsizetype>
67 <horstretch>0</horstretch>
68 <verstretch>0</verstretch>
71 <property name="frameShape">
74 <property name="frameShadow">
77 <property name="title">
78 <string>&Basic Options</string>
81 <property name="name">
82 <cstring>unnamed</cstring>
84 <widget class="QLabel" row="0" column="0">
85 <property name="name">
86 <cstring>voiceLabel</cstring>
88 <property name="sizePolicy">
90 <hsizetype>0</hsizetype>
91 <vsizetype>5</vsizetype>
92 <horstretch>0</horstretch>
93 <verstretch>0</verstretch>
96 <property name="text">
97 <string>&Voice file:</string>
99 <property name="buddy" stdset="0">
100 <cstring>voiceCombo</cstring>
102 <property name="whatsThis" stdset="0">
103 <string>Select a voice for speaking text. If no voices are listed, check your Mbrola configuration. You must install at least one voice.</string>
106 <widget class="KComboBox" row="0" column="1" rowspan="1" colspan="2">
107 <property name="name">
108 <cstring>voiceCombo</cstring>
110 <property name="sizePolicy">
112 <hsizetype>1</hsizetype>
113 <vsizetype>0</vsizetype>
114 <horstretch>1</horstretch>
115 <verstretch>0</verstretch>
118 <property name="whatsThis" stdset="0">
119 <string>Select a voice for speaking text. If no voices are listed, check your Mbrola configuration. You must install at least one voice.</string>
122 <widget class="KPushButton" row="0" column="3">
123 <property name="name">
124 <cstring>voiceButton</cstring>
126 <property name="sizePolicy">
128 <hsizetype>1</hsizetype>
129 <vsizetype>1</vsizetype>
130 <horstretch>0</horstretch>
131 <verstretch>0</verstretch>
134 <property name="text">
135 <string>&Select...</string>
138 <widget class="QLabel" row="1" column="0">
139 <property name="name">
140 <cstring>volumeLabel</cstring>
142 <property name="sizePolicy">
144 <hsizetype>0</hsizetype>
145 <vsizetype>5</vsizetype>
146 <horstretch>0</horstretch>
147 <verstretch>0</verstretch>
150 <property name="text">
151 <string>Volume &ratio:</string>
153 <property name="buddy" stdset="0">
154 <cstring>volumeBox</cstring>
156 <property name="whatsThis" stdset="0">
157 <string>Adjusts the volume of speech. Slide to left for softer speech; to the right for louder.</string>
160 <widget class="KIntSpinBox" row="1" column="1">
161 <property name="name">
162 <cstring>volumeBox</cstring>
164 <property name="enabled">
167 <property name="sizePolicy">
169 <hsizetype>0</hsizetype>
170 <vsizetype>0</vsizetype>
171 <horstretch>0</horstretch>
172 <verstretch>0</verstretch>
175 <property name="suffix">
178 <property name="maxValue">
181 <property name="minValue">
184 <property name="value">
187 <property name="whatsThis" stdset="0">
188 <string>Adjusts the volume of speech. Slide to left for softer speech; to the right for louder.</string>
191 <widget class="QSlider" row="1" column="2" rowspan="1" colspan="2">
192 <property name="name">
193 <cstring>volumeSlider</cstring>
195 <property name="enabled">
198 <property name="focusPolicy">
201 <property name="minValue">
204 <property name="maxValue">
205 <number>1000</number>
207 <property name="lineStep">
210 <property name="pageStep">
213 <property name="value">
216 <property name="orientation">
217 <enum>Horizontal</enum>
219 <property name="tickmarks">
222 <property name="whatsThis" stdset="0">
223 <string>Adjusts the volume of speech. Slide to left for softer speech; to the right for louder.</string>
226 <widget class="QLabel" row="2" column="0">
227 <property name="name">
228 <cstring>timeLabel</cstring>
230 <property name="sizePolicy">
232 <hsizetype>0</hsizetype>
233 <vsizetype>5</vsizetype>
234 <horstretch>0</horstretch>
235 <verstretch>0</verstretch>
238 <property name="text">
239 <string>Speed:</string>
241 <property name="buddy" stdset="0">
242 <cstring>timeBox</cstring>
244 <property name="whatsThis" stdset="0">
245 <string>Adjusts the speed of speech. Slide to left for slower speech; to the right for faster.</string>
248 <widget class="KIntSpinBox" row="2" column="1">
249 <property name="name">
250 <cstring>timeBox</cstring>
252 <property name="enabled">
255 <property name="sizePolicy">
257 <hsizetype>0</hsizetype>
258 <vsizetype>0</vsizetype>
259 <horstretch>0</horstretch>
260 <verstretch>0</verstretch>
263 <property name="suffix">
266 <property name="maxValue">
269 <property name="minValue">
272 <property name="value">
275 <property name="whatsThis" stdset="0">
276 <string>Adjusts the speed of speech. Slide to left for slower speech; to the right for faster.</string>
279 <widget class="QSlider" row="2" column="2" rowspan="1" colspan="2">
280 <property name="name">
281 <cstring>timeSlider</cstring>
283 <property name="enabled">
286 <property name="focusPolicy">
289 <property name="maxValue">
290 <number>1000</number>
292 <property name="lineStep">
295 <property name="pageStep">
298 <property name="value">
301 <property name="orientation">
302 <enum>Horizontal</enum>
304 <property name="whatsThis" stdset="0">
305 <string>Adjusts the speed of speech. Slide to left for slower speech; to the right for faster.</string>
308 <widget class="QLabel" row="3" column="0">
309 <property name="name">
310 <cstring>frequencyLabel</cstring>
312 <property name="sizePolicy">
314 <hsizetype>0</hsizetype>
315 <vsizetype>5</vsizetype>
316 <horstretch>0</horstretch>
317 <verstretch>0</verstretch>
320 <property name="text">
321 <string>&Pitch:</string>
323 <property name="buddy" stdset="0">
324 <cstring>frequencyBox</cstring>
326 <property name="whatsThis" stdset="0">
327 <string>Adjusts the pitch (tone) of speech. Slide to left for lower speech; to the right for higher.</string>
330 <widget class="KIntSpinBox" row="3" column="1">
331 <property name="name">
332 <cstring>frequencyBox</cstring>
334 <property name="sizePolicy">
336 <hsizetype>0</hsizetype>
337 <vsizetype>0</vsizetype>
338 <horstretch>0</horstretch>
339 <verstretch>0</verstretch>
342 <property name="suffix">
345 <property name="maxValue">
348 <property name="minValue">
351 <property name="value">
354 <property name="whatsThis" stdset="0">
355 <string>Adjusts the pitch (tone) of speech. Slide to left for lower speech; to the right for higher.</string>
358 <widget class="QSlider" row="3" column="2" rowspan="1" colspan="2">
359 <property name="name">
360 <cstring>frequencySlider</cstring>
362 <property name="focusPolicy">
365 <property name="maxValue">
366 <number>1000</number>
368 <property name="lineStep">
371 <property name="pageStep">
374 <property name="value">
377 <property name="orientation">
378 <enum>Horizontal</enum>
380 <property name="whatsThis" stdset="0">
381 <string>Adjusts the pitch (tone) of speech. Slide to left for lower speech; to the right for higher.</string>
386 <widget class="QGroupBox" row="1" column="0" rowspan="1" colspan="2">
387 <property name="name">
388 <cstring>advancedOptions</cstring>
390 <property name="sizePolicy">
392 <hsizetype>5</hsizetype>
393 <vsizetype>0</vsizetype>
394 <horstretch>0</horstretch>
395 <verstretch>0</verstretch>
398 <property name="title">
399 <string>&Advanced Options</string>
402 <property name="name">
403 <cstring>unnamed</cstring>
405 <property name="margin">
408 <property name="spacing">
411 <widget class="QLabel" row="0" column="0">
412 <property name="name">
413 <cstring>hadifixBinLabel</cstring>
415 <property name="text">
416 <string>txt2pho e&xecutable:</string>
418 <property name="buddy" stdset="0">
419 <cstring>hadifixURL</cstring>
421 <property name="whatsThis" stdset="0">
422 <string>If the txt2pho program is in your PATH environment variable, simply enter "txt2pho", otherwise specify the full path to the txt2pho executable program.</string>
425 <widget class="KURLRequester" row="0" column="1">
426 <property name="name">
427 <cstring>hadifixURL</cstring>
429 <property name="sizePolicy">
431 <hsizetype>5</hsizetype>
432 <vsizetype>5</vsizetype>
433 <horstretch>0</horstretch>
434 <verstretch>0</verstretch>
437 <property name="whatsThis" stdset="0">
438 <string>If the txt2pho program is in your PATH environment variable, simply enter "txt2pho", otherwise specify the full path to the txt2pho executable program.</string>
441 <widget class="QLabel" row="1" column="0">
442 <property name="name">
443 <cstring>mbrolaBinLabel</cstring>
445 <property name="text">
446 <string>&Mbrola executable:</string>
448 <property name="buddy" stdset="0">
449 <cstring>mbrolaURL</cstring>
451 <property name="whatsThis" stdset="0">
452 <string>If the Mbrola program is in your PATH environment variable, simply enter "mbrola", otherwise specify the full path to the Mbrola executable program.</string>
455 <widget class="KURLRequester" row="1" column="1">
456 <property name="name">
457 <cstring>mbrolaURL</cstring>
459 <property name="sizePolicy">
461 <hsizetype>5</hsizetype>
462 <vsizetype>5</vsizetype>
463 <horstretch>0</horstretch>
464 <verstretch>0</verstretch>
467 <property name="whatsThis" stdset="0">
468 <string>If the Mbrola program is in your PATH environment variable, simply enter "mbrola", otherwise specify the full path to the Mbrola executable program.</string>
471 <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
472 <property name="name">
473 <cstring>layout5</cstring>
476 <property name="name">
477 <cstring>unnamed</cstring>
479 <widget class="QLabel">
480 <property name="name">
481 <cstring>characterCodingLabel</cstring>
483 <property name="sizePolicy">
485 <hsizetype>5</hsizetype>
486 <vsizetype>5</vsizetype>
487 <horstretch>0</horstretch>
488 <verstretch>0</verstretch>
491 <property name="text">
492 <string>Character &encoding:</string>
494 <property name="buddy" stdset="0">
495 <cstring>characterCodingBox</cstring>
498 <widget class="KComboBox">
499 <property name="name">
500 <cstring>characterCodingBox</cstring>
502 <property name="sizePolicy">
504 <hsizetype>7</hsizetype>
505 <vsizetype>0</vsizetype>
506 <horstretch>0</horstretch>
507 <verstretch>0</verstretch>
510 <property name="whatsThis" stdset="0">
511 <string>This combo box specifies which character encoding is used for passing the text. For most western languages, use ISO-8859-1. For Hungarian, use ISO-8859-2.</string>
518 <spacer row="2" column="0">
519 <property name="name">
520 <cstring>spacer1</cstring>
522 <property name="orientation">
523 <enum>Horizontal</enum>
525 <property name="sizeType">
526 <enum>Preferred</enum>
528 <property name="sizeHint">
535 <widget class="KPushButton" row="2" column="1">
536 <property name="name">
537 <cstring>testButton</cstring>
539 <property name="sizePolicy">
541 <hsizetype>0</hsizetype>
542 <vsizetype>0</vsizetype>
543 <horstretch>0</horstretch>
544 <verstretch>0</verstretch>
547 <property name="text">
548 <string>&Test</string>
550 <property name="whatsThis" stdset="0">
551 <string>Click to test the configuration. You should hear a spoken sentence.</string>
562 <sender>volumeBox</sender>
563 <signal>valueChanged(int)</signal>
564 <receiver>HadifixConfigUI</receiver>
565 <slot>volumeBox_valueChanged(int)</slot>
568 <sender>volumeSlider</sender>
569 <signal>valueChanged(int)</signal>
570 <receiver>HadifixConfigUI</receiver>
571 <slot>volumeSlider_valueChanged(int)</slot>
574 <sender>timeBox</sender>
575 <signal>valueChanged(int)</signal>
576 <receiver>HadifixConfigUI</receiver>
577 <slot>timeBox_valueChanged(int)</slot>
580 <sender>timeSlider</sender>
581 <signal>valueChanged(int)</signal>
582 <receiver>HadifixConfigUI</receiver>
583 <slot>timeSlider_valueChanged(int)</slot>
586 <sender>frequencyBox</sender>
587 <signal>valueChanged(int)</signal>
588 <receiver>HadifixConfigUI</receiver>
589 <slot>frequencyBox_valueChanged(int)</slot>
592 <sender>frequencySlider</sender>
593 <signal>valueChanged(int)</signal>
594 <receiver>HadifixConfigUI</receiver>
595 <slot>frequencySlider_valueChanged(int)</slot>
598 <sender>voiceCombo</sender>
599 <signal>activated(const QString&)</signal>
600 <receiver>HadifixConfigUI</receiver>
601 <slot>changed(const QString&)</slot>
604 <sender>volumeBox</sender>
605 <signal>valueChanged(const QString&)</signal>
606 <receiver>HadifixConfigUI</receiver>
607 <slot>changed(const QString&)</slot>
610 <sender>timeBox</sender>
611 <signal>valueChanged(const QString&)</signal>
612 <receiver>HadifixConfigUI</receiver>
613 <slot>changed(const QString&)</slot>
616 <sender>frequencyBox</sender>
617 <signal>valueChanged(const QString&)</signal>
618 <receiver>HadifixConfigUI</receiver>
619 <slot>changed(const QString&)</slot>
622 <sender>hadifixURL</sender>
623 <signal>textChanged(const QString&)</signal>
624 <receiver>HadifixConfigUI</receiver>
625 <slot>changed(const QString&)</slot>
628 <sender>mbrolaURL</sender>
629 <signal>textChanged(const QString&)</signal>
630 <receiver>HadifixConfigUI</receiver>
631 <slot>changed(const QString&)</slot>
635 <include location="global" impldecl="in declaration">qradiobutton.h</include>
636 <include location="global" impldecl="in declaration">qpixmap.h</include>
637 <include location="global" impldecl="in declaration">kurl.h</include>
638 <include location="global" impldecl="in declaration">qmap.h</include>
639 <include location="global" impldecl="in implementation">kglobal.h</include>
640 <include location="global" impldecl="in implementation">qstringlist.h</include>
641 <include location="global" impldecl="in implementation">math.h</include>
642 <include location="global" impldecl="in implementation">kiconloader.h</include>
646 <class>KIntSpinBox</class>
647 <header location="global">knuminput.h</header>
648 <container>0</container>
653 <forward>class QStringList;</forward>
656 <variable>QMap<QString,int> maleVoices;</variable>
657 <variable>QMap<int,QString> defaultVoices;</variable>
658 <variable>QPixmap female;</variable>
659 <variable>QPixmap male;</variable>
660 <variable>QMap<QString,int> femaleVoices;</variable>
663 <signal>changed(bool)</signal>
666 <slot access="protected" specifier="non virtual">volumeBox_valueChanged( int percentValue )</slot>
667 <slot access="protected" specifier="non virtual">timeBox_valueChanged( int percentValue )</slot>
668 <slot access="protected" specifier="non virtual">frequencyBox_valueChanged( int percentValue )</slot>
669 <slot access="protected" specifier="non virtual">volumeSlider_valueChanged( int sliderValue )</slot>
670 <slot access="protected" specifier="non virtual">timeSlider_valueChanged( int sliderValue )</slot>
671 <slot access="protected" specifier="non virtual">frequencySlider_valueChanged( int sliderValue )</slot>
672 <slot access="protected">changed( const QString & )</slot>
675 <function access="protected" specifier="non virtual" returnType="int">percentToSlider( int percentValue )</function>
676 <function access="protected" specifier="non virtual" returnType="int">sliderToPercent( int sliderValue )</function>
677 <function access="private" specifier="non virtual">init()</function>
678 <function specifier="non virtual">addVoice( const QString &filename, bool isMale )</function>
679 <function specifier="non virtual">addVoice( const QString &filename, bool isMale, const QString &displayname )</function>
680 <function specifier="non virtual">setVoice( const QString &filename, bool isMale )</function>
681 <function specifier="non virtual" returnType="QString">getVoiceFilename()</function>
682 <function specifier="non virtual" returnType="bool">isMaleVoice()</function>
684 <layoutdefaults spacing="6" margin="11"/>
686 <includehint>kcombobox.h</includehint>
687 <includehint>kpushbutton.h</includehint>
688 <includehint>knuminput.h</includehint>
689 <includehint>knuminput.h</includehint>
690 <includehint>knuminput.h</includehint>
691 <includehint>kurlrequester.h</includehint>
692 <includehint>klineedit.h</includehint>
693 <includehint>kpushbutton.h</includehint>
694 <includehint>kurlrequester.h</includehint>
695 <includehint>klineedit.h</includehint>
696 <includehint>kpushbutton.h</includehint>
697 <includehint>kcombobox.h</includehint>
698 <includehint>kpushbutton.h</includehint>