Documentation/Source/eric6.Helpviewer.SiteInfo.SiteInfoDialog.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.SiteInfo.SiteInfoDialog</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.SiteInfo.SiteInfoDialog</h1>
<p>
Module implementing a dialog to show some information about a site.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#SiteInfoDialog">SiteInfoDialog</a></td>
<td>Class implementing a dialog to show some information about a site.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="SiteInfoDialog" ID="SiteInfoDialog"></a>
<h2>SiteInfoDialog</h2>
<p>
    Class implementing a dialog to show some information about a site.
</p>
<h3>Derived from</h3>
QDialog, Ui_SiteInfoDialog
<h3>Class Attributes</h3>
<table>
<tr><td>nokStyle</td></tr><tr><td>okStyle</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#SiteInfoDialog.__init__">SiteInfoDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#SiteInfoDialog.__copyAction">__copyAction</a></td>
<td>Private slot to copy the image URL or the image name to the clipboard.</td>
</tr><tr>
<td><a href="#SiteInfoDialog.__imagesTreeContextMenuRequested">__imagesTreeContextMenuRequested</a></td>
<td>Private slot to show a context menu for the images list.</td>
</tr><tr>
<td><a href="#SiteInfoDialog.__saveImage">__saveImage</a></td>
<td>Private slot to save the selected image to disk.</td>
</tr><tr>
<td><a href="#SiteInfoDialog.on_databasesList_currentItemChanged">on_databasesList_currentItemChanged</a></td>
<td>Private slot to show data about the selected database.</td>
</tr><tr>
<td><a href="#SiteInfoDialog.on_imagesTree_currentItemChanged">on_imagesTree_currentItemChanged</a></td>
<td>Private slot to show a preview of the selected image.</td>
</tr><tr>
<td><a href="#SiteInfoDialog.on_securityDetailsButton_clicked">on_securityDetailsButton_clicked</a></td>
<td>Private slot to show security details.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="SiteInfoDialog.__init__" ID="SiteInfoDialog.__init__"></a>
<h4>SiteInfoDialog (Constructor)</h4>
<b>SiteInfoDialog</b>(<i>browser, parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>browser</i></dt>
<dd>
reference to the browser window (HelpBrowser)
</dd><dt><i>parent</i></dt>
<dd>
reference to the parent widget (QWidget)
</dd>
</dl><a NAME="SiteInfoDialog.__copyAction" ID="SiteInfoDialog.__copyAction"></a>
<h4>SiteInfoDialog.__copyAction</h4>
<b>__copyAction</b>(<i></i>)
<p>
        Private slot to copy the image URL or the image name to the clipboard.
</p><a NAME="SiteInfoDialog.__imagesTreeContextMenuRequested" ID="SiteInfoDialog.__imagesTreeContextMenuRequested"></a>
<h4>SiteInfoDialog.__imagesTreeContextMenuRequested</h4>
<b>__imagesTreeContextMenuRequested</b>(<i>pos</i>)
<p>
        Private slot to show a context menu for the images list.
</p><dl>
<dt><i>pos</i></dt>
<dd>
position for the menu (QPoint)
</dd>
</dl><a NAME="SiteInfoDialog.__saveImage" ID="SiteInfoDialog.__saveImage"></a>
<h4>SiteInfoDialog.__saveImage</h4>
<b>__saveImage</b>(<i></i>)
<p>
        Private slot to save the selected image to disk.
</p><a NAME="SiteInfoDialog.on_databasesList_currentItemChanged" ID="SiteInfoDialog.on_databasesList_currentItemChanged"></a>
<h4>SiteInfoDialog.on_databasesList_currentItemChanged</h4>
<b>on_databasesList_currentItemChanged</b>(<i>current, previous</i>)
<p>
        Private slot to show data about the selected database.
</p><dl>
<dt><i>current</i></dt>
<dd>
current database entry (QTreeWidgetItem)
</dd><dt><i>previous</i></dt>
<dd>
old current entry (QTreeWidgetItem)
</dd>
</dl><a NAME="SiteInfoDialog.on_imagesTree_currentItemChanged" ID="SiteInfoDialog.on_imagesTree_currentItemChanged"></a>
<h4>SiteInfoDialog.on_imagesTree_currentItemChanged</h4>
<b>on_imagesTree_currentItemChanged</b>(<i>current, previous</i>)
<p>
        Private slot to show a preview of the selected image.
</p><dl>
<dt><i>current</i></dt>
<dd>
current image entry (QTreeWidgetItem)
</dd><dt><i>previous</i></dt>
<dd>
old current entry (QTreeWidgetItem)
</dd>
</dl><a NAME="SiteInfoDialog.on_securityDetailsButton_clicked" ID="SiteInfoDialog.on_securityDetailsButton_clicked"></a>
<h4>SiteInfoDialog.on_securityDetailsButton_clicked</h4>
<b>on_securityDetailsButton_clicked</b>(<i></i>)
<p>
        Private slot to show security details.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial