16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.WebBrowser.PersonalInformationManager.PersonalInformationManager</h1> |
23 <h1>eric6.WebBrowser.PersonalInformationManager.PersonalInformationManager</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a personal information manager used to complete form |
26 Module implementing a personal information manager used to complete form |
25 fields. |
27 fields. |
26 </p> |
28 </p> |
27 <h3>Global Attributes</h3> |
29 <h3>Global Attributes</h3> |
|
30 |
28 <table> |
31 <table> |
29 <tr><td>None</td></tr> |
32 <tr><td>None</td></tr> |
30 </table> |
33 </table> |
31 <h3>Classes</h3> |
34 <h3>Classes</h3> |
32 <table> |
35 |
|
36 <table> |
|
37 |
33 <tr> |
38 <tr> |
34 <td><a href="#PersonalInformationManager">PersonalInformationManager</a></td> |
39 <td><a href="#PersonalInformationManager">PersonalInformationManager</a></td> |
35 <td>Class implementing the personal information manager used to complete form fields.</td> |
40 <td>Class implementing the personal information manager used to complete form fields.</td> |
36 </tr> |
41 </tr> |
37 </table> |
42 </table> |
38 <h3>Functions</h3> |
43 <h3>Functions</h3> |
39 <table> |
44 |
40 <tr><td>None</td></tr> |
45 <table> |
41 </table> |
46 <tr><td>None</td></tr> |
42 <hr /><hr /> |
47 </table> |
|
48 <hr /> |
|
49 <hr /> |
43 <a NAME="PersonalInformationManager" ID="PersonalInformationManager"></a> |
50 <a NAME="PersonalInformationManager" ID="PersonalInformationManager"></a> |
44 <h2>PersonalInformationManager</h2> |
51 <h2>PersonalInformationManager</h2> |
|
52 |
45 <p> |
53 <p> |
46 Class implementing the personal information manager used to complete form |
54 Class implementing the personal information manager used to complete form |
47 fields. |
55 fields. |
48 </p> |
56 </p> |
49 <h3>Derived from</h3> |
57 <h3>Derived from</h3> |
50 QObject |
58 QObject |
51 <h3>Class Attributes</h3> |
59 <h3>Class Attributes</h3> |
|
60 |
52 <table> |
61 <table> |
53 <tr><td>Address</td></tr><tr><td>City</td></tr><tr><td>Country</td></tr><tr><td>Email</td></tr><tr><td>FirstName</td></tr><tr><td>FullName</td></tr><tr><td>HomePage</td></tr><tr><td>Invalid</td></tr><tr><td>LastName</td></tr><tr><td>Max</td></tr><tr><td>Mobile</td></tr><tr><td>Phone</td></tr><tr><td>Special1</td></tr><tr><td>Special2</td></tr><tr><td>Special3</td></tr><tr><td>Special4</td></tr><tr><td>State</td></tr><tr><td>Zip</td></tr> |
62 <tr><td>Address</td></tr><tr><td>City</td></tr><tr><td>Country</td></tr><tr><td>Email</td></tr><tr><td>FirstName</td></tr><tr><td>FullName</td></tr><tr><td>HomePage</td></tr><tr><td>Invalid</td></tr><tr><td>LastName</td></tr><tr><td>Max</td></tr><tr><td>Mobile</td></tr><tr><td>Phone</td></tr><tr><td>Special1</td></tr><tr><td>Special2</td></tr><tr><td>Special3</td></tr><tr><td>Special4</td></tr><tr><td>State</td></tr><tr><td>Zip</td></tr> |
54 </table> |
63 </table> |
55 <h3>Class Methods</h3> |
64 <h3>Class Methods</h3> |
|
65 |
56 <table> |
66 <table> |
57 <tr><td>None</td></tr> |
67 <tr><td>None</td></tr> |
58 </table> |
68 </table> |
59 <h3>Methods</h3> |
69 <h3>Methods</h3> |
60 <table> |
70 |
|
71 <table> |
|
72 |
61 <tr> |
73 <tr> |
62 <td><a href="#PersonalInformationManager.__init__">PersonalInformationManager</a></td> |
74 <td><a href="#PersonalInformationManager.__init__">PersonalInformationManager</a></td> |
63 <td>Constructor</td> |
75 <td>Constructor</td> |
64 </tr><tr> |
76 </tr> |
|
77 <tr> |
65 <td><a href="#PersonalInformationManager.__insertData">__insertData</a></td> |
78 <td><a href="#PersonalInformationManager.__insertData">__insertData</a></td> |
66 <td>Private slot to insert the selected personal information.</td> |
79 <td>Private slot to insert the selected personal information.</td> |
67 </tr><tr> |
80 </tr> |
|
81 <tr> |
68 <td><a href="#PersonalInformationManager.__loadSettings">__loadSettings</a></td> |
82 <td><a href="#PersonalInformationManager.__loadSettings">__loadSettings</a></td> |
69 <td>Private method to load the settings.</td> |
83 <td>Private method to load the settings.</td> |
70 </tr><tr> |
84 </tr> |
|
85 <tr> |
71 <td><a href="#PersonalInformationManager.__matchingJsTable">__matchingJsTable</a></td> |
86 <td><a href="#PersonalInformationManager.__matchingJsTable">__matchingJsTable</a></td> |
72 <td>Private method to create the common part of the JavaScript sources.</td> |
87 <td>Private method to create the common part of the JavaScript sources.</td> |
73 </tr><tr> |
88 </tr> |
|
89 <tr> |
74 <td><a href="#PersonalInformationManager.__pageLoadFinished">__pageLoadFinished</a></td> |
90 <td><a href="#PersonalInformationManager.__pageLoadFinished">__pageLoadFinished</a></td> |
75 <td>Private slot to handle the completion of a page load.</td> |
91 <td>Private slot to handle the completion of a page load.</td> |
76 </tr><tr> |
92 </tr> |
|
93 <tr> |
77 <td><a href="#PersonalInformationManager.connectPage">connectPage</a></td> |
94 <td><a href="#PersonalInformationManager.connectPage">connectPage</a></td> |
78 <td>Public method to allow the personal information manager to connect to the page.</td> |
95 <td>Public method to allow the personal information manager to connect to the page.</td> |
79 </tr><tr> |
96 </tr> |
|
97 <tr> |
80 <td><a href="#PersonalInformationManager.createSubMenu">createSubMenu</a></td> |
98 <td><a href="#PersonalInformationManager.createSubMenu">createSubMenu</a></td> |
81 <td>Public method to create the personal information sub-menu.</td> |
99 <td>Public method to create the personal information sub-menu.</td> |
82 </tr><tr> |
100 </tr> |
|
101 <tr> |
83 <td><a href="#PersonalInformationManager.showConfigurationDialog">showConfigurationDialog</a></td> |
102 <td><a href="#PersonalInformationManager.showConfigurationDialog">showConfigurationDialog</a></td> |
84 <td>Public method to show the configuration dialog.</td> |
103 <td>Public method to show the configuration dialog.</td> |
85 </tr><tr> |
104 </tr> |
|
105 <tr> |
86 <td><a href="#PersonalInformationManager.viewKeyPressEvent">viewKeyPressEvent</a></td> |
106 <td><a href="#PersonalInformationManager.viewKeyPressEvent">viewKeyPressEvent</a></td> |
87 <td>Protected method to handle key press events we are interested in.</td> |
107 <td>Protected method to handle key press events we are interested in.</td> |
88 </tr> |
108 </tr> |
89 </table> |
109 </table> |
90 <h3>Static Methods</h3> |
110 <h3>Static Methods</h3> |
91 <table> |
111 |
92 <tr><td>None</td></tr> |
112 <table> |
93 </table> |
113 <tr><td>None</td></tr> |
|
114 </table> |
|
115 |
94 <a NAME="PersonalInformationManager.__init__" ID="PersonalInformationManager.__init__"></a> |
116 <a NAME="PersonalInformationManager.__init__" ID="PersonalInformationManager.__init__"></a> |
95 <h4>PersonalInformationManager (Constructor)</h4> |
117 <h4>PersonalInformationManager (Constructor)</h4> |
96 <b>PersonalInformationManager</b>(<i>parent=None</i>) |
118 <b>PersonalInformationManager</b>(<i>parent=None</i>) |
|
119 |
97 <p> |
120 <p> |
98 Constructor |
121 Constructor |
99 </p><dl> |
122 </p> |
|
123 <dl> |
|
124 |
100 <dt><i>parent</i></dt> |
125 <dt><i>parent</i></dt> |
101 <dd> |
126 <dd> |
102 reference to the parent object (QObject) |
127 reference to the parent object (QObject) |
103 </dd> |
128 </dd> |
104 </dl><a NAME="PersonalInformationManager.__insertData" ID="PersonalInformationManager.__insertData"></a> |
129 </dl> |
|
130 <a NAME="PersonalInformationManager.__insertData" ID="PersonalInformationManager.__insertData"></a> |
105 <h4>PersonalInformationManager.__insertData</h4> |
131 <h4>PersonalInformationManager.__insertData</h4> |
106 <b>__insertData</b>(<i>act</i>) |
132 <b>__insertData</b>(<i>act</i>) |
|
133 |
107 <p> |
134 <p> |
108 Private slot to insert the selected personal information. |
135 Private slot to insert the selected personal information. |
109 </p><dl> |
136 </p> |
|
137 <dl> |
|
138 |
110 <dt><i>act</i> (QAction)</dt> |
139 <dt><i>act</i> (QAction)</dt> |
111 <dd> |
140 <dd> |
112 reference to the action that triggered |
141 reference to the action that triggered |
113 </dd> |
142 </dd> |
114 </dl><a NAME="PersonalInformationManager.__loadSettings" ID="PersonalInformationManager.__loadSettings"></a> |
143 </dl> |
|
144 <a NAME="PersonalInformationManager.__loadSettings" ID="PersonalInformationManager.__loadSettings"></a> |
115 <h4>PersonalInformationManager.__loadSettings</h4> |
145 <h4>PersonalInformationManager.__loadSettings</h4> |
116 <b>__loadSettings</b>(<i></i>) |
146 <b>__loadSettings</b>(<i></i>) |
|
147 |
117 <p> |
148 <p> |
118 Private method to load the settings. |
149 Private method to load the settings. |
119 </p><a NAME="PersonalInformationManager.__matchingJsTable" ID="PersonalInformationManager.__matchingJsTable"></a> |
150 </p> |
|
151 <a NAME="PersonalInformationManager.__matchingJsTable" ID="PersonalInformationManager.__matchingJsTable"></a> |
120 <h4>PersonalInformationManager.__matchingJsTable</h4> |
152 <h4>PersonalInformationManager.__matchingJsTable</h4> |
121 <b>__matchingJsTable</b>(<i></i>) |
153 <b>__matchingJsTable</b>(<i></i>) |
|
154 |
122 <p> |
155 <p> |
123 Private method to create the common part of the JavaScript sources. |
156 Private method to create the common part of the JavaScript sources. |
124 </p><dl> |
157 </p> |
|
158 <dl> |
125 <dt>Returns:</dt> |
159 <dt>Returns:</dt> |
126 <dd> |
160 <dd> |
127 JavaScript source |
161 JavaScript source |
128 </dd> |
162 </dd> |
129 </dl><dl> |
163 </dl> |
|
164 <dl> |
130 <dt>Return Type:</dt> |
165 <dt>Return Type:</dt> |
131 <dd> |
166 <dd> |
132 str |
167 str |
133 </dd> |
168 </dd> |
134 </dl><a NAME="PersonalInformationManager.__pageLoadFinished" ID="PersonalInformationManager.__pageLoadFinished"></a> |
169 </dl> |
|
170 <a NAME="PersonalInformationManager.__pageLoadFinished" ID="PersonalInformationManager.__pageLoadFinished"></a> |
135 <h4>PersonalInformationManager.__pageLoadFinished</h4> |
171 <h4>PersonalInformationManager.__pageLoadFinished</h4> |
136 <b>__pageLoadFinished</b>(<i>ok, page</i>) |
172 <b>__pageLoadFinished</b>(<i>ok, page</i>) |
|
173 |
137 <p> |
174 <p> |
138 Private slot to handle the completion of a page load. |
175 Private slot to handle the completion of a page load. |
139 </p><dl> |
176 </p> |
|
177 <dl> |
|
178 |
140 <dt><i>ok</i> (bool)</dt> |
179 <dt><i>ok</i> (bool)</dt> |
141 <dd> |
180 <dd> |
142 flag indicating a successful load |
181 flag indicating a successful load |
143 </dd><dt><i>page</i> (WebBrowserPage)</dt> |
182 </dd> |
|
183 <dt><i>page</i> (WebBrowserPage)</dt> |
144 <dd> |
184 <dd> |
145 reference to the web page object |
185 reference to the web page object |
146 </dd> |
186 </dd> |
147 </dl><a NAME="PersonalInformationManager.connectPage" ID="PersonalInformationManager.connectPage"></a> |
187 </dl> |
|
188 <a NAME="PersonalInformationManager.connectPage" ID="PersonalInformationManager.connectPage"></a> |
148 <h4>PersonalInformationManager.connectPage</h4> |
189 <h4>PersonalInformationManager.connectPage</h4> |
149 <b>connectPage</b>(<i>page</i>) |
190 <b>connectPage</b>(<i>page</i>) |
|
191 |
150 <p> |
192 <p> |
151 Public method to allow the personal information manager to connect to |
193 Public method to allow the personal information manager to connect to |
152 the page. |
194 the page. |
153 </p><dl> |
195 </p> |
|
196 <dl> |
|
197 |
154 <dt><i>page</i> (WebBrowserPage)</dt> |
198 <dt><i>page</i> (WebBrowserPage)</dt> |
155 <dd> |
199 <dd> |
156 reference to the web page |
200 reference to the web page |
157 </dd> |
201 </dd> |
158 </dl><a NAME="PersonalInformationManager.createSubMenu" ID="PersonalInformationManager.createSubMenu"></a> |
202 </dl> |
|
203 <a NAME="PersonalInformationManager.createSubMenu" ID="PersonalInformationManager.createSubMenu"></a> |
159 <h4>PersonalInformationManager.createSubMenu</h4> |
204 <h4>PersonalInformationManager.createSubMenu</h4> |
160 <b>createSubMenu</b>(<i>menu, view, hitTestResult</i>) |
205 <b>createSubMenu</b>(<i>menu, view, hitTestResult</i>) |
|
206 |
161 <p> |
207 <p> |
162 Public method to create the personal information sub-menu. |
208 Public method to create the personal information sub-menu. |
163 </p><dl> |
209 </p> |
|
210 <dl> |
|
211 |
164 <dt><i>menu</i></dt> |
212 <dt><i>menu</i></dt> |
165 <dd> |
213 <dd> |
166 reference to the main menu (QMenu) |
214 reference to the main menu (QMenu) |
167 </dd><dt><i>view</i></dt> |
215 </dd> |
|
216 <dt><i>view</i></dt> |
168 <dd> |
217 <dd> |
169 reference to the view (HelpBrowser) |
218 reference to the view (HelpBrowser) |
170 </dd><dt><i>hitTestResult</i></dt> |
219 </dd> |
|
220 <dt><i>hitTestResult</i></dt> |
171 <dd> |
221 <dd> |
172 reference to the hit test result |
222 reference to the hit test result |
173 (WebHitTestResult) |
223 (WebHitTestResult) |
174 </dd> |
224 </dd> |
175 </dl><a NAME="PersonalInformationManager.showConfigurationDialog" ID="PersonalInformationManager.showConfigurationDialog"></a> |
225 </dl> |
|
226 <a NAME="PersonalInformationManager.showConfigurationDialog" ID="PersonalInformationManager.showConfigurationDialog"></a> |
176 <h4>PersonalInformationManager.showConfigurationDialog</h4> |
227 <h4>PersonalInformationManager.showConfigurationDialog</h4> |
177 <b>showConfigurationDialog</b>(<i></i>) |
228 <b>showConfigurationDialog</b>(<i></i>) |
|
229 |
178 <p> |
230 <p> |
179 Public method to show the configuration dialog. |
231 Public method to show the configuration dialog. |
180 </p><a NAME="PersonalInformationManager.viewKeyPressEvent" ID="PersonalInformationManager.viewKeyPressEvent"></a> |
232 </p> |
|
233 <a NAME="PersonalInformationManager.viewKeyPressEvent" ID="PersonalInformationManager.viewKeyPressEvent"></a> |
181 <h4>PersonalInformationManager.viewKeyPressEvent</h4> |
234 <h4>PersonalInformationManager.viewKeyPressEvent</h4> |
182 <b>viewKeyPressEvent</b>(<i>view, evt</i>) |
235 <b>viewKeyPressEvent</b>(<i>view, evt</i>) |
|
236 |
183 <p> |
237 <p> |
184 Protected method to handle key press events we are interested in. |
238 Protected method to handle key press events we are interested in. |
185 </p><dl> |
239 </p> |
|
240 <dl> |
|
241 |
186 <dt><i>view</i></dt> |
242 <dt><i>view</i></dt> |
187 <dd> |
243 <dd> |
188 reference to the view (HelpBrowser) |
244 reference to the view (HelpBrowser) |
189 </dd><dt><i>evt</i></dt> |
245 </dd> |
|
246 <dt><i>evt</i></dt> |
190 <dd> |
247 <dd> |
191 reference to the key event (QKeyEvent) |
248 reference to the key event (QKeyEvent) |
192 </dd> |
249 </dd> |
193 </dl><dl> |
250 </dl> |
|
251 <dl> |
194 <dt>Returns:</dt> |
252 <dt>Returns:</dt> |
195 <dd> |
253 <dd> |
196 flag indicating handling of the event (boolean) |
254 flag indicating handling of the event (boolean) |
197 </dd> |
255 </dd> |
198 </dl> |
256 </dl> |