eric7/Documentation/Source/eric7.WebBrowser.PersonalInformationManager.PersonalInformationManager.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.WebBrowser.PersonalInformationManager.PersonalInformationManager</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>eric7.WebBrowser.PersonalInformationManager.PersonalInformationManager</h1>
24
25 <p>
26 Module implementing a personal information manager used to complete form
27 fields.
28 </p>
29 <h3>Global Attributes</h3>
30
31 <table>
32 <tr><td>None</td></tr>
33 </table>
34 <h3>Classes</h3>
35
36 <table>
37
38 <tr>
39 <td><a href="#PersonalInformationManager">PersonalInformationManager</a></td>
40 <td>Class implementing the personal information manager used to complete form fields.</td>
41 </tr>
42 </table>
43 <h3>Functions</h3>
44
45 <table>
46 <tr><td>None</td></tr>
47 </table>
48 <hr />
49 <hr />
50 <a NAME="PersonalInformationManager" ID="PersonalInformationManager"></a>
51 <h2>PersonalInformationManager</h2>
52
53 <p>
54 Class implementing the personal information manager used to complete form
55 fields.
56 </p>
57 <h3>Derived from</h3>
58 QObject
59 <h3>Class Attributes</h3>
60
61 <table>
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>
63 </table>
64 <h3>Class Methods</h3>
65
66 <table>
67 <tr><td>None</td></tr>
68 </table>
69 <h3>Methods</h3>
70
71 <table>
72
73 <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>
110 <h3>Static Methods</h3>
111
112 <table>
113 <tr><td>None</td></tr>
114 </table>
115
116 <a NAME="PersonalInformationManager.__init__" ID="PersonalInformationManager.__init__"></a>
117 <h4>PersonalInformationManager (Constructor)</h4>
118 <b>PersonalInformationManager</b>(<i>parent=None</i>)
119
120 <p>
121 Constructor
122 </p>
123 <dl>
124
125 <dt><i>parent</i></dt>
126 <dd>
127 reference to the parent object (QObject)
128 </dd>
129 </dl>
130 <a NAME="PersonalInformationManager.__insertData" ID="PersonalInformationManager.__insertData"></a>
131 <h4>PersonalInformationManager.__insertData</h4>
132 <b>__insertData</b>(<i>act</i>)
133
134 <p>
135 Private slot to insert the selected personal information.
136 </p>
137 <dl>
138
139 <dt><i>act</i> (QAction)</dt>
140 <dd>
141 reference to the action that triggered
142 </dd>
143 </dl>
144 <a NAME="PersonalInformationManager.__loadSettings" ID="PersonalInformationManager.__loadSettings"></a>
145 <h4>PersonalInformationManager.__loadSettings</h4>
146 <b>__loadSettings</b>(<i></i>)
147
148 <p>
149 Private method to load the settings.
150 </p>
151 <a NAME="PersonalInformationManager.__matchingJsTable" ID="PersonalInformationManager.__matchingJsTable"></a>
152 <h4>PersonalInformationManager.__matchingJsTable</h4>
153 <b>__matchingJsTable</b>(<i></i>)
154
155 <p>
156 Private method to create the common part of the JavaScript sources.
157 </p>
158 <dl>
159 <dt>Return:</dt>
160 <dd>
161 JavaScript source
162 </dd>
163 </dl>
164 <dl>
165 <dt>Return Type:</dt>
166 <dd>
167 str
168 </dd>
169 </dl>
170 <a NAME="PersonalInformationManager.__pageLoadFinished" ID="PersonalInformationManager.__pageLoadFinished"></a>
171 <h4>PersonalInformationManager.__pageLoadFinished</h4>
172 <b>__pageLoadFinished</b>(<i>ok, page</i>)
173
174 <p>
175 Private slot to handle the completion of a page load.
176 </p>
177 <dl>
178
179 <dt><i>ok</i> (bool)</dt>
180 <dd>
181 flag indicating a successful load
182 </dd>
183 <dt><i>page</i> (WebBrowserPage)</dt>
184 <dd>
185 reference to the web page object
186 </dd>
187 </dl>
188 <a NAME="PersonalInformationManager.connectPage" ID="PersonalInformationManager.connectPage"></a>
189 <h4>PersonalInformationManager.connectPage</h4>
190 <b>connectPage</b>(<i>page</i>)
191
192 <p>
193 Public method to allow the personal information manager to connect to
194 the page.
195 </p>
196 <dl>
197
198 <dt><i>page</i> (WebBrowserPage)</dt>
199 <dd>
200 reference to the web page
201 </dd>
202 </dl>
203 <a NAME="PersonalInformationManager.createSubMenu" ID="PersonalInformationManager.createSubMenu"></a>
204 <h4>PersonalInformationManager.createSubMenu</h4>
205 <b>createSubMenu</b>(<i>menu, view, hitTestResult</i>)
206
207 <p>
208 Public method to create the personal information sub-menu.
209 </p>
210 <dl>
211
212 <dt><i>menu</i></dt>
213 <dd>
214 reference to the main menu (QMenu)
215 </dd>
216 <dt><i>view</i></dt>
217 <dd>
218 reference to the view (HelpBrowser)
219 </dd>
220 <dt><i>hitTestResult</i></dt>
221 <dd>
222 reference to the hit test result
223 (WebHitTestResult)
224 </dd>
225 </dl>
226 <a NAME="PersonalInformationManager.showConfigurationDialog" ID="PersonalInformationManager.showConfigurationDialog"></a>
227 <h4>PersonalInformationManager.showConfigurationDialog</h4>
228 <b>showConfigurationDialog</b>(<i></i>)
229
230 <p>
231 Public method to show the configuration dialog.
232 </p>
233 <a NAME="PersonalInformationManager.viewKeyPressEvent" ID="PersonalInformationManager.viewKeyPressEvent"></a>
234 <h4>PersonalInformationManager.viewKeyPressEvent</h4>
235 <b>viewKeyPressEvent</b>(<i>view, evt</i>)
236
237 <p>
238 Protected method to handle key press events we are interested in.
239 </p>
240 <dl>
241
242 <dt><i>view</i></dt>
243 <dd>
244 reference to the view (HelpBrowser)
245 </dd>
246 <dt><i>evt</i></dt>
247 <dd>
248 reference to the key event (QKeyEvent)
249 </dd>
250 </dl>
251 <dl>
252 <dt>Return:</dt>
253 <dd>
254 flag indicating handling of the event (boolean)
255 </dd>
256 </dl>
257 <div align="right"><a href="#top">Up</a></div>
258 <hr />
259 </body></html>

eric ide

mercurial