|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Helpviewer.WebPlugins.WebPluginInterface</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.Helpviewer.WebPlugins.WebPluginInterface</h1> |
|
24 <p> |
|
25 Module implementing the web plug-in interface. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#WebPluginInterface">WebPluginInterface</a></td> |
|
35 <td>Class implementing the web plug-in interface.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="WebPluginInterface" ID="WebPluginInterface"></a> |
|
44 <h2>WebPluginInterface</h2> |
|
45 <p> |
|
46 Class implementing the web plug-in interface. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 object |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Class Methods</h3> |
|
55 <table> |
|
56 <tr><td>None</td></tr> |
|
57 </table> |
|
58 <h3>Methods</h3> |
|
59 <table> |
|
60 <tr> |
|
61 <td><a href="#WebPluginInterface.configure">configure</a></td> |
|
62 <td>Public method to configure the plug-in.</td> |
|
63 </tr><tr> |
|
64 <td><a href="#WebPluginInterface.create">create</a></td> |
|
65 <td>Public method to create a plug-in instance for the given data.</td> |
|
66 </tr><tr> |
|
67 <td><a href="#WebPluginInterface.isAnonymous">isAnonymous</a></td> |
|
68 <td>Public method to indicate an anonymous plug-in.</td> |
|
69 </tr><tr> |
|
70 <td><a href="#WebPluginInterface.metaPlugin">metaPlugin</a></td> |
|
71 <td>Public method to create a meta plug-in object containing plug-in info.</td> |
|
72 </tr> |
|
73 </table> |
|
74 <h3>Static Methods</h3> |
|
75 <table> |
|
76 <tr><td>None</td></tr> |
|
77 </table> |
|
78 <a NAME="WebPluginInterface.configure" ID="WebPluginInterface.configure"></a> |
|
79 <h4>WebPluginInterface.configure</h4> |
|
80 <b>configure</b>(<i></i>) |
|
81 <p> |
|
82 Public method to configure the plug-in. |
|
83 </p><a NAME="WebPluginInterface.create" ID="WebPluginInterface.create"></a> |
|
84 <h4>WebPluginInterface.create</h4> |
|
85 <b>create</b>(<i>mimeType, url, argumentNames, argumentValues</i>) |
|
86 <p> |
|
87 Public method to create a plug-in instance for the given data. |
|
88 </p><dl> |
|
89 <dt><i>mimeType</i></dt> |
|
90 <dd> |
|
91 MIME type for the plug-in (string) |
|
92 </dd><dt><i>url</i></dt> |
|
93 <dd> |
|
94 URL for the plug-in (QUrl) |
|
95 </dd><dt><i>argumentNames</i></dt> |
|
96 <dd> |
|
97 list of argument names (list of strings) |
|
98 </dd><dt><i>argumentValues</i></dt> |
|
99 <dd> |
|
100 list of argument values (list of strings) |
|
101 </dd> |
|
102 </dl><dl> |
|
103 <dt>Returns:</dt> |
|
104 <dd> |
|
105 reference to the created object (QWidget) |
|
106 </dd> |
|
107 </dl><a NAME="WebPluginInterface.isAnonymous" ID="WebPluginInterface.isAnonymous"></a> |
|
108 <h4>WebPluginInterface.isAnonymous</h4> |
|
109 <b>isAnonymous</b>(<i></i>) |
|
110 <p> |
|
111 Public method to indicate an anonymous plug-in. |
|
112 </p><a NAME="WebPluginInterface.metaPlugin" ID="WebPluginInterface.metaPlugin"></a> |
|
113 <h4>WebPluginInterface.metaPlugin</h4> |
|
114 <b>metaPlugin</b>(<i></i>) |
|
115 <p> |
|
116 Public method to create a meta plug-in object containing plug-in info. |
|
117 </p><dl> |
|
118 <dt>Returns:</dt> |
|
119 <dd> |
|
120 meta plug-in object (QWebPluginFactory.Plugin) |
|
121 </dd> |
|
122 </dl> |
|
123 <div align="right"><a href="#top">Up</a></div> |
|
124 <hr /> |
|
125 </body></html> |