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. |
__cancel | Private method to cancel the current check run. |
__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. |
__createFileStatistics | Private method to return the file statistics entry. |
__createHeaderItem | Private method to create a header item in the result list. |
__createResultItem | Private method to create an entry in the result list. |
__defaultStatistics | Private method to return the default statistics entry. |
__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. |
__resetStatistics | Private method to reset the statistics data. |
__resort | Private method to resort the tree. |
__updateStatistics | Private method to update the statistics. |
__updateStatisticsArea | Private method to update the statistics area of the dialog. |
check | Public method to start a check for one file. |
checkBatch | Public method to start a style check batch job. |
closeEvent | Protected method to handle a close event. |
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. |
setArguments | Public method to set additional arguments to be used by the syntax check. |
start | Public slot to start the syntax check. |
startForBrowser | Public slot to start the syntax check for the project sources browser. |
None |
Constructor
Private slot handling the completion of a batch job.
Private method to cancel the current check run.
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 return the file statistics entry.
Private method to create a header item in the result list.
Private method to create an entry in the result list.
Private method to return the default statistics entry.
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 reset the statistics data.
Private method to resort the tree.
Private method to update the statistics.
Private method to update the statistics area of the dialog.
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.
Protected method to handle a close event.
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 method to set additional arguments to be used by the syntax check.
Public slot to start the syntax check.
Public slot to start the syntax check for the project sources browser.