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

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

eric ide

mercurial