|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.WebBrowser.PersonalInformationManager.PersonalInformationManager</h1> |
|
23 <p> |
|
24 Module implementing a personal information manager used to complete form |
|
25 fields. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#PersonalInformationManager">PersonalInformationManager</a></td> |
|
35 <td>Class implementing the personal information manager used to complete form fields.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="PersonalInformationManager" ID="PersonalInformationManager"></a> |
|
44 <h2>PersonalInformationManager</h2> |
|
45 <p> |
|
46 Class implementing the personal information manager used to complete form |
|
47 fields. |
|
48 </p> |
|
49 <h3>Derived from</h3> |
|
50 QObject |
|
51 <h3>Class Attributes</h3> |
|
52 <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> |
|
54 </table> |
|
55 <h3>Class Methods</h3> |
|
56 <table> |
|
57 <tr><td>None</td></tr> |
|
58 </table> |
|
59 <h3>Methods</h3> |
|
60 <table> |
|
61 <tr> |
|
62 <td><a href="#PersonalInformationManager.__init__">PersonalInformationManager</a></td> |
|
63 <td>Constructor</td> |
|
64 </tr><tr> |
|
65 <td><a href="#PersonalInformationManager.__insertData">__insertData</a></td> |
|
66 <td>Private slot to insert the selected personal information.</td> |
|
67 </tr><tr> |
|
68 <td><a href="#PersonalInformationManager.__loadSettings">__loadSettings</a></td> |
|
69 <td>Private method to load the settings.</td> |
|
70 </tr><tr> |
|
71 <td><a href="#PersonalInformationManager.__matchingJsTable">__matchingJsTable</a></td> |
|
72 <td>Private method to create the common part of the JavaScript sources.</td> |
|
73 </tr><tr> |
|
74 <td><a href="#PersonalInformationManager.__pageLoadFinished">__pageLoadFinished</a></td> |
|
75 <td>Private slot to handle the completion of a page load.</td> |
|
76 </tr><tr> |
|
77 <td><a href="#PersonalInformationManager.connectPage">connectPage</a></td> |
|
78 <td>Public method to allow the personal information manager to connect to the page.</td> |
|
79 </tr><tr> |
|
80 <td><a href="#PersonalInformationManager.createSubMenu">createSubMenu</a></td> |
|
81 <td>Public method to create the personal information sub-menu.</td> |
|
82 </tr><tr> |
|
83 <td><a href="#PersonalInformationManager.showConfigurationDialog">showConfigurationDialog</a></td> |
|
84 <td>Public method to show the configuration dialog.</td> |
|
85 </tr><tr> |
|
86 <td><a href="#PersonalInformationManager.viewKeyPressEvent">viewKeyPressEvent</a></td> |
|
87 <td>Protected method to handle key press events we are interested in.</td> |
|
88 </tr> |
|
89 </table> |
|
90 <h3>Static Methods</h3> |
|
91 <table> |
|
92 <tr><td>None</td></tr> |
|
93 </table> |
|
94 <a NAME="PersonalInformationManager.__init__" ID="PersonalInformationManager.__init__"></a> |
|
95 <h4>PersonalInformationManager (Constructor)</h4> |
|
96 <b>PersonalInformationManager</b>(<i>parent=None</i>) |
|
97 <p> |
|
98 Constructor |
|
99 </p><dl> |
|
100 <dt><i>parent</i></dt> |
|
101 <dd> |
|
102 reference to the parent object (QObject) |
|
103 </dd> |
|
104 </dl><a NAME="PersonalInformationManager.__insertData" ID="PersonalInformationManager.__insertData"></a> |
|
105 <h4>PersonalInformationManager.__insertData</h4> |
|
106 <b>__insertData</b>(<i></i>) |
|
107 <p> |
|
108 Private slot to insert the selected personal information. |
|
109 </p><a NAME="PersonalInformationManager.__loadSettings" ID="PersonalInformationManager.__loadSettings"></a> |
|
110 <h4>PersonalInformationManager.__loadSettings</h4> |
|
111 <b>__loadSettings</b>(<i></i>) |
|
112 <p> |
|
113 Private method to load the settings. |
|
114 </p><a NAME="PersonalInformationManager.__matchingJsTable" ID="PersonalInformationManager.__matchingJsTable"></a> |
|
115 <h4>PersonalInformationManager.__matchingJsTable</h4> |
|
116 <b>__matchingJsTable</b>(<i></i>) |
|
117 <p> |
|
118 Private method to create the common part of the JavaScript sources. |
|
119 </p><dl> |
|
120 <dt>Returns:</dt> |
|
121 <dd> |
|
122 JavaScript source |
|
123 </dd> |
|
124 </dl><dl> |
|
125 <dt>Return Type:</dt> |
|
126 <dd> |
|
127 str |
|
128 </dd> |
|
129 </dl><a NAME="PersonalInformationManager.__pageLoadFinished" ID="PersonalInformationManager.__pageLoadFinished"></a> |
|
130 <h4>PersonalInformationManager.__pageLoadFinished</h4> |
|
131 <b>__pageLoadFinished</b>(<i>ok</i>) |
|
132 <p> |
|
133 Private slot to handle the completion of a page load. |
|
134 </p><dl> |
|
135 <dt><i>ok</i></dt> |
|
136 <dd> |
|
137 flag indicating a successful load (boolean) |
|
138 </dd> |
|
139 </dl><a NAME="PersonalInformationManager.connectPage" ID="PersonalInformationManager.connectPage"></a> |
|
140 <h4>PersonalInformationManager.connectPage</h4> |
|
141 <b>connectPage</b>(<i>page</i>) |
|
142 <p> |
|
143 Public method to allow the personal information manager to connect to |
|
144 the page. |
|
145 </p><dl> |
|
146 <dt><i>page</i></dt> |
|
147 <dd> |
|
148 reference to the web page (HelpWebPage) |
|
149 </dd> |
|
150 </dl><a NAME="PersonalInformationManager.createSubMenu" ID="PersonalInformationManager.createSubMenu"></a> |
|
151 <h4>PersonalInformationManager.createSubMenu</h4> |
|
152 <b>createSubMenu</b>(<i>menu, view, hitTestResult</i>) |
|
153 <p> |
|
154 Public method to create the personal information sub-menu. |
|
155 </p><dl> |
|
156 <dt><i>menu</i></dt> |
|
157 <dd> |
|
158 reference to the main menu (QMenu) |
|
159 </dd><dt><i>view</i></dt> |
|
160 <dd> |
|
161 reference to the view (HelpBrowser) |
|
162 </dd><dt><i>hitTestResult</i></dt> |
|
163 <dd> |
|
164 reference to the hit test result |
|
165 (WebHitTestResult) |
|
166 </dd> |
|
167 </dl><a NAME="PersonalInformationManager.showConfigurationDialog" ID="PersonalInformationManager.showConfigurationDialog"></a> |
|
168 <h4>PersonalInformationManager.showConfigurationDialog</h4> |
|
169 <b>showConfigurationDialog</b>(<i></i>) |
|
170 <p> |
|
171 Public method to show the configuration dialog. |
|
172 </p><a NAME="PersonalInformationManager.viewKeyPressEvent" ID="PersonalInformationManager.viewKeyPressEvent"></a> |
|
173 <h4>PersonalInformationManager.viewKeyPressEvent</h4> |
|
174 <b>viewKeyPressEvent</b>(<i>view, evt</i>) |
|
175 <p> |
|
176 Protected method to handle key press events we are interested in. |
|
177 </p><dl> |
|
178 <dt><i>view</i></dt> |
|
179 <dd> |
|
180 reference to the view (HelpBrowser) |
|
181 </dd><dt><i>evt</i></dt> |
|
182 <dd> |
|
183 reference to the key event (QKeyEvent) |
|
184 </dd> |
|
185 </dl><dl> |
|
186 <dt>Returns:</dt> |
|
187 <dd> |
|
188 flag indicating handling of the event (boolean) |
|
189 </dd> |
|
190 </dl> |
|
191 <div align="right"><a href="#top">Up</a></div> |
|
192 <hr /> |
|
193 </body></html> |