1<ui version="4.0" stdsetdef="1" > 2 <class>CreationSourceUI</class> 3 <widget class="QWidget" name="CreationSourceUI" > 4 <property name="geometry" > 5 <rect> 6 <x>0</x> 7 <y>0</y> 8 <width>318</width> 9 <height>223</height> 10 </rect> 11 </property> 12 <layout class="QGridLayout" > 13 <item rowspan="1" row="0" column="0" colspan="2" > 14 <widget class="QRadioButton" name="createButton" > 15 <property name="text" > 16 <string>C&reate new dictionary:</string> 17 </property> 18 <property name="checked" > 19 <bool>true</bool> 20 </property> 21 <property name="whatsThis" stdset="0" > 22 <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> 23 </property> 24 </widget> 25 </item> 26 <item rowspan="1" row="4" column="0" colspan="2" > 27 <widget class="QRadioButton" name="mergeButton" > 28 <property name="text" > 29 <string>&Merge dictionaries</string> 30 </property> 31 <property name="whatsThis" stdset="0" > 32 <string>If you select this box a new dictionary is created by merging existing dictionaries.</string> 33 </property> 34 </widget> 35 </item> 36 <item row="2" column="1" > 37 <widget class="QRadioButton" name="fileButton" > 38 <property name="enabled" > 39 <bool>true</bool> 40 </property> 41 <property name="sizePolicy" > 42 <sizepolicy> 43 <hsizetype>1</hsizetype> 44 <vsizetype>0</vsizetype> 45 <horstretch>1</horstretch> 46 <verstretch>0</verstretch> 47 </sizepolicy> 48 </property> 49 <property name="text" > 50 <string>From &file</string> 51 </property> 52 <property name="whatsThis" stdset="0" > 53 <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> 54 </property> 55 </widget> 56 </item> 57 <item row="1" column="1" > 58 <widget class="QRadioButton" name="kdeDocButton" > 59 <property name="enabled" > 60 <bool>true</bool> 61 </property> 62 <property name="sizePolicy" > 63 <sizepolicy> 64 <hsizetype>1</hsizetype> 65 <vsizetype>0</vsizetype> 66 <horstretch>1</horstretch> 67 <verstretch>0</verstretch> 68 </sizepolicy> 69 </property> 70 <property name="text" > 71 <string>From &KDE documentation</string> 72 </property> 73 <property name="checked" > 74 <bool>true</bool> 75 </property> 76 <property name="whatsThis" stdset="0" > 77 <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> 78 </property> 79 </widget> 80 </item> 81 <item row="3" column="1" > 82 <widget class="QRadioButton" name="directoryButton" > 83 <property name="enabled" > 84 <bool>true</bool> 85 </property> 86 <property name="sizePolicy" > 87 <sizepolicy> 88 <hsizetype>1</hsizetype> 89 <vsizetype>0</vsizetype> 90 <horstretch>1</horstretch> 91 <verstretch>0</verstretch> 92 </sizepolicy> 93 </property> 94 <property name="text" > 95 <string>From f&older</string> 96 </property> 97 <property name="whatsThis" stdset="0" > 98 <string>If you select this box a new dictionary is created by loading all files in a folder and its subdirectories.</string> 99 </property> 100 </widget> 101 </item> 102 <item rowspan="3" row="1" column="0" colspan="1" > 103 <spacer name="spacer1" > 104 <property name="sizeHint" > 105 <size> 106 <width>20</width> 107 <height>40</height> 108 </size> 109 </property> 110 <property name="sizeType" > 111 <enum>Fixed</enum> 112 </property> 113 <property name="orientation" > 114 <enum>Vertical</enum> 115 </property> 116 </spacer> 117 </item> 118 <item rowspan="1" row="5" column="0" colspan="2" > 119 <widget class="QRadioButton" name="emptyButton" > 120 <property name="text" > 121 <string>Create an &empty wordlist</string> 122 </property> 123 <property name="whatsThis" stdset="0" > 124 <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> 125 </property> 126 </widget> 127 </item> 128 </layout> 129 </widget> 130 <connections> 131 <connection> 132 <sender>createButton</sender> 133 <signal>toggled(bool)</signal> 134 <receiver>kdeDocButton</receiver> 135 <slot>setEnabled(bool)</slot> 136 </connection> 137 <connection> 138 <sender>createButton</sender> 139 <signal>toggled(bool)</signal> 140 <receiver>fileButton</receiver> 141 <slot>setEnabled(bool)</slot> 142 </connection> 143 <connection> 144 <sender>createButton</sender> 145 <signal>toggled(bool)</signal> 146 <receiver>directoryButton</receiver> 147 <slot>setEnabled(bool)</slot> 148 </connection> 149 </connections> 150</ui> 151