16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Project.TranslationPropertiesDialog</h1> |
23 <h1>eric6.Project.TranslationPropertiesDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the Translations Properties dialog. |
26 Module implementing the Translations Properties dialog. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#TranslationPropertiesDialog">TranslationPropertiesDialog</a></td> |
38 <td><a href="#TranslationPropertiesDialog">TranslationPropertiesDialog</a></td> |
34 <td>Class implementing the Translations Properties dialog.</td> |
39 <td>Class implementing the Translations Properties dialog.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
38 <table> |
43 |
39 <tr><td>None</td></tr> |
44 <table> |
40 </table> |
45 <tr><td>None</td></tr> |
41 <hr /><hr /> |
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
42 <a NAME="TranslationPropertiesDialog" ID="TranslationPropertiesDialog"></a> |
49 <a NAME="TranslationPropertiesDialog" ID="TranslationPropertiesDialog"></a> |
43 <h2>TranslationPropertiesDialog</h2> |
50 <h2>TranslationPropertiesDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing the Translations Properties dialog. |
53 Class implementing the Translations Properties dialog. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QDialog, Ui_TranslationPropertiesDialog |
56 QDialog, Ui_TranslationPropertiesDialog |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
58 <table> |
68 |
|
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#TranslationPropertiesDialog.__init__">TranslationPropertiesDialog</a></td> |
72 <td><a href="#TranslationPropertiesDialog.__init__">TranslationPropertiesDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#TranslationPropertiesDialog.initDialog">initDialog</a></td> |
76 <td><a href="#TranslationPropertiesDialog.initDialog">initDialog</a></td> |
64 <td>Public method to initialize the dialogs data.</td> |
77 <td>Public method to initialize the dialogs data.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#TranslationPropertiesDialog.initFilters">initFilters</a></td> |
80 <td><a href="#TranslationPropertiesDialog.initFilters">initFilters</a></td> |
67 <td>Public method to initialize the filters.</td> |
81 <td>Public method to initialize the filters.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#TranslationPropertiesDialog.on_addExceptionButton_clicked">on_addExceptionButton_clicked</a></td> |
84 <td><a href="#TranslationPropertiesDialog.on_addExceptionButton_clicked">on_addExceptionButton_clicked</a></td> |
70 <td>Private slot to add the shown exception to the listwidget.</td> |
85 <td>Private slot to add the shown exception to the listwidget.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#TranslationPropertiesDialog.on_deleteExceptionButton_clicked">on_deleteExceptionButton_clicked</a></td> |
88 <td><a href="#TranslationPropertiesDialog.on_deleteExceptionButton_clicked">on_deleteExceptionButton_clicked</a></td> |
73 <td>Private slot to delete the currently selected entry of the listwidget.</td> |
89 <td>Private slot to delete the currently selected entry of the listwidget.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#TranslationPropertiesDialog.on_exceptDirButton_clicked">on_exceptDirButton_clicked</a></td> |
92 <td><a href="#TranslationPropertiesDialog.on_exceptDirButton_clicked">on_exceptDirButton_clicked</a></td> |
76 <td>Private slot to select a file to exempt from translation.</td> |
93 <td>Private slot to select a file to exempt from translation.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#TranslationPropertiesDialog.on_exceptFileButton_clicked">on_exceptFileButton_clicked</a></td> |
96 <td><a href="#TranslationPropertiesDialog.on_exceptFileButton_clicked">on_exceptFileButton_clicked</a></td> |
79 <td>Private slot to select a file to exempt from translation.</td> |
97 <td>Private slot to select a file to exempt from translation.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#TranslationPropertiesDialog.on_exceptionEdit_textChanged">on_exceptionEdit_textChanged</a></td> |
100 <td><a href="#TranslationPropertiesDialog.on_exceptionEdit_textChanged">on_exceptionEdit_textChanged</a></td> |
82 <td>Private slot to handle the textChanged signal of the exception edit.</td> |
101 <td>Private slot to handle the textChanged signal of the exception edit.</td> |
83 </tr><tr> |
102 </tr> |
|
103 <tr> |
84 <td><a href="#TranslationPropertiesDialog.on_exceptionsList_currentRowChanged">on_exceptionsList_currentRowChanged</a></td> |
104 <td><a href="#TranslationPropertiesDialog.on_exceptionsList_currentRowChanged">on_exceptionsList_currentRowChanged</a></td> |
85 <td>Private slot to handle the currentRowChanged signal of the exceptions list.</td> |
105 <td>Private slot to handle the currentRowChanged signal of the exceptions list.</td> |
86 </tr><tr> |
106 </tr> |
|
107 <tr> |
87 <td><a href="#TranslationPropertiesDialog.on_transBinPathPicker_pathSelected">on_transBinPathPicker_pathSelected</a></td> |
108 <td><a href="#TranslationPropertiesDialog.on_transBinPathPicker_pathSelected">on_transBinPathPicker_pathSelected</a></td> |
88 <td>Private slot handling the selection of a binary translations path.</td> |
109 <td>Private slot handling the selection of a binary translations path.</td> |
89 </tr><tr> |
110 </tr> |
|
111 <tr> |
90 <td><a href="#TranslationPropertiesDialog.on_transPatternPicker_pathSelected">on_transPatternPicker_pathSelected</a></td> |
112 <td><a href="#TranslationPropertiesDialog.on_transPatternPicker_pathSelected">on_transPatternPicker_pathSelected</a></td> |
91 <td>Private slot handling the selection of a translation path.</td> |
113 <td>Private slot handling the selection of a translation path.</td> |
92 </tr><tr> |
114 </tr> |
|
115 <tr> |
93 <td><a href="#TranslationPropertiesDialog.on_transPatternPicker_textChanged">on_transPatternPicker_textChanged</a></td> |
116 <td><a href="#TranslationPropertiesDialog.on_transPatternPicker_textChanged">on_transPatternPicker_textChanged</a></td> |
94 <td>Private slot to check the translation pattern for correctness.</td> |
117 <td>Private slot to check the translation pattern for correctness.</td> |
95 </tr><tr> |
118 </tr> |
|
119 <tr> |
96 <td><a href="#TranslationPropertiesDialog.storeData">storeData</a></td> |
120 <td><a href="#TranslationPropertiesDialog.storeData">storeData</a></td> |
97 <td>Public method to store the entered/modified data.</td> |
121 <td>Public method to store the entered/modified data.</td> |
98 </tr> |
122 </tr> |
99 </table> |
123 </table> |
100 <h3>Static Methods</h3> |
124 <h3>Static Methods</h3> |
101 <table> |
125 |
102 <tr><td>None</td></tr> |
126 <table> |
103 </table> |
127 <tr><td>None</td></tr> |
|
128 </table> |
|
129 |
104 <a NAME="TranslationPropertiesDialog.__init__" ID="TranslationPropertiesDialog.__init__"></a> |
130 <a NAME="TranslationPropertiesDialog.__init__" ID="TranslationPropertiesDialog.__init__"></a> |
105 <h4>TranslationPropertiesDialog (Constructor)</h4> |
131 <h4>TranslationPropertiesDialog (Constructor)</h4> |
106 <b>TranslationPropertiesDialog</b>(<i>project, new, parent</i>) |
132 <b>TranslationPropertiesDialog</b>(<i>project, new, parent</i>) |
|
133 |
107 <p> |
134 <p> |
108 Constructor |
135 Constructor |
109 </p><dl> |
136 </p> |
|
137 <dl> |
|
138 |
110 <dt><i>project</i></dt> |
139 <dt><i>project</i></dt> |
111 <dd> |
140 <dd> |
112 reference to the project object |
141 reference to the project object |
113 </dd><dt><i>new</i></dt> |
142 </dd> |
|
143 <dt><i>new</i></dt> |
114 <dd> |
144 <dd> |
115 flag indicating the generation of a new project |
145 flag indicating the generation of a new project |
116 </dd><dt><i>parent</i></dt> |
146 </dd> |
|
147 <dt><i>parent</i></dt> |
117 <dd> |
148 <dd> |
118 parent widget of this dialog (QWidget) |
149 parent widget of this dialog (QWidget) |
119 </dd> |
150 </dd> |
120 </dl><a NAME="TranslationPropertiesDialog.initDialog" ID="TranslationPropertiesDialog.initDialog"></a> |
151 </dl> |
|
152 <a NAME="TranslationPropertiesDialog.initDialog" ID="TranslationPropertiesDialog.initDialog"></a> |
121 <h4>TranslationPropertiesDialog.initDialog</h4> |
153 <h4>TranslationPropertiesDialog.initDialog</h4> |
122 <b>initDialog</b>(<i></i>) |
154 <b>initDialog</b>(<i></i>) |
|
155 |
123 <p> |
156 <p> |
124 Public method to initialize the dialogs data. |
157 Public method to initialize the dialogs data. |
125 </p><a NAME="TranslationPropertiesDialog.initFilters" ID="TranslationPropertiesDialog.initFilters"></a> |
158 </p> |
|
159 <a NAME="TranslationPropertiesDialog.initFilters" ID="TranslationPropertiesDialog.initFilters"></a> |
126 <h4>TranslationPropertiesDialog.initFilters</h4> |
160 <h4>TranslationPropertiesDialog.initFilters</h4> |
127 <b>initFilters</b>(<i></i>) |
161 <b>initFilters</b>(<i></i>) |
|
162 |
128 <p> |
163 <p> |
129 Public method to initialize the filters. |
164 Public method to initialize the filters. |
130 </p><a NAME="TranslationPropertiesDialog.on_addExceptionButton_clicked" ID="TranslationPropertiesDialog.on_addExceptionButton_clicked"></a> |
165 </p> |
|
166 <a NAME="TranslationPropertiesDialog.on_addExceptionButton_clicked" ID="TranslationPropertiesDialog.on_addExceptionButton_clicked"></a> |
131 <h4>TranslationPropertiesDialog.on_addExceptionButton_clicked</h4> |
167 <h4>TranslationPropertiesDialog.on_addExceptionButton_clicked</h4> |
132 <b>on_addExceptionButton_clicked</b>(<i></i>) |
168 <b>on_addExceptionButton_clicked</b>(<i></i>) |
|
169 |
133 <p> |
170 <p> |
134 Private slot to add the shown exception to the listwidget. |
171 Private slot to add the shown exception to the listwidget. |
135 </p><a NAME="TranslationPropertiesDialog.on_deleteExceptionButton_clicked" ID="TranslationPropertiesDialog.on_deleteExceptionButton_clicked"></a> |
172 </p> |
|
173 <a NAME="TranslationPropertiesDialog.on_deleteExceptionButton_clicked" ID="TranslationPropertiesDialog.on_deleteExceptionButton_clicked"></a> |
136 <h4>TranslationPropertiesDialog.on_deleteExceptionButton_clicked</h4> |
174 <h4>TranslationPropertiesDialog.on_deleteExceptionButton_clicked</h4> |
137 <b>on_deleteExceptionButton_clicked</b>(<i></i>) |
175 <b>on_deleteExceptionButton_clicked</b>(<i></i>) |
|
176 |
138 <p> |
177 <p> |
139 Private slot to delete the currently selected entry of the listwidget. |
178 Private slot to delete the currently selected entry of the listwidget. |
140 </p><a NAME="TranslationPropertiesDialog.on_exceptDirButton_clicked" ID="TranslationPropertiesDialog.on_exceptDirButton_clicked"></a> |
179 </p> |
|
180 <a NAME="TranslationPropertiesDialog.on_exceptDirButton_clicked" ID="TranslationPropertiesDialog.on_exceptDirButton_clicked"></a> |
141 <h4>TranslationPropertiesDialog.on_exceptDirButton_clicked</h4> |
181 <h4>TranslationPropertiesDialog.on_exceptDirButton_clicked</h4> |
142 <b>on_exceptDirButton_clicked</b>(<i></i>) |
182 <b>on_exceptDirButton_clicked</b>(<i></i>) |
|
183 |
143 <p> |
184 <p> |
144 Private slot to select a file to exempt from translation. |
185 Private slot to select a file to exempt from translation. |
145 </p><a NAME="TranslationPropertiesDialog.on_exceptFileButton_clicked" ID="TranslationPropertiesDialog.on_exceptFileButton_clicked"></a> |
186 </p> |
|
187 <a NAME="TranslationPropertiesDialog.on_exceptFileButton_clicked" ID="TranslationPropertiesDialog.on_exceptFileButton_clicked"></a> |
146 <h4>TranslationPropertiesDialog.on_exceptFileButton_clicked</h4> |
188 <h4>TranslationPropertiesDialog.on_exceptFileButton_clicked</h4> |
147 <b>on_exceptFileButton_clicked</b>(<i></i>) |
189 <b>on_exceptFileButton_clicked</b>(<i></i>) |
|
190 |
148 <p> |
191 <p> |
149 Private slot to select a file to exempt from translation. |
192 Private slot to select a file to exempt from translation. |
150 </p><a NAME="TranslationPropertiesDialog.on_exceptionEdit_textChanged" ID="TranslationPropertiesDialog.on_exceptionEdit_textChanged"></a> |
193 </p> |
|
194 <a NAME="TranslationPropertiesDialog.on_exceptionEdit_textChanged" ID="TranslationPropertiesDialog.on_exceptionEdit_textChanged"></a> |
151 <h4>TranslationPropertiesDialog.on_exceptionEdit_textChanged</h4> |
195 <h4>TranslationPropertiesDialog.on_exceptionEdit_textChanged</h4> |
152 <b>on_exceptionEdit_textChanged</b>(<i>txt</i>) |
196 <b>on_exceptionEdit_textChanged</b>(<i>txt</i>) |
|
197 |
153 <p> |
198 <p> |
154 Private slot to handle the textChanged signal of the exception edit. |
199 Private slot to handle the textChanged signal of the exception edit. |
155 </p><dl> |
200 </p> |
|
201 <dl> |
|
202 |
156 <dt><i>txt</i></dt> |
203 <dt><i>txt</i></dt> |
157 <dd> |
204 <dd> |
158 the text of the exception edit (string) |
205 the text of the exception edit (string) |
159 </dd> |
206 </dd> |
160 </dl><a NAME="TranslationPropertiesDialog.on_exceptionsList_currentRowChanged" ID="TranslationPropertiesDialog.on_exceptionsList_currentRowChanged"></a> |
207 </dl> |
|
208 <a NAME="TranslationPropertiesDialog.on_exceptionsList_currentRowChanged" ID="TranslationPropertiesDialog.on_exceptionsList_currentRowChanged"></a> |
161 <h4>TranslationPropertiesDialog.on_exceptionsList_currentRowChanged</h4> |
209 <h4>TranslationPropertiesDialog.on_exceptionsList_currentRowChanged</h4> |
162 <b>on_exceptionsList_currentRowChanged</b>(<i>row</i>) |
210 <b>on_exceptionsList_currentRowChanged</b>(<i>row</i>) |
|
211 |
163 <p> |
212 <p> |
164 Private slot to handle the currentRowChanged signal of the exceptions |
213 Private slot to handle the currentRowChanged signal of the exceptions |
165 list. |
214 list. |
166 </p><dl> |
215 </p> |
|
216 <dl> |
|
217 |
167 <dt><i>row</i></dt> |
218 <dt><i>row</i></dt> |
168 <dd> |
219 <dd> |
169 the current row (integer) |
220 the current row (integer) |
170 </dd> |
221 </dd> |
171 </dl><a NAME="TranslationPropertiesDialog.on_transBinPathPicker_pathSelected" ID="TranslationPropertiesDialog.on_transBinPathPicker_pathSelected"></a> |
222 </dl> |
|
223 <a NAME="TranslationPropertiesDialog.on_transBinPathPicker_pathSelected" ID="TranslationPropertiesDialog.on_transBinPathPicker_pathSelected"></a> |
172 <h4>TranslationPropertiesDialog.on_transBinPathPicker_pathSelected</h4> |
224 <h4>TranslationPropertiesDialog.on_transBinPathPicker_pathSelected</h4> |
173 <b>on_transBinPathPicker_pathSelected</b>(<i>path</i>) |
225 <b>on_transBinPathPicker_pathSelected</b>(<i>path</i>) |
|
226 |
174 <p> |
227 <p> |
175 Private slot handling the selection of a binary translations path. |
228 Private slot handling the selection of a binary translations path. |
176 </p><dl> |
229 </p> |
|
230 <dl> |
|
231 |
177 <dt><i>path</i> (str)</dt> |
232 <dt><i>path</i> (str)</dt> |
178 <dd> |
233 <dd> |
179 selected path |
234 selected path |
180 </dd> |
235 </dd> |
181 </dl><a NAME="TranslationPropertiesDialog.on_transPatternPicker_pathSelected" ID="TranslationPropertiesDialog.on_transPatternPicker_pathSelected"></a> |
236 </dl> |
|
237 <a NAME="TranslationPropertiesDialog.on_transPatternPicker_pathSelected" ID="TranslationPropertiesDialog.on_transPatternPicker_pathSelected"></a> |
182 <h4>TranslationPropertiesDialog.on_transPatternPicker_pathSelected</h4> |
238 <h4>TranslationPropertiesDialog.on_transPatternPicker_pathSelected</h4> |
183 <b>on_transPatternPicker_pathSelected</b>(<i>path</i>) |
239 <b>on_transPatternPicker_pathSelected</b>(<i>path</i>) |
|
240 |
184 <p> |
241 <p> |
185 Private slot handling the selection of a translation path. |
242 Private slot handling the selection of a translation path. |
186 </p><dl> |
243 </p> |
|
244 <dl> |
|
245 |
187 <dt><i>path</i> (str)</dt> |
246 <dt><i>path</i> (str)</dt> |
188 <dd> |
247 <dd> |
189 selected path |
248 selected path |
190 </dd> |
249 </dd> |
191 </dl><a NAME="TranslationPropertiesDialog.on_transPatternPicker_textChanged" ID="TranslationPropertiesDialog.on_transPatternPicker_textChanged"></a> |
250 </dl> |
|
251 <a NAME="TranslationPropertiesDialog.on_transPatternPicker_textChanged" ID="TranslationPropertiesDialog.on_transPatternPicker_textChanged"></a> |
192 <h4>TranslationPropertiesDialog.on_transPatternPicker_textChanged</h4> |
252 <h4>TranslationPropertiesDialog.on_transPatternPicker_textChanged</h4> |
193 <b>on_transPatternPicker_textChanged</b>(<i>txt</i>) |
253 <b>on_transPatternPicker_textChanged</b>(<i>txt</i>) |
|
254 |
194 <p> |
255 <p> |
195 Private slot to check the translation pattern for correctness. |
256 Private slot to check the translation pattern for correctness. |
196 </p><dl> |
257 </p> |
|
258 <dl> |
|
259 |
197 <dt><i>txt</i></dt> |
260 <dt><i>txt</i></dt> |
198 <dd> |
261 <dd> |
199 text of the transPatternPicker line edit (string) |
262 text of the transPatternPicker line edit (string) |
200 </dd> |
263 </dd> |
201 </dl><a NAME="TranslationPropertiesDialog.storeData" ID="TranslationPropertiesDialog.storeData"></a> |
264 </dl> |
|
265 <a NAME="TranslationPropertiesDialog.storeData" ID="TranslationPropertiesDialog.storeData"></a> |
202 <h4>TranslationPropertiesDialog.storeData</h4> |
266 <h4>TranslationPropertiesDialog.storeData</h4> |
203 <b>storeData</b>(<i></i>) |
267 <b>storeData</b>(<i></i>) |
|
268 |
204 <p> |
269 <p> |
205 Public method to store the entered/modified data. |
270 Public method to store the entered/modified data. |
206 </p> |
271 </p> |
207 <div align="right"><a href="#top">Up</a></div> |
272 <div align="right"><a href="#top">Up</a></div> |
208 <hr /> |
273 <hr /> |