eric7/Documentation/Source/eric7.Project.TranslationPropertiesDialog.html

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

eric ide

mercurial