Mon, 09 Jan 2023 11:22:56 +0100
Moved the 'QtHelp' subpackage out of the WebBrowser package because it is used in the HelpViewer as well.
<!DOCTYPE html> <html><head> <title>eric7.WebBrowser.PersonalInformationManager.PersonalInformationManager</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.WebBrowser.PersonalInformationManager.PersonalInformationManager</h1> <p> Module implementing a personal information manager used to complete form fields. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#PersonalInformationManager">PersonalInformationManager</a></td> <td>Class implementing the personal information manager used to complete form fields.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="PersonalInformationManager" ID="PersonalInformationManager"></a> <h2>PersonalInformationManager</h2> <p> Class implementing the personal information manager used to complete form fields. </p> <h3>Derived from</h3> QObject <h3>Class Attributes</h3> <table> <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> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#PersonalInformationManager.__init__">PersonalInformationManager</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#PersonalInformationManager.__insertData">__insertData</a></td> <td>Private slot to insert the selected personal information.</td> </tr> <tr> <td><a href="#PersonalInformationManager.__loadSettings">__loadSettings</a></td> <td>Private method to load the settings.</td> </tr> <tr> <td><a href="#PersonalInformationManager.__matchingJsTable">__matchingJsTable</a></td> <td>Private method to create the common part of the JavaScript sources.</td> </tr> <tr> <td><a href="#PersonalInformationManager.__pageLoadFinished">__pageLoadFinished</a></td> <td>Private slot to handle the completion of a page load.</td> </tr> <tr> <td><a href="#PersonalInformationManager.connectPage">connectPage</a></td> <td>Public method to allow the personal information manager to connect to the page.</td> </tr> <tr> <td><a href="#PersonalInformationManager.createSubMenu">createSubMenu</a></td> <td>Public method to create the personal information sub-menu.</td> </tr> <tr> <td><a href="#PersonalInformationManager.showConfigurationDialog">showConfigurationDialog</a></td> <td>Public method to show the configuration dialog.</td> </tr> <tr> <td><a href="#PersonalInformationManager.viewKeyPressEvent">viewKeyPressEvent</a></td> <td>Protected method to handle key press events we are interested in.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="PersonalInformationManager.__init__" ID="PersonalInformationManager.__init__"></a> <h4>PersonalInformationManager (Constructor)</h4> <b>PersonalInformationManager</b>(<i>parent=None</i>) <p> Constructor </p> <dl> <dt><i>parent</i></dt> <dd> reference to the parent object (QObject) </dd> </dl> <a NAME="PersonalInformationManager.__insertData" ID="PersonalInformationManager.__insertData"></a> <h4>PersonalInformationManager.__insertData</h4> <b>__insertData</b>(<i>act</i>) <p> Private slot to insert the selected personal information. </p> <dl> <dt><i>act</i> (QAction)</dt> <dd> reference to the action that triggered </dd> </dl> <a NAME="PersonalInformationManager.__loadSettings" ID="PersonalInformationManager.__loadSettings"></a> <h4>PersonalInformationManager.__loadSettings</h4> <b>__loadSettings</b>(<i></i>) <p> Private method to load the settings. </p> <a NAME="PersonalInformationManager.__matchingJsTable" ID="PersonalInformationManager.__matchingJsTable"></a> <h4>PersonalInformationManager.__matchingJsTable</h4> <b>__matchingJsTable</b>(<i></i>) <p> Private method to create the common part of the JavaScript sources. </p> <dl> <dt>Return:</dt> <dd> JavaScript source </dd> </dl> <dl> <dt>Return Type:</dt> <dd> str </dd> </dl> <a NAME="PersonalInformationManager.__pageLoadFinished" ID="PersonalInformationManager.__pageLoadFinished"></a> <h4>PersonalInformationManager.__pageLoadFinished</h4> <b>__pageLoadFinished</b>(<i>ok, page</i>) <p> Private slot to handle the completion of a page load. </p> <dl> <dt><i>ok</i> (bool)</dt> <dd> flag indicating a successful load </dd> <dt><i>page</i> (WebBrowserPage)</dt> <dd> reference to the web page object </dd> </dl> <a NAME="PersonalInformationManager.connectPage" ID="PersonalInformationManager.connectPage"></a> <h4>PersonalInformationManager.connectPage</h4> <b>connectPage</b>(<i>page</i>) <p> Public method to allow the personal information manager to connect to the page. </p> <dl> <dt><i>page</i> (WebBrowserPage)</dt> <dd> reference to the web page </dd> </dl> <a NAME="PersonalInformationManager.createSubMenu" ID="PersonalInformationManager.createSubMenu"></a> <h4>PersonalInformationManager.createSubMenu</h4> <b>createSubMenu</b>(<i>menu, view, hitTestResult</i>) <p> Public method to create the personal information sub-menu. </p> <dl> <dt><i>menu</i></dt> <dd> reference to the main menu (QMenu) </dd> <dt><i>view</i></dt> <dd> reference to the view (HelpBrowser) </dd> <dt><i>hitTestResult</i></dt> <dd> reference to the hit test result (WebHitTestResult) </dd> </dl> <a NAME="PersonalInformationManager.showConfigurationDialog" ID="PersonalInformationManager.showConfigurationDialog"></a> <h4>PersonalInformationManager.showConfigurationDialog</h4> <b>showConfigurationDialog</b>(<i>parent=None</i>) <p> Public method to show the configuration dialog. </p> <dl> <dt><i>parent</i> (QWidget)</dt> <dd> reference to the parent widget </dd> </dl> <a NAME="PersonalInformationManager.viewKeyPressEvent" ID="PersonalInformationManager.viewKeyPressEvent"></a> <h4>PersonalInformationManager.viewKeyPressEvent</h4> <b>viewKeyPressEvent</b>(<i>view, evt</i>) <p> Protected method to handle key press events we are interested in. </p> <dl> <dt><i>view</i></dt> <dd> reference to the view (HelpBrowser) </dd> <dt><i>evt</i></dt> <dd> reference to the key event (QKeyEvent) </dd> </dl> <dl> <dt>Return:</dt> <dd> flag indicating handling of the event (boolean) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>