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

Tue, 24 Oct 2017 19:09:09 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 24 Oct 2017 19:09:09 +0200
changeset 5928
a3809f75ca07
parent 3673
e26d7d0c1088
child 6123
39cd368143db
permissions
-rw-r--r--

Changed the logic of the two web browsers in order to put new downloads at the top of the list of downloads and add the download date and time to the shown info.

<!DOCTYPE html>
<html><head>
<title>eric6.Helpviewer.PersonalInformationManager.PersonalInformationManager</title>
<meta charset="UTF-8">
<style>
body {
    background: #EDECE6;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: white; background: #9D936E; }
h4 { color: white; background: #9D936E; }
    
a { color: #BA6D36; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric6.Helpviewer.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.__nameMatch">__nameMatch</a></td>
<td>Private method to find the information entry for the given field.</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></i>)
<p>
        Private slot to insert the selected personal information.
</p><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.__nameMatch" ID="PersonalInformationManager.__nameMatch"></a>
<h4>PersonalInformationManager.__nameMatch</h4>
<b>__nameMatch</b>(<i>name</i>)
<p>
        Private method to find the information entry for the given field.
</p><dl>
<dt><i>name</i></dt>
<dd>
name of the form field (string)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
value of the information entry (integer)
</dd>
</dl><a NAME="PersonalInformationManager.__pageLoadFinished" ID="PersonalInformationManager.__pageLoadFinished"></a>
<h4>PersonalInformationManager.__pageLoadFinished</h4>
<b>__pageLoadFinished</b>(<i>ok</i>)
<p>
        Private slot to handle the completion of a page load.
</p><dl>
<dt><i>ok</i></dt>
<dd>
flag indicating a successful load (boolean)
</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></dt>
<dd>
reference to the web page (HelpWebPage)
</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
            (QWebHitTestResult)
</dd>
</dl><a NAME="PersonalInformationManager.showConfigurationDialog" ID="PersonalInformationManager.showConfigurationDialog"></a>
<h4>PersonalInformationManager.showConfigurationDialog</h4>
<b>showConfigurationDialog</b>(<i></i>)
<p>
        Public method to show the configuration dialog.
</p><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>Returns:</dt>
<dd>
flag indicating handling of the event (boolean)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial