1 <ui version="4.0" stdsetdef="1" >
4 <exportmacro></exportmacro>
5 <class>CreationSourceUI</class>
6 <widget class="QWidget" name="CreationSourceUI" >
7 <property name="geometry" >
15 <layout class="QGridLayout" >
16 <item rowspan="1" row="0" column="0" colspan="2" >
17 <widget class="QRadioButton" name="createButton" >
18 <property name="text" >
19 <string>C&reate new dictionary:</string>
21 <property name="checked" >
24 <property name="whatsThis" stdset="0" >
25 <string>If you select this box a new dictionary is created by either loading a dictionary file or by counting the individual words in a text.</string>
29 <item rowspan="1" row="4" column="0" colspan="2" >
30 <widget class="QRadioButton" name="mergeButton" >
31 <property name="text" >
32 <string>&Merge dictionaries</string>
34 <property name="whatsThis" stdset="0" >
35 <string>If you select this box a new dictionary is created by merging existing dictionaries.</string>
39 <item row="2" column="1" >
40 <widget class="QRadioButton" name="fileButton" >
41 <property name="enabled" >
44 <property name="sizePolicy" >
46 <hsizetype>1</hsizetype>
47 <vsizetype>0</vsizetype>
48 <horstretch>1</horstretch>
49 <verstretch>0</verstretch>
52 <property name="text" >
53 <string>From &file</string>
55 <property name="whatsThis" stdset="0" >
56 <string>If you select this box a new dictionary is created by loading a file. You may either select an XML file, a standard text file or a file containing a word completion dictionary. If you select a standard text file or an XML file the frequentness of the individual words is detected by simply counting the occurrences of each word.</string>
60 <item row="1" column="1" >
61 <widget class="QRadioButton" name="kdeDocButton" >
62 <property name="enabled" >
65 <property name="sizePolicy" >
67 <hsizetype>1</hsizetype>
68 <vsizetype>0</vsizetype>
69 <horstretch>1</horstretch>
70 <verstretch>0</verstretch>
73 <property name="text" >
74 <string>From &KDE documentation</string>
76 <property name="checked" >
79 <property name="whatsThis" stdset="0" >
80 <string>If you select this box a new dictionary is created by parsing the KDE documentation. The frequentness of the individual words is detect by simply counting the occurrences of each word.</string>
84 <item row="3" column="1" >
85 <widget class="QRadioButton" name="directoryButton" >
86 <property name="enabled" >
89 <property name="sizePolicy" >
91 <hsizetype>1</hsizetype>
92 <vsizetype>0</vsizetype>
93 <horstretch>1</horstretch>
94 <verstretch>0</verstretch>
97 <property name="text" >
98 <string>From f&older</string>
100 <property name="whatsThis" stdset="0" >
101 <string>If you select this box a new dictionary is created by loading all files in a folder and its subdirectories.</string>
105 <item rowspan="3" row="1" column="0" colspan="1" >
106 <spacer name="spacer1" >
107 <property name="sizeHint" >
113 <property name="sizeType" >
116 <property name="orientation" >
117 <enum>Vertical</enum>
121 <item rowspan="1" row="5" column="0" colspan="2" >
122 <widget class="QRadioButton" name="emptyButton" >
123 <property name="text" >
124 <string>Create an &empty wordlist</string>
126 <property name="whatsThis" stdset="0" >
127 <string>If you select this box a blank dictionary without any entries is created. As KMouth automatically adds newly typed words to the dictionaries it will learn your vocabulary with the time.</string>
133 <layoutdefault spacing="6" margin="11" />
136 <sender>createButton</sender>
137 <signal>toggled(bool)</signal>
138 <receiver>kdeDocButton</receiver>
139 <slot>setEnabled(bool)</slot>
142 <sender>createButton</sender>
143 <signal>toggled(bool)</signal>
144 <receiver>fileButton</receiver>
145 <slot>setEnabled(bool)</slot>
148 <sender>createButton</sender>
149 <signal>toggled(bool)</signal>
150 <receiver>directoryButton</receiver>
151 <slot>setEnabled(bool)</slot>