102 <h4>AdBlockTreeWidget (Constructor)</h4> |
102 <h4>AdBlockTreeWidget (Constructor)</h4> |
103 <b>AdBlockTreeWidget</b>(<i>subscription, parent=None</i>) |
103 <b>AdBlockTreeWidget</b>(<i>subscription, parent=None</i>) |
104 <p> |
104 <p> |
105 Constructor |
105 Constructor |
106 </p><dl> |
106 </p><dl> |
107 <dt><i>subscription</i></dt> |
107 <dt><i>subscription</i> (AdBlockSubscription)</dt> |
108 <dd> |
108 <dd> |
109 reference to the subscription (AdBlockSubscription) |
109 reference to the subscription |
110 </dd><dt><i>parent</i></dt> |
110 </dd><dt><i>parent</i> (QWidget)</dt> |
111 <dd> |
111 <dd> |
112 reference to the parent widget (QWidget) |
112 reference to the parent widget |
113 </dd> |
113 </dd> |
114 </dl><a NAME="AdBlockTreeWidget.__adjustItemFeatures" ID="AdBlockTreeWidget.__adjustItemFeatures"></a> |
114 </dl><a NAME="AdBlockTreeWidget.__adjustItemFeatures" ID="AdBlockTreeWidget.__adjustItemFeatures"></a> |
115 <h4>AdBlockTreeWidget.__adjustItemFeatures</h4> |
115 <h4>AdBlockTreeWidget.__adjustItemFeatures</h4> |
116 <b>__adjustItemFeatures</b>(<i>itm, rule</i>) |
116 <b>__adjustItemFeatures</b>(<i>itm, rule</i>) |
117 <p> |
117 <p> |
118 Private method to adjust an item. |
118 Private method to adjust an item. |
119 </p><dl> |
119 </p><dl> |
120 <dt><i>itm</i></dt> |
120 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
121 <dd> |
121 <dd> |
122 item to be adjusted (QTreeWidgetItem) |
122 item to be adjusted |
123 </dd><dt><i>rule</i></dt> |
123 </dd><dt><i>rule</i> (AdBlockRule)</dt> |
124 <dd> |
124 <dd> |
125 rule for the adjustment (AdBlockRule) |
125 rule for the adjustment |
126 </dd> |
126 </dd> |
127 </dl><a NAME="AdBlockTreeWidget.__contextMenuRequested" ID="AdBlockTreeWidget.__contextMenuRequested"></a> |
127 </dl><a NAME="AdBlockTreeWidget.__contextMenuRequested" ID="AdBlockTreeWidget.__contextMenuRequested"></a> |
128 <h4>AdBlockTreeWidget.__contextMenuRequested</h4> |
128 <h4>AdBlockTreeWidget.__contextMenuRequested</h4> |
129 <b>__contextMenuRequested</b>(<i>pos</i>) |
129 <b>__contextMenuRequested</b>(<i>pos</i>) |
130 <p> |
130 <p> |
131 Private slot to show the context menu. |
131 Private slot to show the context menu. |
132 </p><dl> |
132 </p><dl> |
133 <dt><i>pos</i></dt> |
133 <dt><i>pos</i> (QPoint)</dt> |
134 <dd> |
134 <dd> |
135 position for the menu (QPoint) |
135 position for the menu |
136 </dd> |
136 </dd> |
137 </dl><a NAME="AdBlockTreeWidget.__copyFilter" ID="AdBlockTreeWidget.__copyFilter"></a> |
137 </dl><a NAME="AdBlockTreeWidget.__copyFilter" ID="AdBlockTreeWidget.__copyFilter"></a> |
138 <h4>AdBlockTreeWidget.__copyFilter</h4> |
138 <h4>AdBlockTreeWidget.__copyFilter</h4> |
139 <b>__copyFilter</b>(<i></i>) |
139 <b>__copyFilter</b>(<i></i>) |
140 <p> |
140 <p> |
143 <h4>AdBlockTreeWidget.__itemChanged</h4> |
143 <h4>AdBlockTreeWidget.__itemChanged</h4> |
144 <b>__itemChanged</b>(<i>itm</i>) |
144 <b>__itemChanged</b>(<i>itm</i>) |
145 <p> |
145 <p> |
146 Private slot to handle the change of an item. |
146 Private slot to handle the change of an item. |
147 </p><dl> |
147 </p><dl> |
148 <dt><i>itm</i></dt> |
148 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
149 <dd> |
149 <dd> |
150 changed item (QTreeWidgetItem) |
150 changed item |
151 </dd> |
151 </dd> |
152 </dl><a NAME="AdBlockTreeWidget.__subscriptionChanged" ID="AdBlockTreeWidget.__subscriptionChanged"></a> |
152 </dl><a NAME="AdBlockTreeWidget.__subscriptionChanged" ID="AdBlockTreeWidget.__subscriptionChanged"></a> |
153 <h4>AdBlockTreeWidget.__subscriptionChanged</h4> |
153 <h4>AdBlockTreeWidget.__subscriptionChanged</h4> |
154 <b>__subscriptionChanged</b>(<i></i>) |
154 <b>__subscriptionChanged</b>(<i></i>) |
155 <p> |
155 <p> |
158 <h4>AdBlockTreeWidget.addRule</h4> |
158 <h4>AdBlockTreeWidget.addRule</h4> |
159 <b>addRule</b>(<i>filterRule=""</i>) |
159 <b>addRule</b>(<i>filterRule=""</i>) |
160 <p> |
160 <p> |
161 Public slot to add a new rule. |
161 Public slot to add a new rule. |
162 </p><dl> |
162 </p><dl> |
163 <dt><i>filterRule</i></dt> |
163 <dt><i>filterRule</i> (str)</dt> |
164 <dd> |
164 <dd> |
165 filter to be added (string) |
165 filter to be added |
166 </dd> |
166 </dd> |
167 </dl><a NAME="AdBlockTreeWidget.keyPressEvent" ID="AdBlockTreeWidget.keyPressEvent"></a> |
167 </dl><a NAME="AdBlockTreeWidget.keyPressEvent" ID="AdBlockTreeWidget.keyPressEvent"></a> |
168 <h4>AdBlockTreeWidget.keyPressEvent</h4> |
168 <h4>AdBlockTreeWidget.keyPressEvent</h4> |
169 <b>keyPressEvent</b>(<i>evt</i>) |
169 <b>keyPressEvent</b>(<i>evt</i>) |
170 <p> |
170 <p> |
171 Protected method handling key presses. |
171 Protected method handling key presses. |
172 </p><dl> |
172 </p><dl> |
173 <dt><i>evt</i></dt> |
173 <dt><i>evt</i> (QKeyEvent)</dt> |
174 <dd> |
174 <dd> |
175 key press event (QKeyEvent) |
175 key press event |
176 </dd> |
176 </dd> |
177 </dl><a NAME="AdBlockTreeWidget.refresh" ID="AdBlockTreeWidget.refresh"></a> |
177 </dl><a NAME="AdBlockTreeWidget.refresh" ID="AdBlockTreeWidget.refresh"></a> |
178 <h4>AdBlockTreeWidget.refresh</h4> |
178 <h4>AdBlockTreeWidget.refresh</h4> |
179 <b>refresh</b>(<i></i>) |
179 <b>refresh</b>(<i></i>) |
180 <p> |
180 <p> |
188 <h4>AdBlockTreeWidget.showRule</h4> |
188 <h4>AdBlockTreeWidget.showRule</h4> |
189 <b>showRule</b>(<i>rule</i>) |
189 <b>showRule</b>(<i>rule</i>) |
190 <p> |
190 <p> |
191 Public method to highlight the given rule. |
191 Public method to highlight the given rule. |
192 </p><dl> |
192 </p><dl> |
193 <dt><i>rule</i></dt> |
193 <dt><i>rule</i> (AdBlockRule)</dt> |
194 <dd> |
194 <dd> |
195 AdBlock rule to be shown (AdBlockRule) |
195 AdBlock rule to be shown |
196 </dd> |
196 </dd> |
197 </dl><a NAME="AdBlockTreeWidget.subscription" ID="AdBlockTreeWidget.subscription"></a> |
197 </dl><a NAME="AdBlockTreeWidget.subscription" ID="AdBlockTreeWidget.subscription"></a> |
198 <h4>AdBlockTreeWidget.subscription</h4> |
198 <h4>AdBlockTreeWidget.subscription</h4> |
199 <b>subscription</b>(<i></i>) |
199 <b>subscription</b>(<i></i>) |
200 <p> |
200 <p> |
201 Public method to get a reference to the subscription. |
201 Public method to get a reference to the subscription. |
202 </p><dl> |
202 </p><dl> |
203 <dt>Returns:</dt> |
203 <dt>Returns:</dt> |
204 <dd> |
204 <dd> |
205 reference to the subscription (AdBlockSubscription) |
205 reference to the subscription |
|
206 </dd> |
|
207 </dl><dl> |
|
208 <dt>Return Type:</dt> |
|
209 <dd> |
|
210 AdBlockSubscription |
206 </dd> |
211 </dd> |
207 </dl> |
212 </dl> |
208 <div align="right"><a href="#top">Up</a></div> |
213 <div align="right"><a href="#top">Up</a></div> |
209 <hr /> |
214 <hr /> |
210 </body></html> |
215 </body></html> |