eric6/Documentation/Source/eric6.WebBrowser.StatusBar.JavaScriptIcon.html

changeset 6942
2602857055c5
parent 6153
0b18c86c03a1
child 7273
391d6b7b1eff
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.WebBrowser.StatusBar.JavaScriptIcon</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.WebBrowser.StatusBar.JavaScriptIcon</h1>
23 <p>
24 Module implementing the JavaScript status bar icon.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#JavaScriptIcon">JavaScriptIcon</a></td>
34 <td>Class implementing the JavaScript status bar icon.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="JavaScriptIcon" ID="JavaScriptIcon"></a>
43 <h2>JavaScriptIcon</h2>
44 <p>
45 Class implementing the JavaScript status bar icon.
46 </p>
47 <h3>Derived from</h3>
48 StatusBarIcon
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#JavaScriptIcon.__init__">JavaScriptIcon</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#JavaScriptIcon.__navigationRequestAccepted">__navigationRequestAccepted</a></td>
64 <td>Private method to handle the navigationRequestAccepted signal.</td>
65 </tr><tr>
66 <td><a href="#JavaScriptIcon.__showJavaScriptSettingsDialog">__showJavaScriptSettingsDialog</a></td>
67 <td>Private slot to show the JavaScript settings dialog.</td>
68 </tr><tr>
69 <td><a href="#JavaScriptIcon.__showMenu">__showMenu</a></td>
70 <td>Private slot to show the menu.</td>
71 </tr><tr>
72 <td><a href="#JavaScriptIcon.__toggleJavaScript">__toggleJavaScript</a></td>
73 <td>Private slot to toggle the JavaScript setting.</td>
74 </tr><tr>
75 <td><a href="#JavaScriptIcon.__updateIcon">__updateIcon</a></td>
76 <td>Private slot to update the icon.</td>
77 </tr><tr>
78 <td><a href="#JavaScriptIcon.preferencesChanged">preferencesChanged</a></td>
79 <td>Public method to handle changes of the settings.</td>
80 </tr>
81 </table>
82 <h3>Static Methods</h3>
83 <table>
84 <tr><td>None</td></tr>
85 </table>
86 <a NAME="JavaScriptIcon.__init__" ID="JavaScriptIcon.__init__"></a>
87 <h4>JavaScriptIcon (Constructor)</h4>
88 <b>JavaScriptIcon</b>(<i>window</i>)
89 <p>
90 Constructor
91 </p><dl>
92 <dt><i>window</i> (WebBrowserWindow)</dt>
93 <dd>
94 reference to the web browser window
95 </dd>
96 </dl><a NAME="JavaScriptIcon.__navigationRequestAccepted" ID="JavaScriptIcon.__navigationRequestAccepted"></a>
97 <h4>JavaScriptIcon.__navigationRequestAccepted</h4>
98 <b>__navigationRequestAccepted</b>(<i>url, navigationType, isMainFrame, page</i>)
99 <p>
100 Private method to handle the navigationRequestAccepted signal.
101 </p><dl>
102 <dt><i>url</i> (QUrl)</dt>
103 <dd>
104 URL being loaded
105 </dd><dt><i>navigationType</i> (QWebEnginePage.NavigationType)</dt>
106 <dd>
107 type of navigation request
108 </dd><dt><i>isMainFrame</i> (bool)</dt>
109 <dd>
110 flag indicating a navigation request of the
111 main frame
112 </dd><dt><i>page</i> (WebBrowserPage)</dt>
113 <dd>
114 reference to the web page
115 </dd>
116 </dl><a NAME="JavaScriptIcon.__showJavaScriptSettingsDialog" ID="JavaScriptIcon.__showJavaScriptSettingsDialog"></a>
117 <h4>JavaScriptIcon.__showJavaScriptSettingsDialog</h4>
118 <b>__showJavaScriptSettingsDialog</b>(<i></i>)
119 <p>
120 Private slot to show the JavaScript settings dialog.
121 </p><p>
122 Note: This is the JavaScript subset of the web browser configuration
123 page.
124 </p><a NAME="JavaScriptIcon.__showMenu" ID="JavaScriptIcon.__showMenu"></a>
125 <h4>JavaScriptIcon.__showMenu</h4>
126 <b>__showMenu</b>(<i>pos</i>)
127 <p>
128 Private slot to show the menu.
129 </p><dl>
130 <dt><i>pos</i> (QPoint)</dt>
131 <dd>
132 position to show the menu at
133 </dd>
134 </dl><a NAME="JavaScriptIcon.__toggleJavaScript" ID="JavaScriptIcon.__toggleJavaScript"></a>
135 <h4>JavaScriptIcon.__toggleJavaScript</h4>
136 <b>__toggleJavaScript</b>(<i></i>)
137 <p>
138 Private slot to toggle the JavaScript setting.
139 </p><a NAME="JavaScriptIcon.__updateIcon" ID="JavaScriptIcon.__updateIcon"></a>
140 <h4>JavaScriptIcon.__updateIcon</h4>
141 <b>__updateIcon</b>(<i></i>)
142 <p>
143 Private slot to update the icon.
144 </p><a NAME="JavaScriptIcon.preferencesChanged" ID="JavaScriptIcon.preferencesChanged"></a>
145 <h4>JavaScriptIcon.preferencesChanged</h4>
146 <b>preferencesChanged</b>(<i></i>)
147 <p>
148 Public method to handle changes of the settings.
149 </p>
150 <div align="right"><a href="#top">Up</a></div>
151 <hr />
152 </body></html>

eric ide

mercurial