Wed, 11 Apr 2012 19:11:49 +0200
Added a page to the site info dialog to show web databases of the site.
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> <html><head> <title>eric5.Helpviewer.SiteInfo.SiteInfoDialog</title> <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>eric5.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>