eric6/Documentation/Source/eric6.Helpviewer.PersonalInformationManager.PersonalInformationManager.html

branch
maintenance
changeset 7286
7eb04391adf7
parent 7226
babe80d84a3e
parent 7285
1ff497f33f31
child 7287
1c17f2191bdd
equal deleted inserted replaced
7226:babe80d84a3e 7286:7eb04391adf7
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Helpviewer.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.Helpviewer.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.__nameMatch">__nameMatch</a></td>
72 <td>Private method to find the information entry for the given field.</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>act</i>)
107 <p>
108 Private slot to insert the selected personal information.
109 </p><dl>
110 <dt><i>act</i> (QAction)</dt>
111 <dd>
112 reference to the action that triggered
113 </dd>
114 </dl><a NAME="PersonalInformationManager.__loadSettings" ID="PersonalInformationManager.__loadSettings"></a>
115 <h4>PersonalInformationManager.__loadSettings</h4>
116 <b>__loadSettings</b>(<i></i>)
117 <p>
118 Private method to load the settings.
119 </p><a NAME="PersonalInformationManager.__nameMatch" ID="PersonalInformationManager.__nameMatch"></a>
120 <h4>PersonalInformationManager.__nameMatch</h4>
121 <b>__nameMatch</b>(<i>name</i>)
122 <p>
123 Private method to find the information entry for the given field.
124 </p><dl>
125 <dt><i>name</i></dt>
126 <dd>
127 name of the form field (string)
128 </dd>
129 </dl><dl>
130 <dt>Returns:</dt>
131 <dd>
132 value of the information entry (integer)
133 </dd>
134 </dl><a NAME="PersonalInformationManager.__pageLoadFinished" ID="PersonalInformationManager.__pageLoadFinished"></a>
135 <h4>PersonalInformationManager.__pageLoadFinished</h4>
136 <b>__pageLoadFinished</b>(<i>ok, page</i>)
137 <p>
138 Private slot to handle the completion of a page load.
139 </p><dl>
140 <dt><i>ok</i> (bool)</dt>
141 <dd>
142 flag indicating a successful load
143 </dd><dt><i>page</i> (HelpWebPage)</dt>
144 <dd>
145 reference to the web page object
146 </dd>
147 </dl><a NAME="PersonalInformationManager.connectPage" ID="PersonalInformationManager.connectPage"></a>
148 <h4>PersonalInformationManager.connectPage</h4>
149 <b>connectPage</b>(<i>page</i>)
150 <p>
151 Public method to allow the personal information manager to connect to
152 the page.
153 </p><dl>
154 <dt><i>page</i></dt>
155 <dd>
156 reference to the web page (HelpWebPage)
157 </dd>
158 </dl><a NAME="PersonalInformationManager.createSubMenu" ID="PersonalInformationManager.createSubMenu"></a>
159 <h4>PersonalInformationManager.createSubMenu</h4>
160 <b>createSubMenu</b>(<i>menu, view, hitTestResult</i>)
161 <p>
162 Public method to create the personal information sub-menu.
163 </p><dl>
164 <dt><i>menu</i></dt>
165 <dd>
166 reference to the main menu (QMenu)
167 </dd><dt><i>view</i></dt>
168 <dd>
169 reference to the view (HelpBrowser)
170 </dd><dt><i>hitTestResult</i></dt>
171 <dd>
172 reference to the hit test result
173 (QWebHitTestResult)
174 </dd>
175 </dl><a NAME="PersonalInformationManager.showConfigurationDialog" ID="PersonalInformationManager.showConfigurationDialog"></a>
176 <h4>PersonalInformationManager.showConfigurationDialog</h4>
177 <b>showConfigurationDialog</b>(<i></i>)
178 <p>
179 Public method to show the configuration dialog.
180 </p><a NAME="PersonalInformationManager.viewKeyPressEvent" ID="PersonalInformationManager.viewKeyPressEvent"></a>
181 <h4>PersonalInformationManager.viewKeyPressEvent</h4>
182 <b>viewKeyPressEvent</b>(<i>view, evt</i>)
183 <p>
184 Protected method to handle key press events we are interested in.
185 </p><dl>
186 <dt><i>view</i></dt>
187 <dd>
188 reference to the view (HelpBrowser)
189 </dd><dt><i>evt</i></dt>
190 <dd>
191 reference to the key event (QKeyEvent)
192 </dd>
193 </dl><dl>
194 <dt>Returns:</dt>
195 <dd>
196 flag indicating handling of the event (boolean)
197 </dd>
198 </dl>
199 <div align="right"><a href="#top">Up</a></div>
200 <hr />
201 </body></html>

eric ide

mercurial