--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.Plugins.CheckerPlugins.Tabnanny.TabnannyDialog.html Sat Jan 02 18:19:35 2010 +0000 @@ -0,0 +1,140 @@ +<?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.Plugins.CheckerPlugins.Tabnanny.TabnannyDialog</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.Plugins.CheckerPlugins.Tabnanny.TabnannyDialog</h1> +<p> +Module implementing a dialog to show the output of the tabnanny command process. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#TabnannyDialog">TabnannyDialog</a></td> +<td>Class implementing a dialog to show the results of the tabnanny check run.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="TabnannyDialog" ID="TabnannyDialog"></a> +<h2>TabnannyDialog</h2> +<p> + Class implementing a dialog to show the results of the tabnanny check run. +</p> +<h3>Derived from</h3> +QDialog, Ui_TabnannyDialog +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#TabnannyDialog.__init__">TabnannyDialog</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#TabnannyDialog.__createResultItem">__createResultItem</a></td> +<td>Private method to create an entry in the result list.</td> +</tr><tr> +<td><a href="#TabnannyDialog.__finish">__finish</a></td> +<td>Private slot called when the action or the user pressed the button.</td> +</tr><tr> +<td><a href="#TabnannyDialog.__resort">__resort</a></td> +<td>Private method to resort the tree.</td> +</tr><tr> +<td><a href="#TabnannyDialog.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="#TabnannyDialog.on_resultList_itemActivated">on_resultList_itemActivated</a></td> +<td>Private slot to handle the activation of an item.</td> +</tr><tr> +<td><a href="#TabnannyDialog.start">start</a></td> +<td>Public slot to start the tabnanny check.</td> +</tr> +</table> +<a NAME="TabnannyDialog.__init__" ID="TabnannyDialog.__init__"></a> +<h4>TabnannyDialog (Constructor)</h4> +<b>TabnannyDialog</b>(<i>parent = None</i>) +<p> + Constructor +</p><dl> +<dt><i>parent</i></dt> +<dd> +The parent widget (QWidget). +</dd> +</dl><a NAME="TabnannyDialog.__createResultItem" ID="TabnannyDialog.__createResultItem"></a> +<h4>TabnannyDialog.__createResultItem</h4> +<b>__createResultItem</b>(<i>file, line, sourcecode</i>) +<p> + Private method to create an entry in the result list. +</p><dl> +<dt><i>file</i></dt> +<dd> +filename of file (string) +</dd><dt><i>line</i></dt> +<dd> +linenumber of faulty source (integer or string) +</dd><dt><i>sourcecode</i></dt> +<dd> +faulty line of code (string) +</dd> +</dl><a NAME="TabnannyDialog.__finish" ID="TabnannyDialog.__finish"></a> +<h4>TabnannyDialog.__finish</h4> +<b>__finish</b>(<i></i>) +<p> + Private slot called when the action or the user pressed the button. +</p><a NAME="TabnannyDialog.__resort" ID="TabnannyDialog.__resort"></a> +<h4>TabnannyDialog.__resort</h4> +<b>__resort</b>(<i></i>) +<p> + Private method to resort the tree. +</p><a NAME="TabnannyDialog.on_buttonBox_clicked" ID="TabnannyDialog.on_buttonBox_clicked"></a> +<h4>TabnannyDialog.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="TabnannyDialog.on_resultList_itemActivated" ID="TabnannyDialog.on_resultList_itemActivated"></a> +<h4>TabnannyDialog.on_resultList_itemActivated</h4> +<b>on_resultList_itemActivated</b>(<i>itm, col</i>) +<p> + Private slot to handle the activation of an item. +</p><dl> +<dt><i>itm</i></dt> +<dd> +reference to the activated item (QTreeWidgetItem) +</dd><dt><i>col</i></dt> +<dd> +column the item was activated in (integer) +</dd> +</dl><a NAME="TabnannyDialog.start" ID="TabnannyDialog.start"></a> +<h4>TabnannyDialog.start</h4> +<b>start</b>(<i>fn</i>) +<p> + Public slot to start the tabnanny check. +</p><dl> +<dt><i>fn</i></dt> +<dd> +File or list of files or directory to be checked + (string or list of strings) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file