Documentation/Source/eric5.UI.Previewer.html

changeset 3018
70924c0bdaf1
parent 2966
f85f686981ad
child 3458
64bbac483843
equal deleted inserted replaced
3017:6a8cb7632448 3018:70924c0bdaf1
52 previewer view. 52 previewer view.
53 </p><h3>Signals</h3> 53 </p><h3>Signals</h3>
54 <dl> 54 <dl>
55 <dt>htmlReady(str,str)</dt> 55 <dt>htmlReady(str,str)</dt>
56 <dd> 56 <dd>
57 emitted with the file name and processed HTML to signal 57 emitted with the file name and processed HTML
58 the availability of the processed HTML 58 to signal the availability of the processed HTML
59 </dd> 59 </dd>
60 </dl> 60 </dl>
61 <h3>Derived from</h3> 61 <h3>Derived from</h3>
62 QThread 62 QThread
63 <h3>Class Attributes</h3> 63 <h3>Class Attributes</h3>
177 <dt><i>txt</i></dt> 177 <dt><i>txt</i></dt>
178 <dd> 178 <dd>
179 text to be processed (string) 179 text to be processed (string)
180 </dd><dt><i>filename</i></dt> 180 </dd><dt><i>filename</i></dt>
181 <dd> 181 <dd>
182 name of the file associated with the given text (string) 182 name of the file associated with the given text
183 (string)
183 </dd><dt><i>root</i></dt> 184 </dd><dt><i>root</i></dt>
184 <dd> 185 <dd>
185 directory of the document root (string) 186 directory of the document root (string)
186 </dd> 187 </dd>
187 </dl><dl> 188 </dl><dl>
204 </dd><dt><i>text</i></dt> 205 </dd><dt><i>text</i></dt>
205 <dd> 206 <dd>
206 text to be processed (string) 207 text to be processed (string)
207 </dd><dt><i>ssiEnabled</i></dt> 208 </dd><dt><i>ssiEnabled</i></dt>
208 <dd> 209 <dd>
209 flag indicating to do some (limited) SSI processing (boolean) 210 flag indicating to do some (limited) SSI processing
211 (boolean)
210 </dd><dt><i>rootPath</i></dt> 212 </dd><dt><i>rootPath</i></dt>
211 <dd> 213 <dd>
212 root path to be used for SSI processing (str) 214 root path to be used for SSI processing (str)
213 </dd> 215 </dd>
214 </dl><a NAME="PreviewProcessingThread.run" ID="PreviewProcessingThread.run"></a> 216 </dl><a NAME="PreviewProcessingThread.run" ID="PreviewProcessingThread.run"></a>
347 </dd> 349 </dd>
348 </dl><a NAME="Previewer.__isPreviewable" ID="Previewer.__isPreviewable"></a> 350 </dl><a NAME="Previewer.__isPreviewable" ID="Previewer.__isPreviewable"></a>
349 <h4>Previewer.__isPreviewable</h4> 351 <h4>Previewer.__isPreviewable</h4>
350 <b>__isPreviewable</b>(<i>editor</i>) 352 <b>__isPreviewable</b>(<i>editor</i>)
351 <p> 353 <p>
352 Private method to check, if a preview can be shown for the given editor. 354 Private method to check, if a preview can be shown for the given
355 editor.
353 </p><dl> 356 </p><dl>
354 <dt><i>editor</i></dt> 357 <dt><i>editor</i></dt>
355 <dd> 358 <dd>
356 reference to an editor (Editor) 359 reference to an editor (Editor)
357 </dd> 360 </dd>
387 Private method to save scroll bar positions for a previewed editor. 390 Private method to save scroll bar positions for a previewed editor.
388 </p><a NAME="Previewer.__setHtml" ID="Previewer.__setHtml"></a> 391 </p><a NAME="Previewer.__setHtml" ID="Previewer.__setHtml"></a>
389 <h4>Previewer.__setHtml</h4> 392 <h4>Previewer.__setHtml</h4>
390 <b>__setHtml</b>(<i>filePath, html</i>) 393 <b>__setHtml</b>(<i>filePath, html</i>)
391 <p> 394 <p>
392 Private method to set the HTML to the view and restore the scroll bars positions. 395 Private method to set the HTML to the view and restore the scroll bars
396 positions.
393 </p><dl> 397 </p><dl>
394 <dt><i>filePath</i></dt> 398 <dt><i>filePath</i></dt>
395 <dd> 399 <dd>
396 file path of the previewed editor (string) 400 file path of the previewed editor (string)
397 </dd><dt><i>html</i></dt> 401 </dd><dt><i>html</i></dt>
475 <h2>_StrikeThroughExtension</h2> 479 <h2>_StrikeThroughExtension</h2>
476 <p> 480 <p>
477 Class is placed here, because it depends on imported markdown, 481 Class is placed here, because it depends on imported markdown,
478 and markdown import is lazy. 482 and markdown import is lazy.
479 </p><p> 483 </p><p>
480 (see 484 (see http://achinghead.com/
481 <a href="http://achinghead.com/python-markdown-adding-insert-delete.html"> 485 python-markdown-adding-insert-delete.html this page for
482 this page for details</a>) 486 details)
483 </p> 487 </p>
484 <h3>Derived from</h3> 488 <h3>Derived from</h3>
485 markdown.Extension 489 markdown.Extension
486 <h3>Class Attributes</h3> 490 <h3>Class Attributes</h3>
487 <table> 491 <table>

eric ide

mercurial