Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockIcon.html

changeset 1963
9c5b3235abf9
child 1972
5341662d6cfb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockIcon.html	Sun Jul 29 15:41:58 2012 +0200
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
+'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
+<html><head>
+<title>eric5.Helpviewer.AdBlock.AdBlockIcon</title>
+<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>eric5.Helpviewer.AdBlock.AdBlockIcon</h1>
+<p>
+Module implementing the AdBlock icon for the main window status bar.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#AdBlockIcon">AdBlockIcon</a></td>
+<td>Class implementing the AdBlock icon for the main window status bar.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="AdBlockIcon" ID="AdBlockIcon"></a>
+<h2>AdBlockIcon</h2>
+<p>
+    Class implementing the AdBlock icon for the main window status bar.
+</p>
+<h3>Derived from</h3>
+E5ClickableLabel
+<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="#AdBlockIcon.__init__">AdBlockIcon</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#AdBlockIcon.__createMenu">__createMenu</a></td>
+<td>Private slot to create the context menu.</td>
+</tr><tr>
+<td><a href="#AdBlockIcon.__enableAdBlock">__enableAdBlock</a></td>
+<td>Private slot to enable or disable AdBlock.</td>
+</tr><tr>
+<td><a href="#AdBlockIcon.__showMenu">__showMenu</a></td>
+<td>Private slot to show the context menu.</td>
+</tr><tr>
+<td><a href="#AdBlockIcon.menuAction">menuAction</a></td>
+<td>Public method to get a reference to the menu action.</td>
+</tr><tr>
+<td><a href="#AdBlockIcon.setEnabled">setEnabled</a></td>
+<td>Public slot to set the enabled state.</td>
+</tr>
+</table>
+<h3>Static Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<a NAME="AdBlockIcon.__init__" ID="AdBlockIcon.__init__"></a>
+<h4>AdBlockIcon (Constructor)</h4>
+<b>AdBlockIcon</b>(<i>parent</i>)
+<p>
+        Constructor
+</p><dl>
+<dt><i>parent</i></dt>
+<dd>
+reference to the parent widget (HelpWindow)
+</dd>
+</dl><a NAME="AdBlockIcon.__createMenu" ID="AdBlockIcon.__createMenu"></a>
+<h4>AdBlockIcon.__createMenu</h4>
+<b>__createMenu</b>(<i>menu=None</i>)
+<p>
+        Private slot to create the context menu.
+</p><dl>
+<dt><i>menu</i></dt>
+<dd>
+parent menu (QMenu)
+</dd>
+</dl><a NAME="AdBlockIcon.__enableAdBlock" ID="AdBlockIcon.__enableAdBlock"></a>
+<h4>AdBlockIcon.__enableAdBlock</h4>
+<b>__enableAdBlock</b>(<i></i>)
+<p>
+        Private slot to enable or disable AdBlock.
+</p><a NAME="AdBlockIcon.__showMenu" ID="AdBlockIcon.__showMenu"></a>
+<h4>AdBlockIcon.__showMenu</h4>
+<b>__showMenu</b>(<i>pos</i>)
+<p>
+        Private slot to show the context menu.
+</p><dl>
+<dt><i>pos</i></dt>
+<dd>
+position the context menu should be shown (QPoint)
+</dd>
+</dl><a NAME="AdBlockIcon.menuAction" ID="AdBlockIcon.menuAction"></a>
+<h4>AdBlockIcon.menuAction</h4>
+<b>menuAction</b>(<i></i>)
+<p>
+        Public method to get a reference to the menu action.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+reference to the menu action (QAction)
+</dd>
+</dl><a NAME="AdBlockIcon.setEnabled" ID="AdBlockIcon.setEnabled"></a>
+<h4>AdBlockIcon.setEnabled</h4>
+<b>setEnabled</b>(<i>enabled</i>)
+<p>
+        Public slot to set the enabled state.
+</p><dl>
+<dt><i>enabled</i></dt>
+<dd>
+enabled state (boolean)
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial