--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/Documentation/Source/eric7.WebBrowser.StatusBar.JavaScriptIcon.html Mon May 24 11:19:57 2021 +0200 @@ -0,0 +1,195 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.WebBrowser.StatusBar.JavaScriptIcon</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>eric7.WebBrowser.StatusBar.JavaScriptIcon</h1> + +<p> +Module implementing the JavaScript status bar icon. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#JavaScriptIcon">JavaScriptIcon</a></td> +<td>Class implementing the JavaScript status bar icon.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="JavaScriptIcon" ID="JavaScriptIcon"></a> +<h2>JavaScriptIcon</h2> + +<p> + Class implementing the JavaScript status bar icon. +</p> +<h3>Derived from</h3> +StatusBarIcon +<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="#JavaScriptIcon.__init__">JavaScriptIcon</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#JavaScriptIcon.__navigationRequestAccepted">__navigationRequestAccepted</a></td> +<td>Private method to handle the navigationRequestAccepted signal.</td> +</tr> +<tr> +<td><a href="#JavaScriptIcon.__showJavaScriptSettingsDialog">__showJavaScriptSettingsDialog</a></td> +<td>Private slot to show the JavaScript settings dialog.</td> +</tr> +<tr> +<td><a href="#JavaScriptIcon.__showMenu">__showMenu</a></td> +<td>Private slot to show the menu.</td> +</tr> +<tr> +<td><a href="#JavaScriptIcon.__toggleJavaScript">__toggleJavaScript</a></td> +<td>Private slot to toggle the JavaScript setting.</td> +</tr> +<tr> +<td><a href="#JavaScriptIcon.__updateIcon">__updateIcon</a></td> +<td>Private slot to update the icon.</td> +</tr> +<tr> +<td><a href="#JavaScriptIcon.preferencesChanged">preferencesChanged</a></td> +<td>Public method to handle changes of the settings.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="JavaScriptIcon.__init__" ID="JavaScriptIcon.__init__"></a> +<h4>JavaScriptIcon (Constructor)</h4> +<b>JavaScriptIcon</b>(<i>window</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>window</i> (WebBrowserWindow)</dt> +<dd> +reference to the web browser window +</dd> +</dl> +<a NAME="JavaScriptIcon.__navigationRequestAccepted" ID="JavaScriptIcon.__navigationRequestAccepted"></a> +<h4>JavaScriptIcon.__navigationRequestAccepted</h4> +<b>__navigationRequestAccepted</b>(<i>url, navigationType, isMainFrame, page</i>) + +<p> + Private method to handle the navigationRequestAccepted signal. +</p> +<dl> + +<dt><i>url</i> (QUrl)</dt> +<dd> +URL being loaded +</dd> +<dt><i>navigationType</i> (QWebEnginePage.NavigationType)</dt> +<dd> +type of navigation request +</dd> +<dt><i>isMainFrame</i> (bool)</dt> +<dd> +flag indicating a navigation request of the + main frame +</dd> +<dt><i>page</i> (WebBrowserPage)</dt> +<dd> +reference to the web page +</dd> +</dl> +<a NAME="JavaScriptIcon.__showJavaScriptSettingsDialog" ID="JavaScriptIcon.__showJavaScriptSettingsDialog"></a> +<h4>JavaScriptIcon.__showJavaScriptSettingsDialog</h4> +<b>__showJavaScriptSettingsDialog</b>(<i></i>) + +<p> + Private slot to show the JavaScript settings dialog. +</p> +<p> + Note: This is the JavaScript subset of the web browser configuration + page. +</p> +<a NAME="JavaScriptIcon.__showMenu" ID="JavaScriptIcon.__showMenu"></a> +<h4>JavaScriptIcon.__showMenu</h4> +<b>__showMenu</b>(<i>pos</i>) + +<p> + Private slot to show the menu. +</p> +<dl> + +<dt><i>pos</i> (QPoint)</dt> +<dd> +position to show the menu at +</dd> +</dl> +<a NAME="JavaScriptIcon.__toggleJavaScript" ID="JavaScriptIcon.__toggleJavaScript"></a> +<h4>JavaScriptIcon.__toggleJavaScript</h4> +<b>__toggleJavaScript</b>(<i></i>) + +<p> + Private slot to toggle the JavaScript setting. +</p> +<a NAME="JavaScriptIcon.__updateIcon" ID="JavaScriptIcon.__updateIcon"></a> +<h4>JavaScriptIcon.__updateIcon</h4> +<b>__updateIcon</b>(<i></i>) + +<p> + Private slot to update the icon. +</p> +<a NAME="JavaScriptIcon.preferencesChanged" ID="JavaScriptIcon.preferencesChanged"></a> +<h4>JavaScriptIcon.preferencesChanged</h4> +<b>preferencesChanged</b>(<i></i>) + +<p> + Public method to handle changes of the settings. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file