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