|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.WebBrowser.AdBlock.AdBlockExceptionsDialog</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.AdBlock.AdBlockExceptionsDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to configure the AdBlock exceptions. |
|
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="#AdBlockExceptionsDialog">AdBlockExceptionsDialog</a></td> |
|
34 <td>Class implementing a dialog to configure the AdBlock exceptions.</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="AdBlockExceptionsDialog" ID="AdBlockExceptionsDialog"></a> |
|
43 <h2>AdBlockExceptionsDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to configure the AdBlock exceptions. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_AdBlockExceptionsDialog |
|
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="#AdBlockExceptionsDialog.__init__">AdBlockExceptionsDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#AdBlockExceptionsDialog.accept">accept</a></td> |
|
64 <td>Public slot handling the acceptance of the dialog.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#AdBlockExceptionsDialog.load">load</a></td> |
|
67 <td>Public slot to load the list of excepted hosts.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#AdBlockExceptionsDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
|
70 <td>Private slot to handle a click of the add button.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#AdBlockExceptionsDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
|
73 <td>Private slot handling a click of the delete button.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#AdBlockExceptionsDialog.on_hostEdit_textChanged">on_hostEdit_textChanged</a></td> |
|
76 <td>Private slot to handle changes of the host edit.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#AdBlockExceptionsDialog.on_hostList_itemSelectionChanged">on_hostList_itemSelectionChanged</a></td> |
|
79 <td>Private slot handling a change of the number of selected items.</td> |
|
80 </tr> |
|
81 </table> |
|
82 <h3>Static Methods</h3> |
|
83 <table> |
|
84 <tr><td>None</td></tr> |
|
85 </table> |
|
86 <a NAME="AdBlockExceptionsDialog.__init__" ID="AdBlockExceptionsDialog.__init__"></a> |
|
87 <h4>AdBlockExceptionsDialog (Constructor)</h4> |
|
88 <b>AdBlockExceptionsDialog</b>(<i>parent=None</i>) |
|
89 <p> |
|
90 Constructor |
|
91 </p><dl> |
|
92 <dt><i>parent</i></dt> |
|
93 <dd> |
|
94 reference to the parent widget (QWidget) |
|
95 </dd> |
|
96 </dl><a NAME="AdBlockExceptionsDialog.accept" ID="AdBlockExceptionsDialog.accept"></a> |
|
97 <h4>AdBlockExceptionsDialog.accept</h4> |
|
98 <b>accept</b>(<i></i>) |
|
99 <p> |
|
100 Public slot handling the acceptance of the dialog. |
|
101 </p><a NAME="AdBlockExceptionsDialog.load" ID="AdBlockExceptionsDialog.load"></a> |
|
102 <h4>AdBlockExceptionsDialog.load</h4> |
|
103 <b>load</b>(<i>hosts</i>) |
|
104 <p> |
|
105 Public slot to load the list of excepted hosts. |
|
106 </p><dl> |
|
107 <dt><i>hosts</i></dt> |
|
108 <dd> |
|
109 list of excepted hosts |
|
110 </dd> |
|
111 </dl><a NAME="AdBlockExceptionsDialog.on_addButton_clicked" ID="AdBlockExceptionsDialog.on_addButton_clicked"></a> |
|
112 <h4>AdBlockExceptionsDialog.on_addButton_clicked</h4> |
|
113 <b>on_addButton_clicked</b>(<i></i>) |
|
114 <p> |
|
115 Private slot to handle a click of the add button. |
|
116 </p><a NAME="AdBlockExceptionsDialog.on_deleteButton_clicked" ID="AdBlockExceptionsDialog.on_deleteButton_clicked"></a> |
|
117 <h4>AdBlockExceptionsDialog.on_deleteButton_clicked</h4> |
|
118 <b>on_deleteButton_clicked</b>(<i></i>) |
|
119 <p> |
|
120 Private slot handling a click of the delete button. |
|
121 </p><a NAME="AdBlockExceptionsDialog.on_hostEdit_textChanged" ID="AdBlockExceptionsDialog.on_hostEdit_textChanged"></a> |
|
122 <h4>AdBlockExceptionsDialog.on_hostEdit_textChanged</h4> |
|
123 <b>on_hostEdit_textChanged</b>(<i>txt</i>) |
|
124 <p> |
|
125 Private slot to handle changes of the host edit. |
|
126 </p><dl> |
|
127 <dt><i>txt</i></dt> |
|
128 <dd> |
|
129 text of the edit (string) |
|
130 </dd> |
|
131 </dl><a NAME="AdBlockExceptionsDialog.on_hostList_itemSelectionChanged" ID="AdBlockExceptionsDialog.on_hostList_itemSelectionChanged"></a> |
|
132 <h4>AdBlockExceptionsDialog.on_hostList_itemSelectionChanged</h4> |
|
133 <b>on_hostList_itemSelectionChanged</b>(<i></i>) |
|
134 <p> |
|
135 Private slot handling a change of the number of selected items. |
|
136 </p> |
|
137 <div align="right"><a href="#top">Up</a></div> |
|
138 <hr /> |
|
139 </body></html> |