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

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.WebBrowser.StatusBar.JavaScriptIcon</h1> 23 <h1>eric6.WebBrowser.StatusBar.JavaScriptIcon</h1>
24
23 <p> 25 <p>
24 Module implementing the JavaScript status bar icon. 26 Module implementing the JavaScript status bar icon.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
34
31 <table> 35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#JavaScriptIcon">JavaScriptIcon</a></td> 38 <td><a href="#JavaScriptIcon">JavaScriptIcon</a></td>
34 <td>Class implementing the JavaScript status bar icon.</td> 39 <td>Class implementing the JavaScript status bar icon.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
43
38 <table> 44 <table>
39 <tr><td>None</td></tr> 45 <tr><td>None</td></tr>
40 </table> 46 </table>
41 <hr /><hr /> 47 <hr />
48 <hr />
42 <a NAME="JavaScriptIcon" ID="JavaScriptIcon"></a> 49 <a NAME="JavaScriptIcon" ID="JavaScriptIcon"></a>
43 <h2>JavaScriptIcon</h2> 50 <h2>JavaScriptIcon</h2>
51
44 <p> 52 <p>
45 Class implementing the JavaScript status bar icon. 53 Class implementing the JavaScript status bar icon.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 StatusBarIcon 56 StatusBarIcon
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>None</td></tr> 60 <tr><td>None</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
68
58 <table> 69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#JavaScriptIcon.__init__">JavaScriptIcon</a></td> 72 <td><a href="#JavaScriptIcon.__init__">JavaScriptIcon</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#JavaScriptIcon.__navigationRequestAccepted">__navigationRequestAccepted</a></td> 76 <td><a href="#JavaScriptIcon.__navigationRequestAccepted">__navigationRequestAccepted</a></td>
64 <td>Private method to handle the navigationRequestAccepted signal.</td> 77 <td>Private method to handle the navigationRequestAccepted signal.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#JavaScriptIcon.__showJavaScriptSettingsDialog">__showJavaScriptSettingsDialog</a></td> 80 <td><a href="#JavaScriptIcon.__showJavaScriptSettingsDialog">__showJavaScriptSettingsDialog</a></td>
67 <td>Private slot to show the JavaScript settings dialog.</td> 81 <td>Private slot to show the JavaScript settings dialog.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#JavaScriptIcon.__showMenu">__showMenu</a></td> 84 <td><a href="#JavaScriptIcon.__showMenu">__showMenu</a></td>
70 <td>Private slot to show the menu.</td> 85 <td>Private slot to show the menu.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#JavaScriptIcon.__toggleJavaScript">__toggleJavaScript</a></td> 88 <td><a href="#JavaScriptIcon.__toggleJavaScript">__toggleJavaScript</a></td>
73 <td>Private slot to toggle the JavaScript setting.</td> 89 <td>Private slot to toggle the JavaScript setting.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#JavaScriptIcon.__updateIcon">__updateIcon</a></td> 92 <td><a href="#JavaScriptIcon.__updateIcon">__updateIcon</a></td>
76 <td>Private slot to update the icon.</td> 93 <td>Private slot to update the icon.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#JavaScriptIcon.preferencesChanged">preferencesChanged</a></td> 96 <td><a href="#JavaScriptIcon.preferencesChanged">preferencesChanged</a></td>
79 <td>Public method to handle changes of the settings.</td> 97 <td>Public method to handle changes of the settings.</td>
80 </tr> 98 </tr>
81 </table> 99 </table>
82 <h3>Static Methods</h3> 100 <h3>Static Methods</h3>
101
83 <table> 102 <table>
84 <tr><td>None</td></tr> 103 <tr><td>None</td></tr>
85 </table> 104 </table>
105
86 <a NAME="JavaScriptIcon.__init__" ID="JavaScriptIcon.__init__"></a> 106 <a NAME="JavaScriptIcon.__init__" ID="JavaScriptIcon.__init__"></a>
87 <h4>JavaScriptIcon (Constructor)</h4> 107 <h4>JavaScriptIcon (Constructor)</h4>
88 <b>JavaScriptIcon</b>(<i>window</i>) 108 <b>JavaScriptIcon</b>(<i>window</i>)
109
89 <p> 110 <p>
90 Constructor 111 Constructor
91 </p><dl> 112 </p>
113 <dl>
114
92 <dt><i>window</i> (WebBrowserWindow)</dt> 115 <dt><i>window</i> (WebBrowserWindow)</dt>
93 <dd> 116 <dd>
94 reference to the web browser window 117 reference to the web browser window
95 </dd> 118 </dd>
96 </dl><a NAME="JavaScriptIcon.__navigationRequestAccepted" ID="JavaScriptIcon.__navigationRequestAccepted"></a> 119 </dl>
120 <a NAME="JavaScriptIcon.__navigationRequestAccepted" ID="JavaScriptIcon.__navigationRequestAccepted"></a>
97 <h4>JavaScriptIcon.__navigationRequestAccepted</h4> 121 <h4>JavaScriptIcon.__navigationRequestAccepted</h4>
98 <b>__navigationRequestAccepted</b>(<i>url, navigationType, isMainFrame, page</i>) 122 <b>__navigationRequestAccepted</b>(<i>url, navigationType, isMainFrame, page</i>)
123
99 <p> 124 <p>
100 Private method to handle the navigationRequestAccepted signal. 125 Private method to handle the navigationRequestAccepted signal.
101 </p><dl> 126 </p>
127 <dl>
128
102 <dt><i>url</i> (QUrl)</dt> 129 <dt><i>url</i> (QUrl)</dt>
103 <dd> 130 <dd>
104 URL being loaded 131 URL being loaded
105 </dd><dt><i>navigationType</i> (QWebEnginePage.NavigationType)</dt> 132 </dd>
133 <dt><i>navigationType</i> (QWebEnginePage.NavigationType)</dt>
106 <dd> 134 <dd>
107 type of navigation request 135 type of navigation request
108 </dd><dt><i>isMainFrame</i> (bool)</dt> 136 </dd>
137 <dt><i>isMainFrame</i> (bool)</dt>
109 <dd> 138 <dd>
110 flag indicating a navigation request of the 139 flag indicating a navigation request of the
111 main frame 140 main frame
112 </dd><dt><i>page</i> (WebBrowserPage)</dt> 141 </dd>
142 <dt><i>page</i> (WebBrowserPage)</dt>
113 <dd> 143 <dd>
114 reference to the web page 144 reference to the web page
115 </dd> 145 </dd>
116 </dl><a NAME="JavaScriptIcon.__showJavaScriptSettingsDialog" ID="JavaScriptIcon.__showJavaScriptSettingsDialog"></a> 146 </dl>
147 <a NAME="JavaScriptIcon.__showJavaScriptSettingsDialog" ID="JavaScriptIcon.__showJavaScriptSettingsDialog"></a>
117 <h4>JavaScriptIcon.__showJavaScriptSettingsDialog</h4> 148 <h4>JavaScriptIcon.__showJavaScriptSettingsDialog</h4>
118 <b>__showJavaScriptSettingsDialog</b>(<i></i>) 149 <b>__showJavaScriptSettingsDialog</b>(<i></i>)
150
119 <p> 151 <p>
120 Private slot to show the JavaScript settings dialog. 152 Private slot to show the JavaScript settings dialog.
121 </p><p> 153 </p>
154 <p>
122 Note: This is the JavaScript subset of the web browser configuration 155 Note: This is the JavaScript subset of the web browser configuration
123 page. 156 page.
124 </p><a NAME="JavaScriptIcon.__showMenu" ID="JavaScriptIcon.__showMenu"></a> 157 </p>
158 <a NAME="JavaScriptIcon.__showMenu" ID="JavaScriptIcon.__showMenu"></a>
125 <h4>JavaScriptIcon.__showMenu</h4> 159 <h4>JavaScriptIcon.__showMenu</h4>
126 <b>__showMenu</b>(<i>pos</i>) 160 <b>__showMenu</b>(<i>pos</i>)
161
127 <p> 162 <p>
128 Private slot to show the menu. 163 Private slot to show the menu.
129 </p><dl> 164 </p>
165 <dl>
166
130 <dt><i>pos</i> (QPoint)</dt> 167 <dt><i>pos</i> (QPoint)</dt>
131 <dd> 168 <dd>
132 position to show the menu at 169 position to show the menu at
133 </dd> 170 </dd>
134 </dl><a NAME="JavaScriptIcon.__toggleJavaScript" ID="JavaScriptIcon.__toggleJavaScript"></a> 171 </dl>
172 <a NAME="JavaScriptIcon.__toggleJavaScript" ID="JavaScriptIcon.__toggleJavaScript"></a>
135 <h4>JavaScriptIcon.__toggleJavaScript</h4> 173 <h4>JavaScriptIcon.__toggleJavaScript</h4>
136 <b>__toggleJavaScript</b>(<i></i>) 174 <b>__toggleJavaScript</b>(<i></i>)
175
137 <p> 176 <p>
138 Private slot to toggle the JavaScript setting. 177 Private slot to toggle the JavaScript setting.
139 </p><a NAME="JavaScriptIcon.__updateIcon" ID="JavaScriptIcon.__updateIcon"></a> 178 </p>
179 <a NAME="JavaScriptIcon.__updateIcon" ID="JavaScriptIcon.__updateIcon"></a>
140 <h4>JavaScriptIcon.__updateIcon</h4> 180 <h4>JavaScriptIcon.__updateIcon</h4>
141 <b>__updateIcon</b>(<i></i>) 181 <b>__updateIcon</b>(<i></i>)
182
142 <p> 183 <p>
143 Private slot to update the icon. 184 Private slot to update the icon.
144 </p><a NAME="JavaScriptIcon.preferencesChanged" ID="JavaScriptIcon.preferencesChanged"></a> 185 </p>
186 <a NAME="JavaScriptIcon.preferencesChanged" ID="JavaScriptIcon.preferencesChanged"></a>
145 <h4>JavaScriptIcon.preferencesChanged</h4> 187 <h4>JavaScriptIcon.preferencesChanged</h4>
146 <b>preferencesChanged</b>(<i></i>) 188 <b>preferencesChanged</b>(<i></i>)
189
147 <p> 190 <p>
148 Public method to handle changes of the settings. 191 Public method to handle changes of the settings.
149 </p> 192 </p>
150 <div align="right"><a href="#top">Up</a></div> 193 <div align="right"><a href="#top">Up</a></div>
151 <hr /> 194 <hr />

eric ide

mercurial