|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Helpviewer.PersonalInformationManager.PersonalInformationManager</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.Helpviewer.PersonalInformationManager.PersonalInformationManager</h1> |
|
24 |
|
25 <h3>Global Attributes</h3> |
|
26 <table> |
|
27 <tr><td>None</td></tr> |
|
28 </table> |
|
29 <h3>Classes</h3> |
|
30 <table> |
|
31 <tr> |
|
32 <td><a href="#PersonalInformationManager">PersonalInformationManager</a></td> |
|
33 <td>Class implementing the personal information manager used to complete form fields.</td> |
|
34 </tr> |
|
35 </table> |
|
36 <h3>Functions</h3> |
|
37 <table> |
|
38 <tr><td>None</td></tr> |
|
39 </table> |
|
40 <hr /><hr /> |
|
41 <a NAME="PersonalInformationManager" ID="PersonalInformationManager"></a> |
|
42 <h2>PersonalInformationManager</h2> |
|
43 <p> |
|
44 Class implementing the personal information manager used to complete form fields. |
|
45 </p> |
|
46 <h3>Derived from</h3> |
|
47 QObject |
|
48 <h3>Class Attributes</h3> |
|
49 <table> |
|
50 <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> |
|
51 </table> |
|
52 <h3>Class Methods</h3> |
|
53 <table> |
|
54 <tr><td>None</td></tr> |
|
55 </table> |
|
56 <h3>Methods</h3> |
|
57 <table> |
|
58 <tr> |
|
59 <td><a href="#PersonalInformationManager.__init__">PersonalInformationManager</a></td> |
|
60 <td>Constructor</td> |
|
61 </tr><tr> |
|
62 <td><a href="#PersonalInformationManager.__insertData">__insertData</a></td> |
|
63 <td>Private slot to insert the selected personal information.</td> |
|
64 </tr><tr> |
|
65 <td><a href="#PersonalInformationManager.__loadSettings">__loadSettings</a></td> |
|
66 <td>Private method to load the settings.</td> |
|
67 </tr><tr> |
|
68 <td><a href="#PersonalInformationManager.__nameMatch">__nameMatch</a></td> |
|
69 <td>Private method to find the information entry for the given field.</td> |
|
70 </tr><tr> |
|
71 <td><a href="#PersonalInformationManager.__pageLoadFinished">__pageLoadFinished</a></td> |
|
72 <td>Private slot to handle the completion of a page load.</td> |
|
73 </tr><tr> |
|
74 <td><a href="#PersonalInformationManager.connectPage">connectPage</a></td> |
|
75 <td>Public method to allow the personal information manager to connect to the page.</td> |
|
76 </tr><tr> |
|
77 <td><a href="#PersonalInformationManager.createSubMenu">createSubMenu</a></td> |
|
78 <td>Public method to create the personal information sub-menu.</td> |
|
79 </tr><tr> |
|
80 <td><a href="#PersonalInformationManager.showConfigurationDialog">showConfigurationDialog</a></td> |
|
81 <td>Public method to show the configuration dialog.</td> |
|
82 </tr><tr> |
|
83 <td><a href="#PersonalInformationManager.viewKeyPressEvent">viewKeyPressEvent</a></td> |
|
84 <td>Public method to handle key press events we are interested in.</td> |
|
85 </tr> |
|
86 </table> |
|
87 <h3>Static Methods</h3> |
|
88 <table> |
|
89 <tr><td>None</td></tr> |
|
90 </table> |
|
91 <a NAME="PersonalInformationManager.__init__" ID="PersonalInformationManager.__init__"></a> |
|
92 <h4>PersonalInformationManager (Constructor)</h4> |
|
93 <b>PersonalInformationManager</b>(<i>parent=None</i>) |
|
94 <p> |
|
95 Constructor |
|
96 </p><dl> |
|
97 <dt><i>parent</i></dt> |
|
98 <dd> |
|
99 reference to the parent object (QObject) |
|
100 </dd> |
|
101 </dl><a NAME="PersonalInformationManager.__insertData" ID="PersonalInformationManager.__insertData"></a> |
|
102 <h4>PersonalInformationManager.__insertData</h4> |
|
103 <b>__insertData</b>(<i></i>) |
|
104 <p> |
|
105 Private slot to insert the selected personal information. |
|
106 </p><a NAME="PersonalInformationManager.__loadSettings" ID="PersonalInformationManager.__loadSettings"></a> |
|
107 <h4>PersonalInformationManager.__loadSettings</h4> |
|
108 <b>__loadSettings</b>(<i></i>) |
|
109 <p> |
|
110 Private method to load the settings. |
|
111 </p><a NAME="PersonalInformationManager.__nameMatch" ID="PersonalInformationManager.__nameMatch"></a> |
|
112 <h4>PersonalInformationManager.__nameMatch</h4> |
|
113 <b>__nameMatch</b>(<i>name</i>) |
|
114 <p> |
|
115 Private method to find the information entry for the given field. |
|
116 </p><dl> |
|
117 <dt><i>name</i></dt> |
|
118 <dd> |
|
119 name of the form field (string) |
|
120 </dd> |
|
121 </dl><dl> |
|
122 <dt>Returns:</dt> |
|
123 <dd> |
|
124 value of the information entry (integer) |
|
125 </dd> |
|
126 </dl><a NAME="PersonalInformationManager.__pageLoadFinished" ID="PersonalInformationManager.__pageLoadFinished"></a> |
|
127 <h4>PersonalInformationManager.__pageLoadFinished</h4> |
|
128 <b>__pageLoadFinished</b>(<i>ok</i>) |
|
129 <p> |
|
130 Private slot to handle the completion of a page load. |
|
131 </p><dl> |
|
132 <dt><i>ok</i></dt> |
|
133 <dd> |
|
134 flag indicating a successful load (boolean) |
|
135 </dd> |
|
136 </dl><a NAME="PersonalInformationManager.connectPage" ID="PersonalInformationManager.connectPage"></a> |
|
137 <h4>PersonalInformationManager.connectPage</h4> |
|
138 <b>connectPage</b>(<i>page</i>) |
|
139 <p> |
|
140 Public method to allow the personal information manager to connect to the page. |
|
141 </p><dl> |
|
142 <dt><i>page</i></dt> |
|
143 <dd> |
|
144 reference to the web page (HelpWebPage) |
|
145 </dd> |
|
146 </dl><a NAME="PersonalInformationManager.createSubMenu" ID="PersonalInformationManager.createSubMenu"></a> |
|
147 <h4>PersonalInformationManager.createSubMenu</h4> |
|
148 <b>createSubMenu</b>(<i>menu, view, hitTestResult</i>) |
|
149 <p> |
|
150 Public method to create the personal information sub-menu. |
|
151 </p><dl> |
|
152 <dt><i>menu</i></dt> |
|
153 <dd> |
|
154 reference to the main menu (QMenu) |
|
155 </dd><dt><i>view</i></dt> |
|
156 <dd> |
|
157 reference to the view (HelpBrowser) |
|
158 </dd><dt><i>hitTestResult</i></dt> |
|
159 <dd> |
|
160 reference to the hit test result (QWebHitTestResult) |
|
161 </dd> |
|
162 </dl><a NAME="PersonalInformationManager.showConfigurationDialog" ID="PersonalInformationManager.showConfigurationDialog"></a> |
|
163 <h4>PersonalInformationManager.showConfigurationDialog</h4> |
|
164 <b>showConfigurationDialog</b>(<i></i>) |
|
165 <p> |
|
166 Public method to show the configuration dialog. |
|
167 </p><a NAME="PersonalInformationManager.viewKeyPressEvent" ID="PersonalInformationManager.viewKeyPressEvent"></a> |
|
168 <h4>PersonalInformationManager.viewKeyPressEvent</h4> |
|
169 <b>viewKeyPressEvent</b>(<i>view, evt</i>) |
|
170 <p> |
|
171 Public method to handle key press events we are interested in. |
|
172 </p><dl> |
|
173 <dt><i>view</i></dt> |
|
174 <dd> |
|
175 reference to the view (HelpBrowser) |
|
176 </dd><dt><i>evt</i></dt> |
|
177 <dd> |
|
178 reference to the key event (QKeyEvent) |
|
179 </dd> |
|
180 </dl><dl> |
|
181 <dt>Returns:</dt> |
|
182 <dd> |
|
183 flag indicating handling of the event (boolean) |
|
184 </dd> |
|
185 </dl> |
|
186 <div align="right"><a href="#top">Up</a></div> |
|
187 <hr /> |
|
188 </body></html> |