Documentation/Source/eric5.Helpviewer.HelpTocWidget.html

changeset 17
edde1fe80b3e
child 21
b88a0e6268bd
equal deleted inserted replaced
16:892c1787d666 17:edde1fe80b3e
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.HelpTocWidget</title>
6 <style>
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n'
8 </style>
9 </head>
10 <body><a NAME="top" ID="top"></a>
11 <h1>eric5.Helpviewer.HelpTocWidget</h1>
12 <p>
13 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; w&#105;&#110;&#100;&#111;w &#102;&#111;&#114; &#115;&#104;&#111;w&#105;&#110;&#103; &#116;&#104;&#101; &#81;&#116;&#72;&#101;&#108;&#112; &#84;&#79;&#67;.
14 </p>
15 <h3>Global Attributes</h3>
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20 <table>
21 <tr>
22 <td><a href="#HelpTocWidget">HelpTocWidget</a></td>
23 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; w&#105;&#110;&#100;&#111;w &#102;&#111;&#114; &#115;&#104;&#111;w&#105;&#110;&#103; &#116;&#104;&#101; &#81;&#116;&#72;&#101;&#108;&#112; &#84;&#79;&#67;.</td>
24 </tr>
25 </table>
26 <h3>Functions</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <hr /><hr />
31 <a NAME="HelpTocWidget" ID="HelpTocWidget"></a>
32 <h2>HelpTocWidget</h2>
33 <p>
34 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; w&#105;&#110;&#100;&#111;w &#102;&#111;&#114; &#115;&#104;&#111;w&#105;&#110;&#103; &#116;&#104;&#101; &#81;&#116;&#72;&#101;&#108;&#112; &#84;&#79;&#67;.
35 </p><h4>Signals</h4>
36 <dl>
37 <dt>escapePressed()</dt>
38 <dd>
39 &#101;&#109;&#105;&#116;&#116;&#101;&#100; w&#104;&#101;&#110; &#116;&#104;&#101; &#69;&#83;&#67; &#107;&#101;y w&#97;&#115; &#112;&#114;&#101;&#115;&#115;&#101;&#100;
40 </dd><dt>linkActivated(const QUrl&)</dt>
41 <dd>
42 &#101;&#109;&#105;&#116;&#116;&#101;&#100; w&#104;&#101;&#110; &#97; &#84;&#79;&#67; &#101;&#110;&#116;&#114;y &#105;&#115; &#97;&#99;&#116;&#105;v&#97;&#116;&#101;&#100;
43 </dd>
44 </dl>
45 <h3>Derived from</h3>
46 QWidget
47 <h3>Class Attributes</h3>
48 <table>
49 <tr><td>None</td></tr>
50 </table>
51 <h3>Methods</h3>
52 <table>
53 <tr>
54 <td><a href="#HelpTocWidget.__init__">HelpTocWidget</a></td>
55 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
56 </tr><tr>
57 <td><a href="#HelpTocWidget.__expandTOC">__expandTOC</a></td>
58 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#101;x&#112;&#97;&#110;&#100; &#116;&#104;&#101; &#116;&#97;&#98;&#108;&#101; &#111;&#102; &#99;&#111;&#110;&#116;&#101;&#110;&#116;&#115;.</td>
59 </tr><tr>
60 <td><a href="#HelpTocWidget.__showContextMenu">__showContextMenu</a></td>
61 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#115;&#104;&#111;w&#105;&#110;&#103; &#116;&#104;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117;.</td>
62 </tr><tr>
63 <td><a href="#HelpTocWidget.eventFilter">eventFilter</a></td>
64 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#102;&#105;&#108;&#116;&#101;&#114; &#116;&#104;&#101; &#101;v&#101;&#110;&#116; &#113;&#117;&#101;&#117;&#101;.</td>
65 </tr><tr>
66 <td><a href="#HelpTocWidget.expandToDepth">expandToDepth</a></td>
67 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#101;x&#112;&#97;&#110;&#100; &#116;&#104;&#101; &#116;&#97;&#98;&#108;&#101; &#111;&#102; &#99;&#111;&#110;&#116;&#101;&#110;&#116;&#115; &#116;&#111; &#97; &#115;&#112;&#101;&#99;&#105;&#102;&#105;&#99; &#100;&#101;&#112;&#116;&#104;.</td>
68 </tr><tr>
69 <td><a href="#HelpTocWidget.focusInEvent">focusInEvent</a></td>
70 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#102;&#111;&#99;&#117;&#115; &#105;&#110; &#101;v&#101;&#110;&#116;&#115;.</td>
71 </tr><tr>
72 <td><a href="#HelpTocWidget.itemClicked">itemClicked</a></td>
73 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#97; &#99;&#108;&#105;&#99;&#107; &#111;&#102; &#97; &#84;&#79;&#67; &#101;&#110;&#116;&#114;y.</td>
74 </tr><tr>
75 <td><a href="#HelpTocWidget.keyPressEvent">keyPressEvent</a></td>
76 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#107;&#101;y &#112;&#114;&#101;&#115;&#115; &#101;v&#101;&#110;&#116;&#115;.</td>
77 </tr><tr>
78 <td><a href="#HelpTocWidget.syncToContent">syncToContent</a></td>
79 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;y&#110;&#99; &#116;&#104;&#101; &#84;&#79;&#67; &#116;&#111; &#116;&#104;&#101; &#100;&#105;&#115;&#112;&#108;&#97;y&#101;&#100; &#112;&#97;&#103;&#101;.</td>
80 </tr>
81 </table>
82 <a NAME="HelpTocWidget.__init__" ID="HelpTocWidget.__init__"></a>
83 <h4>HelpTocWidget (Constructor)</h4>
84 <b>HelpTocWidget</b>(<i>engine, mainWindow, parent = None</i>)
85 <p>
86 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
87 </p><dl>
88 <dt><i>engine</i></dt>
89 <dd>
90 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#101;&#108;&#112; &#101;&#110;&#103;&#105;&#110;&#101; (&#81;&#72;&#101;&#108;&#112;&#69;&#110;&#103;&#105;&#110;&#101;)
91 </dd><dt><i>mainWindow</i></dt>
92 <dd>
93 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#109;&#97;&#105;&#110; w&#105;&#110;&#100;&#111;w &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#77;&#97;&#105;&#110;&#87;&#105;&#110;&#100;&#111;w)
94 </dd><dt><i>parent</i></dt>
95 <dd>
96 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;)
97 </dd>
98 </dl><a NAME="HelpTocWidget.__expandTOC" ID="HelpTocWidget.__expandTOC"></a>
99 <h4>HelpTocWidget.__expandTOC</h4>
100 <b>__expandTOC</b>(<i></i>)
101 <p>
102 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#101;x&#112;&#97;&#110;&#100; &#116;&#104;&#101; &#116;&#97;&#98;&#108;&#101; &#111;&#102; &#99;&#111;&#110;&#116;&#101;&#110;&#116;&#115;.
103 </p><a NAME="HelpTocWidget.__showContextMenu" ID="HelpTocWidget.__showContextMenu"></a>
104 <h4>HelpTocWidget.__showContextMenu</h4>
105 <b>__showContextMenu</b>(<i>pos</i>)
106 <p>
107 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#115;&#104;&#111;w&#105;&#110;&#103; &#116;&#104;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117;.
108 </p><dl>
109 <dt><i>pos</i></dt>
110 <dd>
111 &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#109;&#101;&#110;&#117; &#97;&#116; (&#81;&#80;&#111;&#105;&#110;&#116;)
112 </dd>
113 </dl><a NAME="HelpTocWidget.eventFilter" ID="HelpTocWidget.eventFilter"></a>
114 <h4>HelpTocWidget.eventFilter</h4>
115 <b>eventFilter</b>(<i>watched, event</i>)
116 <p>
117 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#102;&#105;&#108;&#116;&#101;&#114; &#116;&#104;&#101; &#101;v&#101;&#110;&#116; &#113;&#117;&#101;&#117;&#101;.
118 </p><dl>
119 <dt><i>watched</i></dt>
120 <dd>
121 &#116;&#104;&#101; &#81;&#79;&#98;&#106;&#101;&#99;&#116; &#98;&#101;&#105;&#110;&#103; w&#97;&#116;&#99;&#104;&#101;&#100; (&#81;&#79;&#98;&#106;&#101;&#99;&#116;)
122 </dd><dt><i>event</i></dt>
123 <dd>
124 &#116;&#104;&#101; &#101;v&#101;&#110;&#116; &#116;&#104;&#97;&#116; &#111;&#99;&#99;&#117;&#114;&#114;&#101;&#100; (&#81;&#69;v&#101;&#110;&#116;)
125 </dd>
126 </dl><dl>
127 <dt>Returns:</dt>
128 <dd>
129 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; w&#104;&#101;&#116;&#104;&#101;&#114; &#116;&#104;&#101; &#101;v&#101;&#110;&#116; w&#97;&#115; &#104;&#97;&#110;&#100;&#108;&#101;&#100; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
130 </dd>
131 </dl><a NAME="HelpTocWidget.expandToDepth" ID="HelpTocWidget.expandToDepth"></a>
132 <h4>HelpTocWidget.expandToDepth</h4>
133 <b>expandToDepth</b>(<i>depth</i>)
134 <p>
135 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#101;x&#112;&#97;&#110;&#100; &#116;&#104;&#101; &#116;&#97;&#98;&#108;&#101; &#111;&#102; &#99;&#111;&#110;&#116;&#101;&#110;&#116;&#115; &#116;&#111; &#97; &#115;&#112;&#101;&#99;&#105;&#102;&#105;&#99; &#100;&#101;&#112;&#116;&#104;.
136 </p><dl>
137 <dt><i>depth</i></dt>
138 <dd>
139 &#100;&#101;&#112;&#116;&#104; &#116;&#111; &#101;x&#112;&#97;&#110;&#100; &#116;&#111; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
140 </dd>
141 </dl><a NAME="HelpTocWidget.focusInEvent" ID="HelpTocWidget.focusInEvent"></a>
142 <h4>HelpTocWidget.focusInEvent</h4>
143 <b>focusInEvent</b>(<i>evt</i>)
144 <p>
145 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#102;&#111;&#99;&#117;&#115; &#105;&#110; &#101;v&#101;&#110;&#116;&#115;.
146 </p><dl>
147 <dt><i>evt</i></dt>
148 <dd>
149 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#102;&#111;&#99;&#117;&#115; &#101;v&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#70;&#111;&#99;&#117;&#115;&#69;v&#101;&#110;&#116;)
150 </dd>
151 </dl><a NAME="HelpTocWidget.itemClicked" ID="HelpTocWidget.itemClicked"></a>
152 <h4>HelpTocWidget.itemClicked</h4>
153 <b>itemClicked</b>(<i>index</i>)
154 <p>
155 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#97; &#99;&#108;&#105;&#99;&#107; &#111;&#102; &#97; &#84;&#79;&#67; &#101;&#110;&#116;&#114;y.
156 </p><dl>
157 <dt><i>index</i></dt>
158 <dd>
159 &#105;&#110;&#100;&#101;x &#111;&#102; &#116;&#104;&#101; &#84;&#79;&#67; &#99;&#108;&#105;&#99;&#107;&#101;&#100; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
160 </dd>
161 </dl><a NAME="HelpTocWidget.keyPressEvent" ID="HelpTocWidget.keyPressEvent"></a>
162 <h4>HelpTocWidget.keyPressEvent</h4>
163 <b>keyPressEvent</b>(<i>evt</i>)
164 <p>
165 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#107;&#101;y &#112;&#114;&#101;&#115;&#115; &#101;v&#101;&#110;&#116;&#115;.
166 </p><dl>
167 <dt><i>evt</i></dt>
168 <dd>
169 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#107;&#101;y &#112;&#114;&#101;&#115;&#115; &#101;v&#101;&#110;&#116; (&#81;&#75;&#101;y&#69;v&#101;&#110;&#116;)
170 </dd>
171 </dl><a NAME="HelpTocWidget.syncToContent" ID="HelpTocWidget.syncToContent"></a>
172 <h4>HelpTocWidget.syncToContent</h4>
173 <b>syncToContent</b>(<i>url</i>)
174 <p>
175 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;y&#110;&#99; &#116;&#104;&#101; &#84;&#79;&#67; &#116;&#111; &#116;&#104;&#101; &#100;&#105;&#115;&#112;&#108;&#97;y&#101;&#100; &#112;&#97;&#103;&#101;.
176 </p><dl>
177 <dt><i>url</i></dt>
178 <dd>
179 &#85;&#82;&#76; &#111;&#102; &#116;&#104;&#101; &#100;&#105;&#115;&#112;&#108;&#97;y&#101;&#100; &#112;&#97;&#103;&#101; (&#81;&#85;&#114;&#108;)
180 </dd>
181 </dl><dl>
182 <dt>Returns:</dt>
183 <dd>
184 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#115;&#117;&#99;&#99;&#101;&#115;&#115;&#102;&#117;&#108; &#115;y&#110;&#99;&#104;&#114;&#111;&#110;&#105;z&#97;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
185 </dd>
186 </dl>
187 <div align="right"><a href="#top">Up</a></div>
188 <hr />
189 </body></html>

eric ide

mercurial