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

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 10493
f795d68d8e09
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

<!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>
<tr>
<td><a href="#PersonalInformationType">PersonalInformationType</a></td>
<td>Class defining the personal information types.</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>None</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> (QObject)</dt>
<dd>
reference to the parent object
</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> (QMenu)</dt>
<dd>
reference to the main menu
</dd>
<dt><i>view</i> (WebBrowserView)</dt>
<dd>
reference to the view
</dd>
<dt><i>hitTestResult</i> (WebHitTestResult)</dt>
<dd>
reference to the hit test result
</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> (WebBrowserView)</dt>
<dd>
reference to the view
</dd>
<dt><i>evt</i> (QKeyEvent)</dt>
<dd>
reference to the key event
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
flag indicating handling of the event
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
bool
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
<hr />
<a NAME="PersonalInformationType" ID="PersonalInformationType"></a>
<h2>PersonalInformationType</h2>
<p>
    Class defining the personal information types.
</p>

<h3>Derived from</h3>
enum.Enum
<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>None</td></tr>
</table>

<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>


<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial