|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.SiteInfo.SiteInfoWidget</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.SiteInfo.SiteInfoWidget</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a widget to show some site information. |
|
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="#SiteInfoWidget">SiteInfoWidget</a></td> |
|
25 <td>Class implementing a widget to show site related infos.</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="SiteInfoWidget" ID="SiteInfoWidget"></a> |
|
36 <h2>SiteInfoWidget</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing a widget to show site related infos. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QMenu |
|
43 <h3>Class Attributes</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</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="#SiteInfoWidget.__init__">SiteInfoWidget</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#SiteInfoWidget.__registerProtocolHandler">__registerProtocolHandler</a></td> |
|
63 <td>Private slot to register a protocol handler.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#SiteInfoWidget.__showSiteInfo">__showSiteInfo</a></td> |
|
67 <td>Private slot to show the site info dialog.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#SiteInfoWidget.accept">accept</a></td> |
|
71 <td>Public method to accept the widget.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#SiteInfoWidget.showAt">showAt</a></td> |
|
75 <td>Public method to show the 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="SiteInfoWidget.__init__" ID="SiteInfoWidget.__init__"></a> |
|
85 <h4>SiteInfoWidget (Constructor)</h4> |
|
86 <b>SiteInfoWidget</b>(<i>browser, parent=None</i>) |
|
87 |
|
88 <p> |
|
89 Constructor |
|
90 </p> |
|
91 <dl> |
|
92 |
|
93 <dt><i>browser</i> (WebBrowserView)</dt> |
|
94 <dd> |
|
95 reference to the browser view |
|
96 </dd> |
|
97 <dt><i>parent</i> (QWidget)</dt> |
|
98 <dd> |
|
99 reference to the parent object |
|
100 </dd> |
|
101 </dl> |
|
102 <a NAME="SiteInfoWidget.__registerProtocolHandler" ID="SiteInfoWidget.__registerProtocolHandler"></a> |
|
103 <h4>SiteInfoWidget.__registerProtocolHandler</h4> |
|
104 <b>__registerProtocolHandler</b>(<i></i>) |
|
105 |
|
106 <p> |
|
107 Private slot to register a protocol handler. |
|
108 </p> |
|
109 <a NAME="SiteInfoWidget.__showSiteInfo" ID="SiteInfoWidget.__showSiteInfo"></a> |
|
110 <h4>SiteInfoWidget.__showSiteInfo</h4> |
|
111 <b>__showSiteInfo</b>(<i></i>) |
|
112 |
|
113 <p> |
|
114 Private slot to show the site info dialog. |
|
115 </p> |
|
116 <a NAME="SiteInfoWidget.accept" ID="SiteInfoWidget.accept"></a> |
|
117 <h4>SiteInfoWidget.accept</h4> |
|
118 <b>accept</b>(<i></i>) |
|
119 |
|
120 <p> |
|
121 Public method to accept the widget. |
|
122 </p> |
|
123 <a NAME="SiteInfoWidget.showAt" ID="SiteInfoWidget.showAt"></a> |
|
124 <h4>SiteInfoWidget.showAt</h4> |
|
125 <b>showAt</b>(<i>pos</i>) |
|
126 |
|
127 <p> |
|
128 Public method to show the widget. |
|
129 </p> |
|
130 <dl> |
|
131 |
|
132 <dt><i>pos</i> (QPoint)</dt> |
|
133 <dd> |
|
134 position to show at |
|
135 </dd> |
|
136 </dl> |
|
137 <div align="right"><a href="#top">Up</a></div> |
|
138 <hr /> |
|
139 </body></html> |