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.SiteInfo.SiteInfoDialog</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.WebBrowser.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>securityStyleFormat</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.__imageReplyFinished">__imageReplyFinished</a></td> <td>Private slot handling the loading of an image.</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.__processImageTags">__processImageTags</a></td> <td>Private method to process the image tags.</td> </tr> <tr> <td><a href="#SiteInfoDialog.__processMetaAttributes">__processMetaAttributes</a></td> <td>Private method to process the meta attributes.</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.__showLoadingText">__showLoadingText</a></td> <td>Private method to show some text while loading an image.</td> </tr> <tr> <td><a href="#SiteInfoDialog.__showPixmap">__showPixmap</a></td> <td>Private method to show a pixmap in the preview pane.</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>act</i>) <p> Private slot to copy the image URL or the image name to the clipboard. </p> <dl> <dt><i>act</i> (QAction)</dt> <dd> reference to the action that triggered </dd> </dl> <a NAME="SiteInfoDialog.__imageReplyFinished" ID="SiteInfoDialog.__imageReplyFinished"></a> <h4>SiteInfoDialog.__imageReplyFinished</h4> <b>__imageReplyFinished</b>(<i></i>) <p> Private slot handling the loading of an image. </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.__processImageTags" ID="SiteInfoDialog.__processImageTags"></a> <h4>SiteInfoDialog.__processImageTags</h4> <b>__processImageTags</b>(<i>res</i>) <p> Private method to process the image tags. </p> <dl> <dt><i>res</i> (list of dict)</dt> <dd> result of the JavaScript script </dd> </dl> <a NAME="SiteInfoDialog.__processMetaAttributes" ID="SiteInfoDialog.__processMetaAttributes"></a> <h4>SiteInfoDialog.__processMetaAttributes</h4> <b>__processMetaAttributes</b>(<i>res</i>) <p> Private method to process the meta attributes. </p> <dl> <dt><i>res</i> (list of dict)</dt> <dd> result of the JavaScript script </dd> </dl> <a NAME="SiteInfoDialog.__saveImage" ID="SiteInfoDialog.__saveImage"></a> <h4>SiteInfoDialog.__saveImage</h4> <b>__saveImage</b>(<i>act</i>) <p> Private slot to save the selected image to disk. </p> <dl> <dt><i>act</i> (QAction)</dt> <dd> reference to the action that triggered </dd> </dl> <a NAME="SiteInfoDialog.__showLoadingText" ID="SiteInfoDialog.__showLoadingText"></a> <h4>SiteInfoDialog.__showLoadingText</h4> <b>__showLoadingText</b>(<i></i>) <p> Private method to show some text while loading an image. </p> <a NAME="SiteInfoDialog.__showPixmap" ID="SiteInfoDialog.__showPixmap"></a> <h4>SiteInfoDialog.__showPixmap</h4> <b>__showPixmap</b>(<i>pixmap</i>) <p> Private method to show a pixmap in the preview pane. </p> <dl> <dt><i>pixmap</i> (QPixmap)</dt> <dd> pixmap to be shown </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>