Module implementing a simple Python syntax checker.
None |
SyntaxCheckerDialog | Class implementing a dialog to display the results of a syntax check run. |
None |
Class implementing a dialog to display the results of a syntax check run.
errorRole |
filenameRole |
indexRole |
lineRole |
warningRole |
None |
SyntaxCheckerDialog | Constructor |
__batchFinished | Private slot handling the completion of a batch job. |
__clearErrors | Private method to clear all error and warning markers of open editors to be checked. |
__createErrorItem | Private slot to create a new error item in the result list. |
__createResultItem | Private method to create an entry in the result list. |
__finish | Private slot called when the syntax check finished or the user pressed the button. |
__processError | Private slot to process an error indication from the service. |
__processResult | Private slot to display the reported messages. |
__resort | Private method to resort the tree. |
check | Public method to start a check for one file. |
checkBatch | Public method to start a style check batch job. |
on_buttonBox_clicked | Private slot called by a button of the button box clicked. |
on_resultList_itemActivated | Private slot to handle the activation of an item. |
on_showButton_clicked | Private slot to handle the "Show" button press. |
on_startButton_clicked | Private slot to start a syntax check run. |
prepare | Public method to prepare the dialog with a list of filenames. |
start | Public slot to start the syntax check. |
None |
Constructor
Private slot handling the completion of a batch job.
Private method to clear all error and warning markers of open editors to be checked.
Private slot to create a new error item in the result list.
Private method to create an entry in the result list.
Private slot called when the syntax check finished or the user pressed the button.
Private slot to process an error indication from the service.
Private slot to display the reported messages.
Private method to resort the tree.
Public method to start a check for one file.
The results are reported to the __processResult slot.
Public method to start a style check batch job.
The results are reported to the __processResult slot.
Private slot called by a button of the button box clicked.
Private slot to handle the activation of an item.
Private slot to handle the "Show" button press.
Private slot to start a syntax check run.
Public method to prepare the dialog with a list of filenames.
Public slot to start the syntax check.