--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/Documentation/source/Plugin_Checker_PyLint.PyLintInterface.PyLintExecDialog.html Thu Dec 30 11:37:27 2021 +0100 @@ -0,0 +1,293 @@ +<!DOCTYPE html> +<html><head> +<title>Plugin_Checker_PyLint.PyLintInterface.PyLintExecDialog</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>Plugin_Checker_PyLint.PyLintInterface.PyLintExecDialog</h1> + +<p> +Module implementing a dialog to show the results of the PyLint run. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#PyLintExecDialog">PyLintExecDialog</a></td> +<td>Class implementing a dialog to show the results of the PyLint run.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="PyLintExecDialog" ID="PyLintExecDialog"></a> +<h2>PyLintExecDialog</h2> + +<p> + Class implementing a dialog to show the results of the PyLint run. +</p> +<p> + This class starts a QProcess and displays a dialog that + shows the results of the PyLint command process. +</p> +<h3>Derived from</h3> +QWidget, Ui_PyLintExecDialog +<h3>Class Attributes</h3> + +<table> +<tr><td>filenameRole</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#PyLintExecDialog.__init__">PyLintExecDialog</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.__createItem">__createItem</a></td> +<td>Private method to create an entry in the message list.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.__finish">__finish</a></td> +<td>Private slot called when the process finished.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.__readParseStdout">__readParseStdout</a></td> +<td>Private slot to handle the readyReadStandardOutput signal for parseable output.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.__readStderr">__readStderr</a></td> +<td>Private slot to handle the readyReadStandardError signal.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.__readStdout">__readStdout</a></td> +<td>Private slot to handle the readyReadStandardOutput signal.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.__writeReport">__writeReport</a></td> +<td>Private slot to write the report to a report file.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.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="#PyLintExecDialog.on_messageList_itemActivated">on_messageList_itemActivated</a></td> +<td>Private slot to handle the itemActivated signal of the message list.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> +<td>Private slot to refresh the status display.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.on_saveButton_clicked">on_saveButton_clicked</a></td> +<td>Private slot to save the report to a file.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.start">start</a></td> +<td>Public slot to start PyLint.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="PyLintExecDialog.__init__" ID="PyLintExecDialog.__init__"></a> +<h4>PyLintExecDialog (Constructor)</h4> +<b>PyLintExecDialog</b>(<i>parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>parent</i> (QWidget)</dt> +<dd> +parent widget of this dialog +</dd> +</dl> +<a NAME="PyLintExecDialog.__createItem" ID="PyLintExecDialog.__createItem"></a> +<h4>PyLintExecDialog.__createItem</h4> +<b>__createItem</b>(<i>file, line, type_, message</i>) + +<p> + Private method to create an entry in the message list. +</p> +<dl> + +<dt><i>file</i> (str)</dt> +<dd> +filename of file +</dd> +<dt><i>line</i> (int or str)</dt> +<dd> +linenumber of message +</dd> +<dt><i>type_</i> (str)</dt> +<dd> +type of message +</dd> +<dt><i>message</i> (str)</dt> +<dd> +message text +</dd> +</dl> +<a NAME="PyLintExecDialog.__finish" ID="PyLintExecDialog.__finish"></a> +<h4>PyLintExecDialog.__finish</h4> +<b>__finish</b>(<i></i>) + +<p> + Private slot called when the process finished. +</p> +<p> + It is called when the process finished or the user pressed the button. +</p> +<a NAME="PyLintExecDialog.__readParseStdout" ID="PyLintExecDialog.__readParseStdout"></a> +<h4>PyLintExecDialog.__readParseStdout</h4> +<b>__readParseStdout</b>(<i></i>) + +<p> + Private slot to handle the readyReadStandardOutput signal for + parseable output. +</p> +<p> + It reads the output of the process, formats it and inserts it into + the message list pane. +</p> +<a NAME="PyLintExecDialog.__readStderr" ID="PyLintExecDialog.__readStderr"></a> +<h4>PyLintExecDialog.__readStderr</h4> +<b>__readStderr</b>(<i></i>) + +<p> + Private slot to handle the readyReadStandardError signal. +</p> +<p> + It reads the error output of the process and inserts it into the + error pane. +</p> +<a NAME="PyLintExecDialog.__readStdout" ID="PyLintExecDialog.__readStdout"></a> +<h4>PyLintExecDialog.__readStdout</h4> +<b>__readStdout</b>(<i></i>) + +<p> + Private slot to handle the readyReadStandardOutput signal. +</p> +<p> + It reads the output of the process, formats it and inserts it into + the contents pane. +</p> +<a NAME="PyLintExecDialog.__writeReport" ID="PyLintExecDialog.__writeReport"></a> +<h4>PyLintExecDialog.__writeReport</h4> +<b>__writeReport</b>(<i></i>) + +<p> + Private slot to write the report to a report file. +</p> +<a NAME="PyLintExecDialog.on_buttonBox_clicked" ID="PyLintExecDialog.on_buttonBox_clicked"></a> +<h4>PyLintExecDialog.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> (QAbstractButton)</dt> +<dd> +button that was clicked +</dd> +</dl> +<a NAME="PyLintExecDialog.on_messageList_itemActivated" ID="PyLintExecDialog.on_messageList_itemActivated"></a> +<h4>PyLintExecDialog.on_messageList_itemActivated</h4> +<b>on_messageList_itemActivated</b>(<i>itm, column</i>) + +<p> + Private slot to handle the itemActivated signal of the message list. +</p> +<dl> + +<dt><i>itm</i> (QTreeWidgetItem)</dt> +<dd> +The message item that was activated +</dd> +<dt><i>column</i> (int)</dt> +<dd> +column the item was activated in +</dd> +</dl> +<a NAME="PyLintExecDialog.on_refreshButton_clicked" ID="PyLintExecDialog.on_refreshButton_clicked"></a> +<h4>PyLintExecDialog.on_refreshButton_clicked</h4> +<b>on_refreshButton_clicked</b>(<i></i>) + +<p> + Private slot to refresh the status display. +</p> +<a NAME="PyLintExecDialog.on_saveButton_clicked" ID="PyLintExecDialog.on_saveButton_clicked"></a> +<h4>PyLintExecDialog.on_saveButton_clicked</h4> +<b>on_saveButton_clicked</b>(<i></i>) + +<p> + Private slot to save the report to a file. +</p> +<a NAME="PyLintExecDialog.start" ID="PyLintExecDialog.start"></a> +<h4>PyLintExecDialog.start</h4> +<b>start</b>(<i>args, fn, reportFile, ppath</i>) + +<p> + Public slot to start PyLint. +</p> +<dl> + +<dt><i>args</i> (list of str)</dt> +<dd> +commandline arguments for documentation programPyLint +</dd> +<dt><i>fn</i> (str)</dt> +<dd> +filename or dirname to be processed by PyLint +</dd> +<dt><i>reportFile</i> (str)</dt> +<dd> +filename of file to write the report to +</dd> +<dt><i>ppath</i> (str)</dt> +<dd> +project path +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +flag indicating the successful start of the process +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file