Project/TranslationPropertiesDialog.ui

changeset 42
23b45a742e17
parent 0
de9c2efb9d02
child 3186
a05eff845522
equal deleted inserted replaced
41:572a009369f0 42:23b45a742e17
1 <ui version="4.0" > 1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
2 <class>TranslationPropertiesDialog</class> 3 <class>TranslationPropertiesDialog</class>
3 <widget class="QDialog" name="TranslationPropertiesDialog" > 4 <widget class="QDialog" name="TranslationPropertiesDialog">
4 <property name="geometry" > 5 <property name="geometry">
5 <rect> 6 <rect>
6 <x>0</x> 7 <x>0</x>
7 <y>0</y> 8 <y>0</y>
8 <width>592</width> 9 <width>592</width>
9 <height>543</height> 10 <height>543</height>
10 </rect> 11 </rect>
11 </property> 12 </property>
12 <property name="windowTitle" > 13 <property name="windowTitle">
13 <string>Translation Properties</string> 14 <string>Translation Properties</string>
14 </property> 15 </property>
15 <property name="sizeGripEnabled" > 16 <property name="sizeGripEnabled">
16 <bool>true</bool> 17 <bool>true</bool>
17 </property> 18 </property>
18 <layout class="QVBoxLayout" name="_2" > 19 <layout class="QVBoxLayout" name="_2">
19 <item> 20 <item>
20 <layout class="QGridLayout" name="_3" > 21 <layout class="QGridLayout" name="_3">
21 <item row="3" column="1" > 22 <item row="3" column="1">
22 <widget class="QPushButton" name="transBinPathButton" > 23 <widget class="QPushButton" name="transBinPathButton">
23 <property name="toolTip" > 24 <property name="toolTip">
24 <string>Show directory selection dialog</string> 25 <string>Show directory selection dialog</string>
25 </property> 26 </property>
26 <property name="whatsThis" > 27 <property name="whatsThis">
27 <string>&lt;b>Binary Translations Path&lt;/b> 28 <string>&lt;b&gt;Binary Translations Path&lt;/b&gt;
28 &lt;p>Select the directory for the binary translations via a directory selection dialog.&lt;/p></string> 29 &lt;p&gt;Select the directory for the binary translations via a directory selection dialog.&lt;/p&gt;</string>
29 </property> 30 </property>
30 <property name="text" > 31 <property name="text">
31 <string>...</string> 32 <string>...</string>
32 </property> 33 </property>
33 </widget> 34 </widget>
34 </item> 35 </item>
35 <item row="3" column="0" > 36 <item row="3" column="0">
36 <widget class="QLineEdit" name="transBinPathEdit" > 37 <widget class="QLineEdit" name="transBinPathEdit">
37 <property name="toolTip" > 38 <property name="toolTip">
38 <string>Enter the path for the binary translation files (*.qm)</string> 39 <string>Enter the path for the binary translation files (*.qm)</string>
39 </property> 40 </property>
40 <property name="whatsThis" > 41 <property name="whatsThis">
41 <string>&lt;b>Binary Translations Path&lt;/b> 42 <string>&lt;b&gt;Binary Translations Path&lt;/b&gt;
42 &lt;p>Enter the directory for the binary translation files (*.qm). Leave it empty to store them together with the *.ts files.&lt;/p></string> 43 &lt;p&gt;Enter the directory for the binary translation files (*.qm). Leave it empty to store them together with the *.ts files.&lt;/p&gt;</string>
43 </property> 44 </property>
44 </widget> 45 </widget>
45 </item> 46 </item>
46 <item row="1" column="1" > 47 <item row="1" column="1">
47 <widget class="QPushButton" name="transPatternButton" > 48 <widget class="QPushButton" name="transPatternButton">
48 <property name="toolTip" > 49 <property name="toolTip">
49 <string>Show directory selection dialog</string> 50 <string>Show directory selection dialog</string>
50 </property> 51 </property>
51 <property name="whatsThis" > 52 <property name="whatsThis">
52 <string>&lt;b>Translation Pattern&lt;/b> 53 <string>&lt;b&gt;Translation Pattern&lt;/b&gt;
53 &lt;p>Select a translation file via a file selection dialog.&lt;/p></string> 54 &lt;p&gt;Select a translation file via a file selection dialog.&lt;/p&gt;</string>
54 </property> 55 </property>
55 <property name="text" > 56 <property name="text">
56 <string>...</string> 57 <string>...</string>
57 </property> 58 </property>
58 </widget> 59 </widget>
59 </item> 60 </item>
60 <item row="2" column="0" colspan="2" > 61 <item row="2" column="0" colspan="2">
61 <widget class="QLabel" name="label" > 62 <widget class="QLabel" name="label">
62 <property name="text" > 63 <property name="text">
63 <string>&amp;Binary Translations Path:</string> 64 <string>&amp;Binary Translations Path:</string>
64 </property> 65 </property>
65 <property name="buddy" > 66 <property name="buddy">
66 <cstring>transBinPathEdit</cstring> 67 <cstring>transBinPathEdit</cstring>
67 </property> 68 </property>
68 </widget> 69 </widget>
69 </item> 70 </item>
70 <item row="1" column="0" > 71 <item row="1" column="0">
71 <widget class="QLineEdit" name="transPatternEdit" > 72 <widget class="QLineEdit" name="transPatternEdit">
72 <property name="toolTip" > 73 <property name="toolTip">
73 <string>Enter the path pattern for the translation files</string> 74 <string>Enter the path pattern for the translation files</string>
74 </property> 75 </property>
75 <property name="whatsThis" > 76 <property name="whatsThis">
76 <string>&lt;b>Translation Pattern&lt;/b> 77 <string>&lt;b&gt;Translation Pattern&lt;/b&gt;
77 &lt;p>Enter the path pattern for the translation files using %language% at the place of the language code (e.g. /path_to_eric/i18n/eric4_%language%.ts). This will result in translation files like /path_to_eric/i18n/eric_de.ts.&lt;/p></string> 78 &lt;p&gt;Enter the path pattern for the translation files using %language% at the place of the language code (e.g. /path_to_eric/i18n/eric5_%language%.ts). This will result in translation files like /path_to_eric/i18n/eric5_de.ts.&lt;/p&gt;</string>
78 </property> 79 </property>
79 </widget> 80 </widget>
80 </item> 81 </item>
81 <item row="0" column="0" colspan="2" > 82 <item row="0" column="0" colspan="2">
82 <widget class="QLabel" name="textLabel1_3" > 83 <widget class="QLabel" name="textLabel1_3">
83 <property name="text" > 84 <property name="text">
84 <string>&amp;Translation Path Pattern: 85 <string>&amp;Translation Path Pattern:
85 (Use '%language%' where the language code should be inserted, e.g. i18n/eric4_%language%.ts)</string> 86 (Use '%language%' where the language code should be inserted, e.g. i18n/eric5_%language%.ts)</string>
86 </property> 87 </property>
87 <property name="wordWrap" > 88 <property name="wordWrap">
88 <bool>true</bool> 89 <bool>true</bool>
89 </property> 90 </property>
90 <property name="buddy" > 91 <property name="buddy">
91 <cstring>transPatternEdit</cstring> 92 <cstring>transPatternEdit</cstring>
92 </property> 93 </property>
93 </widget> 94 </widget>
94 </item> 95 </item>
95 </layout> 96 </layout>
96 </item> 97 </item>
97 <item> 98 <item>
98 <widget class="QGroupBox" name="exceptionsGroup" > 99 <widget class="QGroupBox" name="exceptionsGroup">
99 <property name="title" > 100 <property name="title">
100 <string>Exclude from translation</string> 101 <string>Exclude from translation</string>
101 </property> 102 </property>
102 <layout class="QGridLayout" name="_4" > 103 <layout class="QGridLayout" name="_4">
103 <item row="2" column="3" > 104 <item row="2" column="3">
104 <widget class="QPushButton" name="exceptDirButton" > 105 <widget class="QPushButton" name="exceptDirButton">
105 <property name="toolTip" > 106 <property name="toolTip">
106 <string>Press to select a directory via a selection dialog</string> 107 <string>Press to select a directory via a selection dialog</string>
107 </property> 108 </property>
108 <property name="text" > 109 <property name="text">
109 <string>Select d&amp;irectory...</string> 110 <string>Select d&amp;irectory...</string>
110 </property> 111 </property>
111 </widget> 112 </widget>
112 </item> 113 </item>
113 <item row="2" column="2" > 114 <item row="2" column="2">
114 <widget class="QPushButton" name="exceptFileButton" > 115 <widget class="QPushButton" name="exceptFileButton">
115 <property name="toolTip" > 116 <property name="toolTip">
116 <string>Press to select a file via a selection dialog</string> 117 <string>Press to select a file via a selection dialog</string>
117 </property> 118 </property>
118 <property name="text" > 119 <property name="text">
119 <string>Select &amp;file...</string> 120 <string>Select &amp;file...</string>
120 </property> 121 </property>
121 </widget> 122 </widget>
122 </item> 123 </item>
123 <item row="2" column="1" > 124 <item row="2" column="1">
124 <widget class="QPushButton" name="addExceptionButton" > 125 <widget class="QPushButton" name="addExceptionButton">
125 <property name="enabled" > 126 <property name="enabled">
126 <bool>false</bool> 127 <bool>false</bool>
127 </property> 128 </property>
128 <property name="toolTip" > 129 <property name="toolTip">
129 <string>Press to add the entered path or file to the list</string> 130 <string>Press to add the entered path or file to the list</string>
130 </property> 131 </property>
131 <property name="text" > 132 <property name="text">
132 <string>&amp;Add</string> 133 <string>&amp;Add</string>
133 </property> 134 </property>
134 </widget> 135 </widget>
135 </item> 136 </item>
136 <item row="2" column="0" > 137 <item row="2" column="0">
137 <widget class="QPushButton" name="deleteExceptionButton" > 138 <widget class="QPushButton" name="deleteExceptionButton">
138 <property name="enabled" > 139 <property name="enabled">
139 <bool>false</bool> 140 <bool>false</bool>
140 </property> 141 </property>
141 <property name="toolTip" > 142 <property name="toolTip">
142 <string>Press to delete the selected entry from the list</string> 143 <string>Press to delete the selected entry from the list</string>
143 </property> 144 </property>
144 <property name="text" > 145 <property name="text">
145 <string>&amp;Delete</string> 146 <string>&amp;Delete</string>
146 </property> 147 </property>
147 </widget> 148 </widget>
148 </item> 149 </item>
149 <item row="1" column="0" colspan="4" > 150 <item row="1" column="0" colspan="4">
150 <widget class="QLineEdit" name="exceptionEdit" > 151 <widget class="QLineEdit" name="exceptionEdit">
151 <property name="toolTip" > 152 <property name="toolTip">
152 <string>Enter a path or file to be added</string> 153 <string>Enter a path or file to be added</string>
153 </property> 154 </property>
154 </widget> 155 </widget>
155 </item> 156 </item>
156 <item row="0" column="0" colspan="4" > 157 <item row="0" column="0" colspan="4">
157 <widget class="QListWidget" name="exceptionsList" > 158 <widget class="QListWidget" name="exceptionsList">
158 <property name="toolTip" > 159 <property name="toolTip">
159 <string>List of paths or files to excude from translation</string> 160 <string>List of paths or files to excude from translation</string>
160 </property> 161 </property>
161 <property name="alternatingRowColors" > 162 <property name="alternatingRowColors">
162 <bool>true</bool> 163 <bool>true</bool>
163 </property> 164 </property>
164 <property name="sortingEnabled" > 165 <property name="sortingEnabled">
165 <bool>true</bool> 166 <bool>true</bool>
166 </property> 167 </property>
167 </widget> 168 </widget>
168 </item> 169 </item>
169 </layout> 170 </layout>
170 </widget> 171 </widget>
171 </item> 172 </item>
172 <item> 173 <item>
173 <widget class="QDialogButtonBox" name="buttonBox" > 174 <widget class="QDialogButtonBox" name="buttonBox">
174 <property name="orientation" > 175 <property name="orientation">
175 <enum>Qt::Horizontal</enum> 176 <enum>Qt::Horizontal</enum>
176 </property> 177 </property>
177 <property name="standardButtons" > 178 <property name="standardButtons">
178 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> 179 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
179 </property> 180 </property>
180 </widget> 181 </widget>
181 </item> 182 </item>
182 </layout> 183 </layout>
199 <sender>buttonBox</sender> 200 <sender>buttonBox</sender>
200 <signal>accepted()</signal> 201 <signal>accepted()</signal>
201 <receiver>TranslationPropertiesDialog</receiver> 202 <receiver>TranslationPropertiesDialog</receiver>
202 <slot>accept()</slot> 203 <slot>accept()</slot>
203 <hints> 204 <hints>
204 <hint type="sourcelabel" > 205 <hint type="sourcelabel">
205 <x>39</x> 206 <x>39</x>
206 <y>523</y> 207 <y>523</y>
207 </hint> 208 </hint>
208 <hint type="destinationlabel" > 209 <hint type="destinationlabel">
209 <x>39</x> 210 <x>39</x>
210 <y>543</y> 211 <y>543</y>
211 </hint> 212 </hint>
212 </hints> 213 </hints>
213 </connection> 214 </connection>
215 <sender>buttonBox</sender> 216 <sender>buttonBox</sender>
216 <signal>rejected()</signal> 217 <signal>rejected()</signal>
217 <receiver>TranslationPropertiesDialog</receiver> 218 <receiver>TranslationPropertiesDialog</receiver>
218 <slot>reject()</slot> 219 <slot>reject()</slot>
219 <hints> 220 <hints>
220 <hint type="sourcelabel" > 221 <hint type="sourcelabel">
221 <x>110</x> 222 <x>110</x>
222 <y>530</y> 223 <y>530</y>
223 </hint> 224 </hint>
224 <hint type="destinationlabel" > 225 <hint type="destinationlabel">
225 <x>111</x> 226 <x>111</x>
226 <y>543</y> 227 <y>543</y>
227 </hint> 228 </hint>
228 </hints> 229 </hints>
229 </connection> 230 </connection>

eric ide

mercurial