ProjectFlask/Documentation/source/Plugin_Project_Flask.ProjectFlask.FlaskBabelExtension.PyBabelConfigDialog.html

changeset 19
f8e3c1676f9b
child 37
1bd8d19a3aa7
equal deleted inserted replaced
18:d76a0939be6a 19:f8e3c1676f9b
1 <!DOCTYPE html>
2 <html><head>
3 <title>Plugin_Project_Flask.ProjectFlask.FlaskBabelExtension.PyBabelConfigDialog</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>Plugin_Project_Flask.ProjectFlask.FlaskBabelExtension.PyBabelConfigDialog</h1>
24
25 <p>
26 Module implementing a dialog to edit the PyBabel configuration.
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="#PyBabelConfigDialog">PyBabelConfigDialog</a></td>
39 <td>Class implementing a dialog to edit the PyBabel configuration.</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="PyBabelConfigDialog" ID="PyBabelConfigDialog"></a>
50 <h2>PyBabelConfigDialog</h2>
51
52 <p>
53 Class implementing a dialog to edit the PyBabel configuration.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_PyBabelConfigDialog
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="#PyBabelConfigDialog.__init__">PyBabelConfigDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#PyBabelConfigDialog.__updateCatalogPicker">__updateCatalogPicker</a></td>
77 <td>Private method to update the contents of the catalog picker.</td>
78 </tr>
79 <tr>
80 <td><a href="#PyBabelConfigDialog.__updateOK">__updateOK</a></td>
81 <td>Private method to update the status of the OK button.</td>
82 </tr>
83 <tr>
84 <td><a href="#PyBabelConfigDialog.getConfiguration">getConfiguration</a></td>
85 <td>Public method to get the entered configuration data.</td>
86 </tr>
87 <tr>
88 <td><a href="#PyBabelConfigDialog.on_configFilePicker_textChanged">on_configFilePicker_textChanged</a></td>
89 <td>Private slot to handle a change of the configuration file name.</td>
90 </tr>
91 <tr>
92 <td><a href="#PyBabelConfigDialog.on_domainEdit_textChanged">on_domainEdit_textChanged</a></td>
93 <td>Private slot to handle a change of the translations domain.</td>
94 </tr>
95 <tr>
96 <td><a href="#PyBabelConfigDialog.on_translationsDirectoryPicker_textChanged">on_translationsDirectoryPicker_textChanged</a></td>
97 <td>Private slot to handle a change of the catalog file name.</td>
98 </tr>
99 </table>
100 <h3>Static Methods</h3>
101
102 <table>
103 <tr><td>None</td></tr>
104 </table>
105
106 <a NAME="PyBabelConfigDialog.__init__" ID="PyBabelConfigDialog.__init__"></a>
107 <h4>PyBabelConfigDialog (Constructor)</h4>
108 <b>PyBabelConfigDialog</b>(<i>configuration, parent=None</i>)
109
110 <p>
111 Constructor
112 </p>
113 <dl>
114
115 <dt><i>configuration</i> (dict)</dt>
116 <dd>
117 current pybabel configuration
118 </dd>
119 <dt><i>parent</i> (QWidget)</dt>
120 <dd>
121 reference to the parent widget
122 </dd>
123 </dl>
124 <a NAME="PyBabelConfigDialog.__updateCatalogPicker" ID="PyBabelConfigDialog.__updateCatalogPicker"></a>
125 <h4>PyBabelConfigDialog.__updateCatalogPicker</h4>
126 <b>__updateCatalogPicker</b>(<i></i>)
127
128 <p>
129 Private method to update the contents of the catalog picker.
130 </p>
131 <a NAME="PyBabelConfigDialog.__updateOK" ID="PyBabelConfigDialog.__updateOK"></a>
132 <h4>PyBabelConfigDialog.__updateOK</h4>
133 <b>__updateOK</b>(<i></i>)
134
135 <p>
136 Private method to update the status of the OK button.
137 </p>
138 <a NAME="PyBabelConfigDialog.getConfiguration" ID="PyBabelConfigDialog.getConfiguration"></a>
139 <h4>PyBabelConfigDialog.getConfiguration</h4>
140 <b>getConfiguration</b>(<i></i>)
141
142 <p>
143 Public method to get the entered configuration data.
144 </p>
145 <dl>
146 <dt>Returns:</dt>
147 <dd>
148 pybabel configuration
149 </dd>
150 </dl>
151 <dl>
152 <dt>Return Type:</dt>
153 <dd>
154 dict
155 </dd>
156 </dl>
157 <a NAME="PyBabelConfigDialog.on_configFilePicker_textChanged" ID="PyBabelConfigDialog.on_configFilePicker_textChanged"></a>
158 <h4>PyBabelConfigDialog.on_configFilePicker_textChanged</h4>
159 <b>on_configFilePicker_textChanged</b>(<i>txt</i>)
160
161 <p>
162 Private slot to handle a change of the configuration file name.
163 </p>
164 <dl>
165
166 <dt><i>txt</i> (str)</dt>
167 <dd>
168 configuration file name
169 </dd>
170 </dl>
171 <a NAME="PyBabelConfigDialog.on_domainEdit_textChanged" ID="PyBabelConfigDialog.on_domainEdit_textChanged"></a>
172 <h4>PyBabelConfigDialog.on_domainEdit_textChanged</h4>
173 <b>on_domainEdit_textChanged</b>(<i>txt</i>)
174
175 <p>
176 Private slot to handle a change of the translations domain.
177 </p>
178 <dl>
179
180 <dt><i>txt</i> (str)</dt>
181 <dd>
182 entered translations domain
183 </dd>
184 </dl>
185 <a NAME="PyBabelConfigDialog.on_translationsDirectoryPicker_textChanged" ID="PyBabelConfigDialog.on_translationsDirectoryPicker_textChanged"></a>
186 <h4>PyBabelConfigDialog.on_translationsDirectoryPicker_textChanged</h4>
187 <b>on_translationsDirectoryPicker_textChanged</b>(<i>txt</i>)
188
189 <p>
190 Private slot to handle a change of the catalog file name.
191 </p>
192 <dl>
193
194 <dt><i>txt</i> (str)</dt>
195 <dd>
196 configuration file name
197 </dd>
198 </dl>
199 <div align="right"><a href="#top">Up</a></div>
200 <hr />
201 </body></html>

eric ide

mercurial