|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric4.Project.TranslationPropertiesDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background:white; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #4FA4FF; } |
|
14 h2 { color: white; background: #4FA4FF; } |
|
15 h3 { color: white; background: #00557F; } |
|
16 h4 { color: white; background: #00557F; } |
|
17 |
|
18 a { color: #AA5500; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric4.Project.TranslationPropertiesDialog</h1> |
|
24 <p> |
|
25 Module implementing the Translations Properties dialog. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#TranslationPropertiesDialog">TranslationPropertiesDialog</a></td> |
|
35 <td>Class implementing the Translations Properties dialog.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="TranslationPropertiesDialog" ID="TranslationPropertiesDialog"></a> |
|
44 <h2>TranslationPropertiesDialog</h2> |
|
45 <p> |
|
46 Class implementing the Translations Properties dialog. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_TranslationPropertiesDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#TranslationPropertiesDialog.__init__">TranslationPropertiesDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#TranslationPropertiesDialog.initDialog">initDialog</a></td> |
|
61 <td>Public method to initialize the dialogs data.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#TranslationPropertiesDialog.initFilters">initFilters</a></td> |
|
64 <td>Public method to initialize the filters.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#TranslationPropertiesDialog.on_addExceptionButton_clicked">on_addExceptionButton_clicked</a></td> |
|
67 <td>Private slot to add the shown exception to the listwidget.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#TranslationPropertiesDialog.on_deleteExceptionButton_clicked">on_deleteExceptionButton_clicked</a></td> |
|
70 <td>Private slot to delete the currently selected entry of the listwidget.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#TranslationPropertiesDialog.on_exceptDirButton_clicked">on_exceptDirButton_clicked</a></td> |
|
73 <td>Private slot to select a file to exempt from translation.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#TranslationPropertiesDialog.on_exceptFileButton_clicked">on_exceptFileButton_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_exceptionEdit_textChanged">on_exceptionEdit_textChanged</a></td> |
|
79 <td>Private slot to handle the textChanged signal of the exception edit.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#TranslationPropertiesDialog.on_exceptionsList_currentRowChanged">on_exceptionsList_currentRowChanged</a></td> |
|
82 <td>Private slot to handle the currentRowChanged signal of the exceptions list.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#TranslationPropertiesDialog.on_transBinPathButton_clicked">on_transBinPathButton_clicked</a></td> |
|
85 <td>Private slot to display a directory selection dialog.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#TranslationPropertiesDialog.on_transPatternButton_clicked">on_transPatternButton_clicked</a></td> |
|
88 <td>Private slot to display a file selection dialog.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#TranslationPropertiesDialog.on_transPatternEdit_textChanged">on_transPatternEdit_textChanged</a></td> |
|
91 <td>Private slot to check the translation pattern for correctness.</td> |
|
92 </tr><tr> |
|
93 <td><a href="#TranslationPropertiesDialog.storeData">storeData</a></td> |
|
94 <td>Public method to store the entered/modified data.</td> |
|
95 </tr> |
|
96 </table> |
|
97 <a NAME="TranslationPropertiesDialog.__init__" ID="TranslationPropertiesDialog.__init__"></a> |
|
98 <h4>TranslationPropertiesDialog (Constructor)</h4> |
|
99 <b>TranslationPropertiesDialog</b>(<i>project, new, parent</i>) |
|
100 <p> |
|
101 Constructor |
|
102 </p><dl> |
|
103 <dt><i>project</i></dt> |
|
104 <dd> |
|
105 reference to the project object |
|
106 </dd><dt><i>new</i></dt> |
|
107 <dd> |
|
108 flag indicating the generation of a new project |
|
109 </dd><dt><i>parent</i></dt> |
|
110 <dd> |
|
111 parent widget of this dialog (QWidget) |
|
112 </dd> |
|
113 </dl><a NAME="TranslationPropertiesDialog.initDialog" ID="TranslationPropertiesDialog.initDialog"></a> |
|
114 <h4>TranslationPropertiesDialog.initDialog</h4> |
|
115 <b>initDialog</b>(<i></i>) |
|
116 <p> |
|
117 Public method to initialize the dialogs data. |
|
118 </p><a NAME="TranslationPropertiesDialog.initFilters" ID="TranslationPropertiesDialog.initFilters"></a> |
|
119 <h4>TranslationPropertiesDialog.initFilters</h4> |
|
120 <b>initFilters</b>(<i></i>) |
|
121 <p> |
|
122 Public method to initialize the filters. |
|
123 </p><a NAME="TranslationPropertiesDialog.on_addExceptionButton_clicked" ID="TranslationPropertiesDialog.on_addExceptionButton_clicked"></a> |
|
124 <h4>TranslationPropertiesDialog.on_addExceptionButton_clicked</h4> |
|
125 <b>on_addExceptionButton_clicked</b>(<i></i>) |
|
126 <p> |
|
127 Private slot to add the shown exception to the listwidget. |
|
128 </p><a NAME="TranslationPropertiesDialog.on_deleteExceptionButton_clicked" ID="TranslationPropertiesDialog.on_deleteExceptionButton_clicked"></a> |
|
129 <h4>TranslationPropertiesDialog.on_deleteExceptionButton_clicked</h4> |
|
130 <b>on_deleteExceptionButton_clicked</b>(<i></i>) |
|
131 <p> |
|
132 Private slot to delete the currently selected entry of the listwidget. |
|
133 </p><a NAME="TranslationPropertiesDialog.on_exceptDirButton_clicked" ID="TranslationPropertiesDialog.on_exceptDirButton_clicked"></a> |
|
134 <h4>TranslationPropertiesDialog.on_exceptDirButton_clicked</h4> |
|
135 <b>on_exceptDirButton_clicked</b>(<i></i>) |
|
136 <p> |
|
137 Private slot to select a file to exempt from translation. |
|
138 </p><a NAME="TranslationPropertiesDialog.on_exceptFileButton_clicked" ID="TranslationPropertiesDialog.on_exceptFileButton_clicked"></a> |
|
139 <h4>TranslationPropertiesDialog.on_exceptFileButton_clicked</h4> |
|
140 <b>on_exceptFileButton_clicked</b>(<i></i>) |
|
141 <p> |
|
142 Private slot to select a file to exempt from translation. |
|
143 </p><a NAME="TranslationPropertiesDialog.on_exceptionEdit_textChanged" ID="TranslationPropertiesDialog.on_exceptionEdit_textChanged"></a> |
|
144 <h4>TranslationPropertiesDialog.on_exceptionEdit_textChanged</h4> |
|
145 <b>on_exceptionEdit_textChanged</b>(<i>txt</i>) |
|
146 <p> |
|
147 Private slot to handle the textChanged signal of the exception edit. |
|
148 </p><dl> |
|
149 <dt><i>txt</i></dt> |
|
150 <dd> |
|
151 the text of the exception edit (string) |
|
152 </dd> |
|
153 </dl><a NAME="TranslationPropertiesDialog.on_exceptionsList_currentRowChanged" ID="TranslationPropertiesDialog.on_exceptionsList_currentRowChanged"></a> |
|
154 <h4>TranslationPropertiesDialog.on_exceptionsList_currentRowChanged</h4> |
|
155 <b>on_exceptionsList_currentRowChanged</b>(<i>row</i>) |
|
156 <p> |
|
157 Private slot to handle the currentRowChanged signal of the exceptions list. |
|
158 </p><dl> |
|
159 <dt><i>row</i></dt> |
|
160 <dd> |
|
161 the current row (integer) |
|
162 </dd> |
|
163 </dl><a NAME="TranslationPropertiesDialog.on_transBinPathButton_clicked" ID="TranslationPropertiesDialog.on_transBinPathButton_clicked"></a> |
|
164 <h4>TranslationPropertiesDialog.on_transBinPathButton_clicked</h4> |
|
165 <b>on_transBinPathButton_clicked</b>(<i></i>) |
|
166 <p> |
|
167 Private slot to display a directory selection dialog. |
|
168 </p><a NAME="TranslationPropertiesDialog.on_transPatternButton_clicked" ID="TranslationPropertiesDialog.on_transPatternButton_clicked"></a> |
|
169 <h4>TranslationPropertiesDialog.on_transPatternButton_clicked</h4> |
|
170 <b>on_transPatternButton_clicked</b>(<i></i>) |
|
171 <p> |
|
172 Private slot to display a file selection dialog. |
|
173 </p><a NAME="TranslationPropertiesDialog.on_transPatternEdit_textChanged" ID="TranslationPropertiesDialog.on_transPatternEdit_textChanged"></a> |
|
174 <h4>TranslationPropertiesDialog.on_transPatternEdit_textChanged</h4> |
|
175 <b>on_transPatternEdit_textChanged</b>(<i>txt</i>) |
|
176 <p> |
|
177 Private slot to check the translation pattern for correctness. |
|
178 </p><dl> |
|
179 <dt><i>txt</i></dt> |
|
180 <dd> |
|
181 text of the transPatternEdit lineedit (string) |
|
182 </dd> |
|
183 </dl><a NAME="TranslationPropertiesDialog.storeData" ID="TranslationPropertiesDialog.storeData"></a> |
|
184 <h4>TranslationPropertiesDialog.storeData</h4> |
|
185 <b>storeData</b>(<i></i>) |
|
186 <p> |
|
187 Public method to store the entered/modified data. |
|
188 </p> |
|
189 <div align="right"><a href="#top">Up</a></div> |
|
190 <hr /> |
|
191 </body></html> |