Documentation/Source/eric6.WebBrowser.AdBlock.AdBlockIcon.html

changeset 6028
859f6894eed9
parent 4918
71caf42a13d8
child 6123
39cd368143db
equal deleted inserted replaced
6027:d056a536670e 6028:859f6894eed9
96 <h4>AdBlockIcon (Constructor)</h4> 96 <h4>AdBlockIcon (Constructor)</h4>
97 <b>AdBlockIcon</b>(<i>parent</i>) 97 <b>AdBlockIcon</b>(<i>parent</i>)
98 <p> 98 <p>
99 Constructor 99 Constructor
100 </p><dl> 100 </p><dl>
101 <dt><i>parent</i></dt> 101 <dt><i>parent</i> (WebBrowserWindow)</dt>
102 <dd> 102 <dd>
103 reference to the parent widget (HelpWindow) 103 reference to the parent widget
104 </dd> 104 </dd>
105 </dl><a NAME="AdBlockIcon.__createMenu" ID="AdBlockIcon.__createMenu"></a> 105 </dl><a NAME="AdBlockIcon.__createMenu" ID="AdBlockIcon.__createMenu"></a>
106 <h4>AdBlockIcon.__createMenu</h4> 106 <h4>AdBlockIcon.__createMenu</h4>
107 <b>__createMenu</b>(<i>menu=None</i>) 107 <b>__createMenu</b>(<i>menu=None</i>)
108 <p> 108 <p>
109 Private slot to create the context menu. 109 Private slot to create the context menu.
110 </p><dl> 110 </p><dl>
111 <dt><i>menu</i></dt> 111 <dt><i>menu</i> (QMenu)</dt>
112 <dd> 112 <dd>
113 parent menu (QMenu) 113 parent menu
114 </dd> 114 </dd>
115 </dl><a NAME="AdBlockIcon.__enableAdBlock" ID="AdBlockIcon.__enableAdBlock"></a> 115 </dl><a NAME="AdBlockIcon.__enableAdBlock" ID="AdBlockIcon.__enableAdBlock"></a>
116 <h4>AdBlockIcon.__enableAdBlock</h4> 116 <h4>AdBlockIcon.__enableAdBlock</h4>
117 <b>__enableAdBlock</b>(<i></i>) 117 <b>__enableAdBlock</b>(<i></i>)
118 <p> 118 <p>
124 Private method to check, if the host of the current browser is 124 Private method to check, if the host of the current browser is
125 excepted. 125 excepted.
126 </p><dl> 126 </p><dl>
127 <dt>Returns:</dt> 127 <dt>Returns:</dt>
128 <dd> 128 <dd>
129 flag indicating an exception (boolean) 129 flag indicating an exception
130 </dd>
131 </dl><dl>
132 <dt>Return Type:</dt>
133 <dd>
134 bool
130 </dd> 135 </dd>
131 </dl><a NAME="AdBlockIcon.__setException" ID="AdBlockIcon.__setException"></a> 136 </dl><a NAME="AdBlockIcon.__setException" ID="AdBlockIcon.__setException"></a>
132 <h4>AdBlockIcon.__setException</h4> 137 <h4>AdBlockIcon.__setException</h4>
133 <b>__setException</b>(<i></i>) 138 <b>__setException</b>(<i></i>)
134 <p> 139 <p>
138 <h4>AdBlockIcon.__showMenu</h4> 143 <h4>AdBlockIcon.__showMenu</h4>
139 <b>__showMenu</b>(<i>pos</i>) 144 <b>__showMenu</b>(<i>pos</i>)
140 <p> 145 <p>
141 Private slot to show the context menu. 146 Private slot to show the context menu.
142 </p><dl> 147 </p><dl>
143 <dt><i>pos</i></dt> 148 <dt><i>pos</i> (QPoint)</dt>
144 <dd> 149 <dd>
145 position the context menu should be shown (QPoint) 150 position the context menu should be shown
146 </dd> 151 </dd>
147 </dl><a NAME="AdBlockIcon.currentChanged" ID="AdBlockIcon.currentChanged"></a> 152 </dl><a NAME="AdBlockIcon.currentChanged" ID="AdBlockIcon.currentChanged"></a>
148 <h4>AdBlockIcon.currentChanged</h4> 153 <h4>AdBlockIcon.currentChanged</h4>
149 <b>currentChanged</b>(<i></i>) 154 <b>currentChanged</b>(<i></i>)
150 <p> 155 <p>
155 <p> 160 <p>
156 Public method to get a reference to the menu action. 161 Public method to get a reference to the menu action.
157 </p><dl> 162 </p><dl>
158 <dt>Returns:</dt> 163 <dt>Returns:</dt>
159 <dd> 164 <dd>
160 reference to the menu action (QAction) 165 reference to the menu action
166 </dd>
167 </dl><dl>
168 <dt>Return Type:</dt>
169 <dd>
170 QAction
161 </dd> 171 </dd>
162 </dl><a NAME="AdBlockIcon.setEnabled" ID="AdBlockIcon.setEnabled"></a> 172 </dl><a NAME="AdBlockIcon.setEnabled" ID="AdBlockIcon.setEnabled"></a>
163 <h4>AdBlockIcon.setEnabled</h4> 173 <h4>AdBlockIcon.setEnabled</h4>
164 <b>setEnabled</b>(<i>enabled</i>) 174 <b>setEnabled</b>(<i>enabled</i>)
165 <p> 175 <p>
166 Public slot to set the enabled state. 176 Public slot to set the enabled state.
167 </p><dl> 177 </p><dl>
168 <dt><i>enabled</i></dt> 178 <dt><i>enabled</i> (bool)</dt>
169 <dd> 179 <dd>
170 enabled state (boolean) 180 enabled state
171 </dd> 181 </dd>
172 </dl><a NAME="AdBlockIcon.sourceChanged" ID="AdBlockIcon.sourceChanged"></a> 182 </dl><a NAME="AdBlockIcon.sourceChanged" ID="AdBlockIcon.sourceChanged"></a>
173 <h4>AdBlockIcon.sourceChanged</h4> 183 <h4>AdBlockIcon.sourceChanged</h4>
174 <b>sourceChanged</b>(<i>browser, url</i>) 184 <b>sourceChanged</b>(<i>browser, url</i>)
175 <p> 185 <p>
176 Public slot to handle URL changes. 186 Public slot to handle URL changes.
177 </p><dl> 187 </p><dl>
178 <dt><i>browser</i></dt> 188 <dt><i>browser</i> (WebBrowserView)</dt>
179 <dd> 189 <dd>
180 reference to the browser (HelpBrowser) 190 reference to the browser
181 </dd><dt><i>url</i></dt> 191 </dd><dt><i>url</i> (QUrl)</dt>
182 <dd> 192 <dd>
183 new URL (QUrl) 193 new URL
184 </dd> 194 </dd>
185 </dl> 195 </dl>
186 <div align="right"><a href="#top">Up</a></div> 196 <div align="right"><a href="#top">Up</a></div>
187 <hr /> 197 <hr />
188 </body></html> 198 </body></html>

eric ide

mercurial