|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.FeaturePermissions.FeaturePermissionBar</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.WebBrowser.FeaturePermissions.FeaturePermissionBar</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the feature permission bar widget. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#FeaturePermissionBar">FeaturePermissionBar</a></td> |
|
25 <td>Class implementing the feature permission bar widget.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="FeaturePermissionBar" ID="FeaturePermissionBar"></a> |
|
36 <h2>FeaturePermissionBar</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing the feature permission bar widget. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 EricAnimatedWidget |
|
43 <h3>Class Attributes</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>DefaultHeight</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
|
49 |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Methods</h3> |
|
54 |
|
55 <table> |
|
56 |
|
57 <tr> |
|
58 <td><a href="#FeaturePermissionBar.__init__">FeaturePermissionBar</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#FeaturePermissionBar.__permissionDenied">__permissionDenied</a></td> |
|
63 <td>Private slot handling the user pressing the deny button.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#FeaturePermissionBar.__permissionGranted">__permissionGranted</a></td> |
|
67 <td>Private slot handling the user pressing the allow button.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#FeaturePermissionBar.__permissionUnknown">__permissionUnknown</a></td> |
|
71 <td>Private slot handling the user closing the dialog without.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#FeaturePermissionBar.hide">hide</a></td> |
|
75 <td>Public slot to hide the animated widget.</td> |
|
76 </tr> |
|
77 </table> |
|
78 <h3>Static Methods</h3> |
|
79 |
|
80 <table> |
|
81 <tr><td>None</td></tr> |
|
82 </table> |
|
83 |
|
84 <a NAME="FeaturePermissionBar.__init__" ID="FeaturePermissionBar.__init__"></a> |
|
85 <h4>FeaturePermissionBar (Constructor)</h4> |
|
86 <b>FeaturePermissionBar</b>(<i>page, origin, feature, manager</i>) |
|
87 |
|
88 <p> |
|
89 Constructor |
|
90 </p> |
|
91 <dl> |
|
92 |
|
93 <dt><i>page</i> (QWebView)</dt> |
|
94 <dd> |
|
95 reference to the web page |
|
96 </dd> |
|
97 <dt><i>origin</i> (QUrl)</dt> |
|
98 <dd> |
|
99 security origin requesting the feature |
|
100 </dd> |
|
101 <dt><i>feature</i> (QWebPage.Feature)</dt> |
|
102 <dd> |
|
103 requested feature |
|
104 </dd> |
|
105 <dt><i>manager</i> (FeaturePermissionManager)</dt> |
|
106 <dd> |
|
107 reference to the feature permissions manager |
|
108 </dd> |
|
109 </dl> |
|
110 <a NAME="FeaturePermissionBar.__permissionDenied" ID="FeaturePermissionBar.__permissionDenied"></a> |
|
111 <h4>FeaturePermissionBar.__permissionDenied</h4> |
|
112 <b>__permissionDenied</b>(<i></i>) |
|
113 |
|
114 <p> |
|
115 Private slot handling the user pressing the deny button. |
|
116 </p> |
|
117 <a NAME="FeaturePermissionBar.__permissionGranted" ID="FeaturePermissionBar.__permissionGranted"></a> |
|
118 <h4>FeaturePermissionBar.__permissionGranted</h4> |
|
119 <b>__permissionGranted</b>(<i></i>) |
|
120 |
|
121 <p> |
|
122 Private slot handling the user pressing the allow button. |
|
123 </p> |
|
124 <a NAME="FeaturePermissionBar.__permissionUnknown" ID="FeaturePermissionBar.__permissionUnknown"></a> |
|
125 <h4>FeaturePermissionBar.__permissionUnknown</h4> |
|
126 <b>__permissionUnknown</b>(<i></i>) |
|
127 |
|
128 <p> |
|
129 Private slot handling the user closing the dialog without. |
|
130 </p> |
|
131 <a NAME="FeaturePermissionBar.hide" ID="FeaturePermissionBar.hide"></a> |
|
132 <h4>FeaturePermissionBar.hide</h4> |
|
133 <b>hide</b>(<i></i>) |
|
134 |
|
135 <p> |
|
136 Public slot to hide the animated widget. |
|
137 </p> |
|
138 <div align="right"><a href="#top">Up</a></div> |
|
139 <hr /> |
|
140 </body></html> |