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