|
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.__showJavaScriptSettingsDialog">__showJavaScriptSettingsDialog</a></td> |
|
64 <td>Private slot to show the JavaScript settings dialog.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#JavaScriptIcon.__showMenu">__showMenu</a></td> |
|
67 <td>Private slot to show the menu.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#JavaScriptIcon.__toggleJavaScript">__toggleJavaScript</a></td> |
|
70 <td>Private slot to toggle the JavaScript setting.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#JavaScriptIcon.__updateIcon">__updateIcon</a></td> |
|
73 <td>Private slot to update the icon.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#JavaScriptIcon.preferencesChanged">preferencesChanged</a></td> |
|
76 <td>Public method to handle changes of the settings.</td> |
|
77 </tr> |
|
78 </table> |
|
79 <h3>Static Methods</h3> |
|
80 <table> |
|
81 <tr><td>None</td></tr> |
|
82 </table> |
|
83 <a NAME="JavaScriptIcon.__init__" ID="JavaScriptIcon.__init__"></a> |
|
84 <h4>JavaScriptIcon (Constructor)</h4> |
|
85 <b>JavaScriptIcon</b>(<i>window</i>) |
|
86 <p> |
|
87 Constructor |
|
88 </p><dl> |
|
89 <dt><i>window</i> (WebBrowserWindow)</dt> |
|
90 <dd> |
|
91 reference to the web browser window |
|
92 </dd> |
|
93 </dl><a NAME="JavaScriptIcon.__showJavaScriptSettingsDialog" ID="JavaScriptIcon.__showJavaScriptSettingsDialog"></a> |
|
94 <h4>JavaScriptIcon.__showJavaScriptSettingsDialog</h4> |
|
95 <b>__showJavaScriptSettingsDialog</b>(<i></i>) |
|
96 <p> |
|
97 Private slot to show the JavaScript settings dialog. |
|
98 </p><p> |
|
99 Note: This is the JavaScript subset of the web browser configuration |
|
100 page. |
|
101 </p><a NAME="JavaScriptIcon.__showMenu" ID="JavaScriptIcon.__showMenu"></a> |
|
102 <h4>JavaScriptIcon.__showMenu</h4> |
|
103 <b>__showMenu</b>(<i>pos</i>) |
|
104 <p> |
|
105 Private slot to show the menu. |
|
106 </p><dl> |
|
107 <dt><i>pos</i> (QPoint)</dt> |
|
108 <dd> |
|
109 position to show the menu at |
|
110 </dd> |
|
111 </dl><a NAME="JavaScriptIcon.__toggleJavaScript" ID="JavaScriptIcon.__toggleJavaScript"></a> |
|
112 <h4>JavaScriptIcon.__toggleJavaScript</h4> |
|
113 <b>__toggleJavaScript</b>(<i></i>) |
|
114 <p> |
|
115 Private slot to toggle the JavaScript setting. |
|
116 </p><a NAME="JavaScriptIcon.__updateIcon" ID="JavaScriptIcon.__updateIcon"></a> |
|
117 <h4>JavaScriptIcon.__updateIcon</h4> |
|
118 <b>__updateIcon</b>(<i></i>) |
|
119 <p> |
|
120 Private slot to update the icon. |
|
121 </p><a NAME="JavaScriptIcon.preferencesChanged" ID="JavaScriptIcon.preferencesChanged"></a> |
|
122 <h4>JavaScriptIcon.preferencesChanged</h4> |
|
123 <b>preferencesChanged</b>(<i></i>) |
|
124 <p> |
|
125 Public method to handle changes of the settings. |
|
126 </p> |
|
127 <div align="right"><a href="#top">Up</a></div> |
|
128 <hr /> |
|
129 </body></html> |