43 <h2>FeaturePermissionBar</h2> |
43 <h2>FeaturePermissionBar</h2> |
44 <p> |
44 <p> |
45 Class implementing the feature permission bar widget. |
45 Class implementing the feature permission bar widget. |
46 </p> |
46 </p> |
47 <h3>Derived from</h3> |
47 <h3>Derived from</h3> |
48 QWidget |
48 E5AnimatedWidget |
49 <h3>Class Attributes</h3> |
49 <h3>Class Attributes</h3> |
50 <table> |
50 <table> |
51 <tr><td>DefaultHeight</td></tr> |
51 <tr><td>DefaultHeight</td></tr> |
52 </table> |
52 </table> |
53 <h3>Class Methods</h3> |
53 <h3>Class Methods</h3> |
66 <td><a href="#FeaturePermissionBar.__permissionGranted">__permissionGranted</a></td> |
66 <td><a href="#FeaturePermissionBar.__permissionGranted">__permissionGranted</a></td> |
67 <td>Private slot handling the user pressing the allow button.</td> |
67 <td>Private slot handling the user pressing the allow button.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#FeaturePermissionBar.__permissionUnknown">__permissionUnknown</a></td> |
69 <td><a href="#FeaturePermissionBar.__permissionUnknown">__permissionUnknown</a></td> |
70 <td>Private slot handling the user closing the dialog without.</td> |
70 <td>Private slot handling the user closing the dialog without.</td> |
71 </tr><tr> |
|
72 <td><a href="#FeaturePermissionBar.requestPermission">requestPermission</a></td> |
|
73 <td>Public method to ask the user for a permission.</td> |
|
74 </tr> |
71 </tr> |
75 </table> |
72 </table> |
76 <h3>Static Methods</h3> |
73 <h3>Static Methods</h3> |
77 <table> |
74 <table> |
78 <tr><td>None</td></tr> |
75 <tr><td>None</td></tr> |
79 </table> |
76 </table> |
80 <a NAME="FeaturePermissionBar.__init__" ID="FeaturePermissionBar.__init__"></a> |
77 <a NAME="FeaturePermissionBar.__init__" ID="FeaturePermissionBar.__init__"></a> |
81 <h4>FeaturePermissionBar (Constructor)</h4> |
78 <h4>FeaturePermissionBar (Constructor)</h4> |
82 <b>FeaturePermissionBar</b>(<i>view</i>) |
79 <b>FeaturePermissionBar</b>(<i>view, frame, feature</i>) |
83 <p> |
80 <p> |
84 Constructor |
81 Constructor |
85 </p><dl> |
82 </p><dl> |
86 <dt><i>view</i> (QWebView)</dt> |
83 <dt><i>view</i> (QWebView)</dt> |
87 <dd> |
84 <dd> |
88 reference to the web view |
85 reference to the web view |
|
86 </dd><dt><i>frame</i> (QWebFrame)</dt> |
|
87 <dd> |
|
88 frame sending the request |
|
89 </dd><dt><i>feature</i> (QWebPage.Feature)</dt> |
|
90 <dd> |
|
91 requested feature |
89 </dd> |
92 </dd> |
90 </dl><a NAME="FeaturePermissionBar.__permissionDenied" ID="FeaturePermissionBar.__permissionDenied"></a> |
93 </dl><a NAME="FeaturePermissionBar.__permissionDenied" ID="FeaturePermissionBar.__permissionDenied"></a> |
91 <h4>FeaturePermissionBar.__permissionDenied</h4> |
94 <h4>FeaturePermissionBar.__permissionDenied</h4> |
92 <b>__permissionDenied</b>(<i></i>) |
95 <b>__permissionDenied</b>(<i></i>) |
93 <p> |
96 <p> |
100 </p><a NAME="FeaturePermissionBar.__permissionUnknown" ID="FeaturePermissionBar.__permissionUnknown"></a> |
103 </p><a NAME="FeaturePermissionBar.__permissionUnknown" ID="FeaturePermissionBar.__permissionUnknown"></a> |
101 <h4>FeaturePermissionBar.__permissionUnknown</h4> |
104 <h4>FeaturePermissionBar.__permissionUnknown</h4> |
102 <b>__permissionUnknown</b>(<i></i>) |
105 <b>__permissionUnknown</b>(<i></i>) |
103 <p> |
106 <p> |
104 Private slot handling the user closing the dialog without. |
107 Private slot handling the user closing the dialog without. |
105 </p><a NAME="FeaturePermissionBar.requestPermission" ID="FeaturePermissionBar.requestPermission"></a> |
108 </p> |
106 <h4>FeaturePermissionBar.requestPermission</h4> |
|
107 <b>requestPermission</b>(<i>frame, feature</i>) |
|
108 <p> |
|
109 Public method to ask the user for a permission. |
|
110 </p><dl> |
|
111 <dt><i>frame</i> (QWebFrame)</dt> |
|
112 <dd> |
|
113 frame sending the request |
|
114 </dd><dt><i>feature</i> (QWebPage.Feature)</dt> |
|
115 <dd> |
|
116 requested feature |
|
117 </dd> |
|
118 </dl> |
|
119 <div align="right"><a href="#top">Up</a></div> |
109 <div align="right"><a href="#top">Up</a></div> |
120 <hr /> |
110 <hr /> |
121 </body></html> |
111 </body></html> |