39 fields. |
43 fields. |
40 </p> |
44 </p> |
41 |
45 |
42 <h3>Derived from</h3> |
46 <h3>Derived from</h3> |
43 QObject |
47 QObject |
|
48 <h3>Class Attributes</h3> |
|
49 <table> |
|
50 <tr><td>None</td></tr> |
|
51 </table> |
|
52 |
|
53 <h3>Class Methods</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 |
|
58 <h3>Methods</h3> |
|
59 <table> |
|
60 <tr> |
|
61 <td><a href="#PersonalInformationManager.__init__">PersonalInformationManager</a></td> |
|
62 <td>Constructor</td> |
|
63 </tr> |
|
64 <tr> |
|
65 <td><a href="#PersonalInformationManager.__insertData">__insertData</a></td> |
|
66 <td>Private slot to insert the selected personal information.</td> |
|
67 </tr> |
|
68 <tr> |
|
69 <td><a href="#PersonalInformationManager.__loadSettings">__loadSettings</a></td> |
|
70 <td>Private method to load the settings.</td> |
|
71 </tr> |
|
72 <tr> |
|
73 <td><a href="#PersonalInformationManager.__matchingJsTable">__matchingJsTable</a></td> |
|
74 <td>Private method to create the common part of the JavaScript sources.</td> |
|
75 </tr> |
|
76 <tr> |
|
77 <td><a href="#PersonalInformationManager.__pageLoadFinished">__pageLoadFinished</a></td> |
|
78 <td>Private slot to handle the completion of a page load.</td> |
|
79 </tr> |
|
80 <tr> |
|
81 <td><a href="#PersonalInformationManager.connectPage">connectPage</a></td> |
|
82 <td>Public method to allow the personal information manager to connect to the page.</td> |
|
83 </tr> |
|
84 <tr> |
|
85 <td><a href="#PersonalInformationManager.createSubMenu">createSubMenu</a></td> |
|
86 <td>Public method to create the personal information sub-menu.</td> |
|
87 </tr> |
|
88 <tr> |
|
89 <td><a href="#PersonalInformationManager.showConfigurationDialog">showConfigurationDialog</a></td> |
|
90 <td>Public method to show the configuration dialog.</td> |
|
91 </tr> |
|
92 <tr> |
|
93 <td><a href="#PersonalInformationManager.viewKeyPressEvent">viewKeyPressEvent</a></td> |
|
94 <td>Protected method to handle key press events we are interested in.</td> |
|
95 </tr> |
|
96 </table> |
|
97 |
|
98 <h3>Static Methods</h3> |
|
99 <table> |
|
100 <tr><td>None</td></tr> |
|
101 </table> |
|
102 |
|
103 |
|
104 <a NAME="PersonalInformationManager.__init__" ID="PersonalInformationManager.__init__"></a> |
|
105 <h4>PersonalInformationManager (Constructor)</h4> |
|
106 <b>PersonalInformationManager</b>(<i>parent=None</i>) |
|
107 <p> |
|
108 Constructor |
|
109 </p> |
|
110 |
|
111 <dl> |
|
112 |
|
113 <dt><i>parent</i> (QObject)</dt> |
|
114 <dd> |
|
115 reference to the parent object |
|
116 </dd> |
|
117 </dl> |
|
118 <a NAME="PersonalInformationManager.__insertData" ID="PersonalInformationManager.__insertData"></a> |
|
119 <h4>PersonalInformationManager.__insertData</h4> |
|
120 <b>__insertData</b>(<i>act</i>) |
|
121 <p> |
|
122 Private slot to insert the selected personal information. |
|
123 </p> |
|
124 |
|
125 <dl> |
|
126 |
|
127 <dt><i>act</i> (QAction)</dt> |
|
128 <dd> |
|
129 reference to the action that triggered |
|
130 </dd> |
|
131 </dl> |
|
132 <a NAME="PersonalInformationManager.__loadSettings" ID="PersonalInformationManager.__loadSettings"></a> |
|
133 <h4>PersonalInformationManager.__loadSettings</h4> |
|
134 <b>__loadSettings</b>(<i></i>) |
|
135 <p> |
|
136 Private method to load the settings. |
|
137 </p> |
|
138 |
|
139 <a NAME="PersonalInformationManager.__matchingJsTable" ID="PersonalInformationManager.__matchingJsTable"></a> |
|
140 <h4>PersonalInformationManager.__matchingJsTable</h4> |
|
141 <b>__matchingJsTable</b>(<i></i>) |
|
142 <p> |
|
143 Private method to create the common part of the JavaScript sources. |
|
144 </p> |
|
145 |
|
146 <dl> |
|
147 <dt>Return:</dt> |
|
148 <dd> |
|
149 JavaScript source |
|
150 </dd> |
|
151 </dl> |
|
152 <dl> |
|
153 <dt>Return Type:</dt> |
|
154 <dd> |
|
155 str |
|
156 </dd> |
|
157 </dl> |
|
158 <a NAME="PersonalInformationManager.__pageLoadFinished" ID="PersonalInformationManager.__pageLoadFinished"></a> |
|
159 <h4>PersonalInformationManager.__pageLoadFinished</h4> |
|
160 <b>__pageLoadFinished</b>(<i>ok, page</i>) |
|
161 <p> |
|
162 Private slot to handle the completion of a page load. |
|
163 </p> |
|
164 |
|
165 <dl> |
|
166 |
|
167 <dt><i>ok</i> (bool)</dt> |
|
168 <dd> |
|
169 flag indicating a successful load |
|
170 </dd> |
|
171 <dt><i>page</i> (WebBrowserPage)</dt> |
|
172 <dd> |
|
173 reference to the web page object |
|
174 </dd> |
|
175 </dl> |
|
176 <a NAME="PersonalInformationManager.connectPage" ID="PersonalInformationManager.connectPage"></a> |
|
177 <h4>PersonalInformationManager.connectPage</h4> |
|
178 <b>connectPage</b>(<i>page</i>) |
|
179 <p> |
|
180 Public method to allow the personal information manager to connect to |
|
181 the page. |
|
182 </p> |
|
183 |
|
184 <dl> |
|
185 |
|
186 <dt><i>page</i> (WebBrowserPage)</dt> |
|
187 <dd> |
|
188 reference to the web page |
|
189 </dd> |
|
190 </dl> |
|
191 <a NAME="PersonalInformationManager.createSubMenu" ID="PersonalInformationManager.createSubMenu"></a> |
|
192 <h4>PersonalInformationManager.createSubMenu</h4> |
|
193 <b>createSubMenu</b>(<i>menu, view, hitTestResult</i>) |
|
194 <p> |
|
195 Public method to create the personal information sub-menu. |
|
196 </p> |
|
197 |
|
198 <dl> |
|
199 |
|
200 <dt><i>menu</i> (QMenu)</dt> |
|
201 <dd> |
|
202 reference to the main menu |
|
203 </dd> |
|
204 <dt><i>view</i> (WebBrowserView)</dt> |
|
205 <dd> |
|
206 reference to the view |
|
207 </dd> |
|
208 <dt><i>hitTestResult</i> (WebHitTestResult)</dt> |
|
209 <dd> |
|
210 reference to the hit test result |
|
211 </dd> |
|
212 </dl> |
|
213 <a NAME="PersonalInformationManager.showConfigurationDialog" ID="PersonalInformationManager.showConfigurationDialog"></a> |
|
214 <h4>PersonalInformationManager.showConfigurationDialog</h4> |
|
215 <b>showConfigurationDialog</b>(<i>parent=None</i>) |
|
216 <p> |
|
217 Public method to show the configuration dialog. |
|
218 </p> |
|
219 |
|
220 <dl> |
|
221 |
|
222 <dt><i>parent</i> (QWidget)</dt> |
|
223 <dd> |
|
224 reference to the parent widget |
|
225 </dd> |
|
226 </dl> |
|
227 <a NAME="PersonalInformationManager.viewKeyPressEvent" ID="PersonalInformationManager.viewKeyPressEvent"></a> |
|
228 <h4>PersonalInformationManager.viewKeyPressEvent</h4> |
|
229 <b>viewKeyPressEvent</b>(<i>view, evt</i>) |
|
230 <p> |
|
231 Protected method to handle key press events we are interested in. |
|
232 </p> |
|
233 |
|
234 <dl> |
|
235 |
|
236 <dt><i>view</i> (WebBrowserView)</dt> |
|
237 <dd> |
|
238 reference to the view |
|
239 </dd> |
|
240 <dt><i>evt</i> (QKeyEvent)</dt> |
|
241 <dd> |
|
242 reference to the key event |
|
243 </dd> |
|
244 </dl> |
|
245 <dl> |
|
246 <dt>Return:</dt> |
|
247 <dd> |
|
248 flag indicating handling of the event |
|
249 </dd> |
|
250 </dl> |
|
251 <dl> |
|
252 <dt>Return Type:</dt> |
|
253 <dd> |
|
254 bool |
|
255 </dd> |
|
256 </dl> |
|
257 <div align="right"><a href="#top">Up</a></div> |
|
258 <hr /> |
|
259 <hr /> |
|
260 <a NAME="PersonalInformationType" ID="PersonalInformationType"></a> |
|
261 <h2>PersonalInformationType</h2> |
|
262 <p> |
|
263 Class defining the personal information types. |
|
264 </p> |
|
265 |
|
266 <h3>Derived from</h3> |
|
267 enum.Enum |
44 <h3>Class Attributes</h3> |
268 <h3>Class Attributes</h3> |
45 <table> |
269 <table> |
46 <tr><td>Address</td></tr> |
270 <tr><td>Address</td></tr> |
47 <tr><td>City</td></tr> |
271 <tr><td>City</td></tr> |
48 <tr><td>Country</td></tr> |
272 <tr><td>Country</td></tr> |
68 <tr><td>None</td></tr> |
292 <tr><td>None</td></tr> |
69 </table> |
293 </table> |
70 |
294 |
71 <h3>Methods</h3> |
295 <h3>Methods</h3> |
72 <table> |
296 <table> |
73 <tr> |
297 <tr><td>None</td></tr> |
74 <td><a href="#PersonalInformationManager.__init__">PersonalInformationManager</a></td> |
|
75 <td>Constructor</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#PersonalInformationManager.__insertData">__insertData</a></td> |
|
79 <td>Private slot to insert the selected personal information.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#PersonalInformationManager.__loadSettings">__loadSettings</a></td> |
|
83 <td>Private method to load the settings.</td> |
|
84 </tr> |
|
85 <tr> |
|
86 <td><a href="#PersonalInformationManager.__matchingJsTable">__matchingJsTable</a></td> |
|
87 <td>Private method to create the common part of the JavaScript sources.</td> |
|
88 </tr> |
|
89 <tr> |
|
90 <td><a href="#PersonalInformationManager.__pageLoadFinished">__pageLoadFinished</a></td> |
|
91 <td>Private slot to handle the completion of a page load.</td> |
|
92 </tr> |
|
93 <tr> |
|
94 <td><a href="#PersonalInformationManager.connectPage">connectPage</a></td> |
|
95 <td>Public method to allow the personal information manager to connect to the page.</td> |
|
96 </tr> |
|
97 <tr> |
|
98 <td><a href="#PersonalInformationManager.createSubMenu">createSubMenu</a></td> |
|
99 <td>Public method to create the personal information sub-menu.</td> |
|
100 </tr> |
|
101 <tr> |
|
102 <td><a href="#PersonalInformationManager.showConfigurationDialog">showConfigurationDialog</a></td> |
|
103 <td>Public method to show the configuration dialog.</td> |
|
104 </tr> |
|
105 <tr> |
|
106 <td><a href="#PersonalInformationManager.viewKeyPressEvent">viewKeyPressEvent</a></td> |
|
107 <td>Protected method to handle key press events we are interested in.</td> |
|
108 </tr> |
|
109 </table> |
298 </table> |
110 |
299 |
111 <h3>Static Methods</h3> |
300 <h3>Static Methods</h3> |
112 <table> |
301 <table> |
113 <tr><td>None</td></tr> |
302 <tr><td>None</td></tr> |
114 </table> |
303 </table> |
115 |
304 |
116 |
305 |
117 <a NAME="PersonalInformationManager.__init__" ID="PersonalInformationManager.__init__"></a> |
|
118 <h4>PersonalInformationManager (Constructor)</h4> |
|
119 <b>PersonalInformationManager</b>(<i>parent=None</i>) |
|
120 <p> |
|
121 Constructor |
|
122 </p> |
|
123 |
|
124 <dl> |
|
125 |
|
126 <dt><i>parent</i> (QObject)</dt> |
|
127 <dd> |
|
128 reference to the parent object |
|
129 </dd> |
|
130 </dl> |
|
131 <a NAME="PersonalInformationManager.__insertData" ID="PersonalInformationManager.__insertData"></a> |
|
132 <h4>PersonalInformationManager.__insertData</h4> |
|
133 <b>__insertData</b>(<i>act</i>) |
|
134 <p> |
|
135 Private slot to insert the selected personal information. |
|
136 </p> |
|
137 |
|
138 <dl> |
|
139 |
|
140 <dt><i>act</i> (QAction)</dt> |
|
141 <dd> |
|
142 reference to the action that triggered |
|
143 </dd> |
|
144 </dl> |
|
145 <a NAME="PersonalInformationManager.__loadSettings" ID="PersonalInformationManager.__loadSettings"></a> |
|
146 <h4>PersonalInformationManager.__loadSettings</h4> |
|
147 <b>__loadSettings</b>(<i></i>) |
|
148 <p> |
|
149 Private method to load the settings. |
|
150 </p> |
|
151 |
|
152 <a NAME="PersonalInformationManager.__matchingJsTable" ID="PersonalInformationManager.__matchingJsTable"></a> |
|
153 <h4>PersonalInformationManager.__matchingJsTable</h4> |
|
154 <b>__matchingJsTable</b>(<i></i>) |
|
155 <p> |
|
156 Private method to create the common part of the JavaScript sources. |
|
157 </p> |
|
158 |
|
159 <dl> |
|
160 <dt>Return:</dt> |
|
161 <dd> |
|
162 JavaScript source |
|
163 </dd> |
|
164 </dl> |
|
165 <dl> |
|
166 <dt>Return Type:</dt> |
|
167 <dd> |
|
168 str |
|
169 </dd> |
|
170 </dl> |
|
171 <a NAME="PersonalInformationManager.__pageLoadFinished" ID="PersonalInformationManager.__pageLoadFinished"></a> |
|
172 <h4>PersonalInformationManager.__pageLoadFinished</h4> |
|
173 <b>__pageLoadFinished</b>(<i>ok, page</i>) |
|
174 <p> |
|
175 Private slot to handle the completion of a page load. |
|
176 </p> |
|
177 |
|
178 <dl> |
|
179 |
|
180 <dt><i>ok</i> (bool)</dt> |
|
181 <dd> |
|
182 flag indicating a successful load |
|
183 </dd> |
|
184 <dt><i>page</i> (WebBrowserPage)</dt> |
|
185 <dd> |
|
186 reference to the web page object |
|
187 </dd> |
|
188 </dl> |
|
189 <a NAME="PersonalInformationManager.connectPage" ID="PersonalInformationManager.connectPage"></a> |
|
190 <h4>PersonalInformationManager.connectPage</h4> |
|
191 <b>connectPage</b>(<i>page</i>) |
|
192 <p> |
|
193 Public method to allow the personal information manager to connect to |
|
194 the page. |
|
195 </p> |
|
196 |
|
197 <dl> |
|
198 |
|
199 <dt><i>page</i> (WebBrowserPage)</dt> |
|
200 <dd> |
|
201 reference to the web page |
|
202 </dd> |
|
203 </dl> |
|
204 <a NAME="PersonalInformationManager.createSubMenu" ID="PersonalInformationManager.createSubMenu"></a> |
|
205 <h4>PersonalInformationManager.createSubMenu</h4> |
|
206 <b>createSubMenu</b>(<i>menu, view, hitTestResult</i>) |
|
207 <p> |
|
208 Public method to create the personal information sub-menu. |
|
209 </p> |
|
210 |
|
211 <dl> |
|
212 |
|
213 <dt><i>menu</i> (QMenu)</dt> |
|
214 <dd> |
|
215 reference to the main menu |
|
216 </dd> |
|
217 <dt><i>view</i> (WebBrowserView)</dt> |
|
218 <dd> |
|
219 reference to the view |
|
220 </dd> |
|
221 <dt><i>hitTestResult</i> (WebHitTestResult)</dt> |
|
222 <dd> |
|
223 reference to the hit test result |
|
224 </dd> |
|
225 </dl> |
|
226 <a NAME="PersonalInformationManager.showConfigurationDialog" ID="PersonalInformationManager.showConfigurationDialog"></a> |
|
227 <h4>PersonalInformationManager.showConfigurationDialog</h4> |
|
228 <b>showConfigurationDialog</b>(<i>parent=None</i>) |
|
229 <p> |
|
230 Public method to show the configuration dialog. |
|
231 </p> |
|
232 |
|
233 <dl> |
|
234 |
|
235 <dt><i>parent</i> (QWidget)</dt> |
|
236 <dd> |
|
237 reference to the parent widget |
|
238 </dd> |
|
239 </dl> |
|
240 <a NAME="PersonalInformationManager.viewKeyPressEvent" ID="PersonalInformationManager.viewKeyPressEvent"></a> |
|
241 <h4>PersonalInformationManager.viewKeyPressEvent</h4> |
|
242 <b>viewKeyPressEvent</b>(<i>view, evt</i>) |
|
243 <p> |
|
244 Protected method to handle key press events we are interested in. |
|
245 </p> |
|
246 |
|
247 <dl> |
|
248 |
|
249 <dt><i>view</i> (WebBrowserView)</dt> |
|
250 <dd> |
|
251 reference to the view |
|
252 </dd> |
|
253 <dt><i>evt</i> (QKeyEvent)</dt> |
|
254 <dd> |
|
255 reference to the key event |
|
256 </dd> |
|
257 </dl> |
|
258 <dl> |
|
259 <dt>Return:</dt> |
|
260 <dd> |
|
261 flag indicating handling of the event |
|
262 </dd> |
|
263 </dl> |
|
264 <dl> |
|
265 <dt>Return Type:</dt> |
|
266 <dd> |
|
267 bool |
|
268 </dd> |
|
269 </dl> |
|
270 <div align="right"><a href="#top">Up</a></div> |
306 <div align="right"><a href="#top">Up</a></div> |
271 <hr /> |
307 <hr /> |
272 </body></html> |
308 </body></html> |