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

Sat, 26 Jan 2013 12:44:46 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Jan 2013 12:44:46 +0100
branch
5_3_x
changeset 2374
f78ee0e8f96c
parent 1973
c643c1d33c7b
child 2386
bf6f0ded6071
permissions
-rw-r--r--

Regenerated the source docu with the HTML5 generator.

<!DOCTYPE html>
<html><head>
<title>eric5.Helpviewer.AdBlock.AdBlockTreeWidget</title>
<meta charset="UTF-8">
<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.AdBlockTreeWidget</h1>
<p>
Module implementing a tree widget for the AdBlock configuration dialog.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#AdBlockTreeWidget">AdBlockTreeWidget</a></td>
<td>Class implementing a tree widget for the AdBlock configuration dialog.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="AdBlockTreeWidget" ID="AdBlockTreeWidget"></a>
<h2>AdBlockTreeWidget</h2>
<p>
    Class implementing a tree widget for the AdBlock configuration dialog.
</p>
<h3>Derived from</h3>
E5TreeWidget
<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="#AdBlockTreeWidget.__init__">AdBlockTreeWidget</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#AdBlockTreeWidget.__adjustItemFeatures">__adjustItemFeatures</a></td>
<td>Private method to adjust an item.</td>
</tr><tr>
<td><a href="#AdBlockTreeWidget.__contextMenuRequested">__contextMenuRequested</a></td>
<td>Private slot to show the context menu.</td>
</tr><tr>
<td><a href="#AdBlockTreeWidget.__copyFilter">__copyFilter</a></td>
<td>Private slot to copy the current filter to the clipboard.</td>
</tr><tr>
<td><a href="#AdBlockTreeWidget.__itemChanged">__itemChanged</a></td>
<td>Private slot to handle the change of an item.</td>
</tr><tr>
<td><a href="#AdBlockTreeWidget.__subscriptionChanged">__subscriptionChanged</a></td>
<td>Private slot handling a subscription change.</td>
</tr><tr>
<td><a href="#AdBlockTreeWidget.addRule">addRule</a></td>
<td>Public slot to add a new rule.</td>
</tr><tr>
<td><a href="#AdBlockTreeWidget.keyPressEvent">keyPressEvent</a></td>
<td>Protected method handling key presses.</td>
</tr><tr>
<td><a href="#AdBlockTreeWidget.refresh">refresh</a></td>
<td>Public method to refresh the tree.</td>
</tr><tr>
<td><a href="#AdBlockTreeWidget.removeRule">removeRule</a></td>
<td>Public slot to remove the current rule.</td>
</tr><tr>
<td><a href="#AdBlockTreeWidget.showRule">showRule</a></td>
<td>Public method to highlight the given rule.</td>
</tr><tr>
<td><a href="#AdBlockTreeWidget.subscription">subscription</a></td>
<td>Public method to get a reference to the subscription.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="AdBlockTreeWidget.__init__" ID="AdBlockTreeWidget.__init__"></a>
<h4>AdBlockTreeWidget (Constructor)</h4>
<b>AdBlockTreeWidget</b>(<i>subscription, parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>subscription</i></dt>
<dd>
reference to the subscription (AdBlockSubscription)
</dd><dt><i>parenbt</i></dt>
<dd>
reference to the parent widget (QWidget)
</dd>
</dl><a NAME="AdBlockTreeWidget.__adjustItemFeatures" ID="AdBlockTreeWidget.__adjustItemFeatures"></a>
<h4>AdBlockTreeWidget.__adjustItemFeatures</h4>
<b>__adjustItemFeatures</b>(<i>itm, rule</i>)
<p>
        Private method to adjust an item.
</p><dl>
<dt><i>itm</i></dt>
<dd>
item to be adjusted (QTreeWidgetItem)
</dd><dt><i>rule</i></dt>
<dd>
rule for the adjustment (AdBlockRule)
</dd>
</dl><a NAME="AdBlockTreeWidget.__contextMenuRequested" ID="AdBlockTreeWidget.__contextMenuRequested"></a>
<h4>AdBlockTreeWidget.__contextMenuRequested</h4>
<b>__contextMenuRequested</b>(<i>pos</i>)
<p>
        Private slot to show the context menu.
</p><dl>
<dt><i>pos</i></dt>
<dd>
position for the menu (QPoint)
</dd>
</dl><a NAME="AdBlockTreeWidget.__copyFilter" ID="AdBlockTreeWidget.__copyFilter"></a>
<h4>AdBlockTreeWidget.__copyFilter</h4>
<b>__copyFilter</b>(<i></i>)
<p>
        Private slot to copy the current filter to the clipboard.
</p><a NAME="AdBlockTreeWidget.__itemChanged" ID="AdBlockTreeWidget.__itemChanged"></a>
<h4>AdBlockTreeWidget.__itemChanged</h4>
<b>__itemChanged</b>(<i>itm</i>)
<p>
        Private slot to handle the change of an item.
</p><dl>
<dt><i>itm</i></dt>
<dd>
changed item (QTreeWidgetItem)
</dd>
</dl><a NAME="AdBlockTreeWidget.__subscriptionChanged" ID="AdBlockTreeWidget.__subscriptionChanged"></a>
<h4>AdBlockTreeWidget.__subscriptionChanged</h4>
<b>__subscriptionChanged</b>(<i></i>)
<p>
        Private slot handling a subscription change.
</p><a NAME="AdBlockTreeWidget.addRule" ID="AdBlockTreeWidget.addRule"></a>
<h4>AdBlockTreeWidget.addRule</h4>
<b>addRule</b>(<i>filter=""</i>)
<p>
        Public slot to add a new rule.
</p><dl>
<dt><i>filter</i></dt>
<dd>
filter to be added (string)
</dd>
</dl><a NAME="AdBlockTreeWidget.keyPressEvent" ID="AdBlockTreeWidget.keyPressEvent"></a>
<h4>AdBlockTreeWidget.keyPressEvent</h4>
<b>keyPressEvent</b>(<i>evt</i>)
<p>
        Protected method handling key presses.
</p><dl>
<dt><i>evt</i></dt>
<dd>
key press event (QKeyEvent)
</dd>
</dl><a NAME="AdBlockTreeWidget.refresh" ID="AdBlockTreeWidget.refresh"></a>
<h4>AdBlockTreeWidget.refresh</h4>
<b>refresh</b>(<i></i>)
<p>
        Public method to refresh the tree.
</p><a NAME="AdBlockTreeWidget.removeRule" ID="AdBlockTreeWidget.removeRule"></a>
<h4>AdBlockTreeWidget.removeRule</h4>
<b>removeRule</b>(<i></i>)
<p>
        Public slot to remove the current rule.
</p><a NAME="AdBlockTreeWidget.showRule" ID="AdBlockTreeWidget.showRule"></a>
<h4>AdBlockTreeWidget.showRule</h4>
<b>showRule</b>(<i>rule</i>)
<p>
        Public method to highlight the given rule.
</p><dl>
<dt><i>rule</i></dt>
<dd>
AdBlock rule to be shown (AdBlockRule)
</dd>
</dl><a NAME="AdBlockTreeWidget.subscription" ID="AdBlockTreeWidget.subscription"></a>
<h4>AdBlockTreeWidget.subscription</h4>
<b>subscription</b>(<i></i>)
<p>
        Public method to get a reference to the subscription.
</p><dl>
<dt>Returns:</dt>
<dd>
reference to the subscription (AdBlockSubscription)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial