|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Project.TranslationPropertiesDialog</h1> |
|
23 <p> |
|
24 Module implementing the Translations Properties dialog. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#TranslationPropertiesDialog">TranslationPropertiesDialog</a></td> |
|
34 <td>Class implementing the Translations Properties dialog.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="TranslationPropertiesDialog" ID="TranslationPropertiesDialog"></a> |
|
43 <h2>TranslationPropertiesDialog</h2> |
|
44 <p> |
|
45 Class implementing the Translations Properties dialog. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_TranslationPropertiesDialog |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Class Methods</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#TranslationPropertiesDialog.__init__">TranslationPropertiesDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#TranslationPropertiesDialog.initDialog">initDialog</a></td> |
|
64 <td>Public method to initialize the dialogs data.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#TranslationPropertiesDialog.initFilters">initFilters</a></td> |
|
67 <td>Public method to initialize the filters.</td> |
|
68 </tr><tr> |
|
69 <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> |
|
71 </tr><tr> |
|
72 <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> |
|
74 </tr><tr> |
|
75 <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> |
|
77 </tr><tr> |
|
78 <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> |
|
80 </tr><tr> |
|
81 <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> |
|
83 </tr><tr> |
|
84 <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> |
|
86 </tr><tr> |
|
87 <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> |
|
89 </tr><tr> |
|
90 <td><a href="#TranslationPropertiesDialog.on_transPatternPicker_pathSelected">on_transPatternPicker_pathSelected</a></td> |
|
91 <td>Private slot handling the selection of a translation path.</td> |
|
92 </tr><tr> |
|
93 <td><a href="#TranslationPropertiesDialog.on_transPatternPicker_textChanged">on_transPatternPicker_textChanged</a></td> |
|
94 <td>Private slot to check the translation pattern for correctness.</td> |
|
95 </tr><tr> |
|
96 <td><a href="#TranslationPropertiesDialog.storeData">storeData</a></td> |
|
97 <td>Public method to store the entered/modified data.</td> |
|
98 </tr> |
|
99 </table> |
|
100 <h3>Static Methods</h3> |
|
101 <table> |
|
102 <tr><td>None</td></tr> |
|
103 </table> |
|
104 <a NAME="TranslationPropertiesDialog.__init__" ID="TranslationPropertiesDialog.__init__"></a> |
|
105 <h4>TranslationPropertiesDialog (Constructor)</h4> |
|
106 <b>TranslationPropertiesDialog</b>(<i>project, new, parent</i>) |
|
107 <p> |
|
108 Constructor |
|
109 </p><dl> |
|
110 <dt><i>project</i></dt> |
|
111 <dd> |
|
112 reference to the project object |
|
113 </dd><dt><i>new</i></dt> |
|
114 <dd> |
|
115 flag indicating the generation of a new project |
|
116 </dd><dt><i>parent</i></dt> |
|
117 <dd> |
|
118 parent widget of this dialog (QWidget) |
|
119 </dd> |
|
120 </dl><a NAME="TranslationPropertiesDialog.initDialog" ID="TranslationPropertiesDialog.initDialog"></a> |
|
121 <h4>TranslationPropertiesDialog.initDialog</h4> |
|
122 <b>initDialog</b>(<i></i>) |
|
123 <p> |
|
124 Public method to initialize the dialogs data. |
|
125 </p><a NAME="TranslationPropertiesDialog.initFilters" ID="TranslationPropertiesDialog.initFilters"></a> |
|
126 <h4>TranslationPropertiesDialog.initFilters</h4> |
|
127 <b>initFilters</b>(<i></i>) |
|
128 <p> |
|
129 Public method to initialize the filters. |
|
130 </p><a NAME="TranslationPropertiesDialog.on_addExceptionButton_clicked" ID="TranslationPropertiesDialog.on_addExceptionButton_clicked"></a> |
|
131 <h4>TranslationPropertiesDialog.on_addExceptionButton_clicked</h4> |
|
132 <b>on_addExceptionButton_clicked</b>(<i></i>) |
|
133 <p> |
|
134 Private slot to add the shown exception to the listwidget. |
|
135 </p><a NAME="TranslationPropertiesDialog.on_deleteExceptionButton_clicked" ID="TranslationPropertiesDialog.on_deleteExceptionButton_clicked"></a> |
|
136 <h4>TranslationPropertiesDialog.on_deleteExceptionButton_clicked</h4> |
|
137 <b>on_deleteExceptionButton_clicked</b>(<i></i>) |
|
138 <p> |
|
139 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> |
|
141 <h4>TranslationPropertiesDialog.on_exceptDirButton_clicked</h4> |
|
142 <b>on_exceptDirButton_clicked</b>(<i></i>) |
|
143 <p> |
|
144 Private slot to select a file to exempt from translation. |
|
145 </p><a NAME="TranslationPropertiesDialog.on_exceptFileButton_clicked" ID="TranslationPropertiesDialog.on_exceptFileButton_clicked"></a> |
|
146 <h4>TranslationPropertiesDialog.on_exceptFileButton_clicked</h4> |
|
147 <b>on_exceptFileButton_clicked</b>(<i></i>) |
|
148 <p> |
|
149 Private slot to select a file to exempt from translation. |
|
150 </p><a NAME="TranslationPropertiesDialog.on_exceptionEdit_textChanged" ID="TranslationPropertiesDialog.on_exceptionEdit_textChanged"></a> |
|
151 <h4>TranslationPropertiesDialog.on_exceptionEdit_textChanged</h4> |
|
152 <b>on_exceptionEdit_textChanged</b>(<i>txt</i>) |
|
153 <p> |
|
154 Private slot to handle the textChanged signal of the exception edit. |
|
155 </p><dl> |
|
156 <dt><i>txt</i></dt> |
|
157 <dd> |
|
158 the text of the exception edit (string) |
|
159 </dd> |
|
160 </dl><a NAME="TranslationPropertiesDialog.on_exceptionsList_currentRowChanged" ID="TranslationPropertiesDialog.on_exceptionsList_currentRowChanged"></a> |
|
161 <h4>TranslationPropertiesDialog.on_exceptionsList_currentRowChanged</h4> |
|
162 <b>on_exceptionsList_currentRowChanged</b>(<i>row</i>) |
|
163 <p> |
|
164 Private slot to handle the currentRowChanged signal of the exceptions |
|
165 list. |
|
166 </p><dl> |
|
167 <dt><i>row</i></dt> |
|
168 <dd> |
|
169 the current row (integer) |
|
170 </dd> |
|
171 </dl><a NAME="TranslationPropertiesDialog.on_transBinPathPicker_pathSelected" ID="TranslationPropertiesDialog.on_transBinPathPicker_pathSelected"></a> |
|
172 <h4>TranslationPropertiesDialog.on_transBinPathPicker_pathSelected</h4> |
|
173 <b>on_transBinPathPicker_pathSelected</b>(<i>path</i>) |
|
174 <p> |
|
175 Private slot handling the selection of a binary translations path. |
|
176 </p><dl> |
|
177 <dt><i>path</i> (str)</dt> |
|
178 <dd> |
|
179 selected path |
|
180 </dd> |
|
181 </dl><a NAME="TranslationPropertiesDialog.on_transPatternPicker_pathSelected" ID="TranslationPropertiesDialog.on_transPatternPicker_pathSelected"></a> |
|
182 <h4>TranslationPropertiesDialog.on_transPatternPicker_pathSelected</h4> |
|
183 <b>on_transPatternPicker_pathSelected</b>(<i>path</i>) |
|
184 <p> |
|
185 Private slot handling the selection of a translation path. |
|
186 </p><dl> |
|
187 <dt><i>path</i> (str)</dt> |
|
188 <dd> |
|
189 selected path |
|
190 </dd> |
|
191 </dl><a NAME="TranslationPropertiesDialog.on_transPatternPicker_textChanged" ID="TranslationPropertiesDialog.on_transPatternPicker_textChanged"></a> |
|
192 <h4>TranslationPropertiesDialog.on_transPatternPicker_textChanged</h4> |
|
193 <b>on_transPatternPicker_textChanged</b>(<i>txt</i>) |
|
194 <p> |
|
195 Private slot to check the translation pattern for correctness. |
|
196 </p><dl> |
|
197 <dt><i>txt</i></dt> |
|
198 <dd> |
|
199 text of the transPatternPicker line edit (string) |
|
200 </dd> |
|
201 </dl><a NAME="TranslationPropertiesDialog.storeData" ID="TranslationPropertiesDialog.storeData"></a> |
|
202 <h4>TranslationPropertiesDialog.storeData</h4> |
|
203 <b>storeData</b>(<i></i>) |
|
204 <p> |
|
205 Public method to store the entered/modified data. |
|
206 </p> |
|
207 <div align="right"><a href="#top">Up</a></div> |
|
208 <hr /> |
|
209 </body></html> |