diff -r 892c1787d666 -r edde1fe80b3e Documentation/Source/eric5.Preferences.ProgramsDialog.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.Preferences.ProgramsDialog.html Sat Jan 02 18:19:35 2010 +0000 @@ -0,0 +1,152 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.Preferences.ProgramsDialog</title> +<style> +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' +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.Preferences.ProgramsDialog</h1> +<p> +Module implementing the Programs page. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#ProgramsDialog">ProgramsDialog</a></td> +<td>Class implementing the Programs page.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="ProgramsDialog" ID="ProgramsDialog"></a> +<h2>ProgramsDialog</h2> +<p> + Class implementing the Programs page. +</p> +<h3>Derived from</h3> +QDialog, Ui_ProgramsDialog +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#ProgramsDialog.__init__">ProgramsDialog</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#ProgramsDialog.__createEntry">__createEntry</a></td> +<td>Private method to generate a program entry.</td> +</tr><tr> +<td><a href="#ProgramsDialog.__createProgramEntry">__createProgramEntry</a></td> +<td>Private method to generate a program entry.</td> +</tr><tr> +<td><a href="#ProgramsDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> +<td>Private slot called by a button of the button box clicked.</td> +</tr><tr> +<td><a href="#ProgramsDialog.on_programsSearchButton_clicked">on_programsSearchButton_clicked</a></td> +<td>Private slot to search for all supported/required programs.</td> +</tr><tr> +<td><a href="#ProgramsDialog.show">show</a></td> +<td>Public slot to show the dialog.</td> +</tr> +</table> +<a NAME="ProgramsDialog.__init__" ID="ProgramsDialog.__init__"></a> +<h4>ProgramsDialog (Constructor)</h4> +<b>ProgramsDialog</b>(<i>parent = None</i>) +<p> + Constructor +</p><dl> +<dt><i>parent</i></dt> +<dd> +The parent widget of this dialog. (QWidget) +</dd> +</dl><a NAME="ProgramsDialog.__createEntry" ID="ProgramsDialog.__createEntry"></a> +<h4>ProgramsDialog.__createEntry</h4> +<b>__createEntry</b>(<i>description, entryText, entryVersion</i>) +<p> + Private method to generate a program entry. +</p><dl> +<dt><i>description</i></dt> +<dd> +descriptive text (string) +</dd><dt><i>entryText</i></dt> +<dd> +text to show (string) +</dd><dt><i>entryVersion</i></dt> +<dd> +version string to show (string). +</dd> +</dl><a NAME="ProgramsDialog.__createProgramEntry" ID="ProgramsDialog.__createProgramEntry"></a> +<h4>ProgramsDialog.__createProgramEntry</h4> +<b>__createProgramEntry</b>(<i>description, exe, versionCommand = "", versionStartsWith = "", versionPosition = 0, version = "", versionCleanup = None, versionRe = None</i>) +<p> + Private method to generate a program entry. +</p><dl> +<dt><i>description</i></dt> +<dd> +descriptive text (string) +</dd><dt><i>exe</i></dt> +<dd> +name of the executable program (string) +</dd><dt><i>versionCommand</i></dt> +<dd> +command line switch to get the version info (string) + if this is empty, the given version will be shown. +</dd><dt><i>versionStartsWith</i></dt> +<dd> +start of line identifying version info (string) +</dd><dt><i>versionPosition</i></dt> +<dd> +index of part containing the version info (integer) +</dd><dt><i>version=</i></dt> +<dd> +version string to show (string) +</dd><dt><i>versionCleanup=</i></dt> +<dd> +tuple of two integers giving string positions + start and stop for the version string (tuple of integers) +</dd><dt><i>versionRe=</i></dt> +<dd> +regexp to determine the line identifying version + info (string). Takes precedence over versionStartsWith. +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +version string of detected or given version (string) +</dd> +</dl><a NAME="ProgramsDialog.on_buttonBox_clicked" ID="ProgramsDialog.on_buttonBox_clicked"></a> +<h4>ProgramsDialog.on_buttonBox_clicked</h4> +<b>on_buttonBox_clicked</b>(<i>button</i>) +<p> + Private slot called by a button of the button box clicked. +</p><dl> +<dt><i>button</i></dt> +<dd> +button that was clicked (QAbstractButton) +</dd> +</dl><a NAME="ProgramsDialog.on_programsSearchButton_clicked" ID="ProgramsDialog.on_programsSearchButton_clicked"></a> +<h4>ProgramsDialog.on_programsSearchButton_clicked</h4> +<b>on_programsSearchButton_clicked</b>(<i></i>) +<p> + Private slot to search for all supported/required programs. +</p><a NAME="ProgramsDialog.show" ID="ProgramsDialog.show"></a> +<h4>ProgramsDialog.show</h4> +<b>show</b>(<i></i>) +<p> + Public slot to show the dialog. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file