Module implementing a dialog to configure the documentation style check and show its results.
| None |
| DocStyleCheckerDialog | Class implementing a dialog to configure the documentation style check and show its results. |
| None |
Class implementing a dialog to configure the documentation style check and show its results.
| argsRole |
| codeRole |
| filenameRole |
| fixableRole |
| hasResults |
| ignoredRole |
| lineRole |
| messageRole |
| noFiles |
| noResults |
| positionRole |
| None |
| DocStyleCheckerDialog | Constructor |
| __batchFinished | Private slot handling the completion of a batch job. |
| __clearErrors | Private method to clear all warning markers of open editors to be checked. |
| __createErrorItem | Private slot to create a new error item in the result list. |
| __createFileErrorItem | Private method to create an error entry for a given file. |
| __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 code style check finished or the user pressed the cancel button. |
| __getEol | Private method to get the applicable eol string. |
| __getSelectedFixableItems | Private method to extract all selected items for fixable issues. |
| __itemFixable | Private method to check, if an item has a fixable issue. |
| __modifyFixedResultItem | Private method to modify a result list entry to show its positive fixed state. |
| __prepareProgress | Private method to prepare the progress tab for the next run. |
| __processError | Private slot to process an error indication from the service. |
| __processResult | Private slot called after perfoming a style check on one file. |
| __resetStatistics | Private slot to reset the statistics data. |
| __resort | Private method to resort the tree. |
| __selectCodes | Private method to select message codes via a selection dialog. |
| __updateFixerStatistics | Private method to update the collected fixer related statistics. |
| __updateProgress | Private method to update the progress tab. |
| __updateStatistics | Private method to update the collected statistics. |
| check | Public method to start a style check for one file. |
| checkBatch | Public method to start a style check batch job. |
| closeEvent | Protected method to handle a close event. |
| getDefaults | Public method to get a dictionary containing the default values. |
| on_buttonBox_clicked | Private slot called by a button of the button box clicked. |
| on_cancelButton_clicked | Private slot to handle the "Cancel" button press. |
| on_excludeMessagesSelectButton_clicked | Private slot to select the message codes to be excluded via a selection dialog. |
| on_filterButton_clicked | Private slot to filter the list of messages based on selected message code. |
| on_fixButton_clicked | Private slot to fix selected issues. |
| on_fixIssuesSelectButton_clicked | Private slot to select the issue codes to be fixed via a selection dialog. |
| on_includeMessagesSelectButton_clicked | Private slot to select the message codes to be included via a selection dialog. |
| on_loadDefaultButton_clicked | Private slot to load the default configuration values. |
| on_noFixIssuesSelectButton_clicked | Private slot to select the issue codes not to be fixed via a selection dialog. |
| on_resetDefaultButton_clicked | Private slot to reset the configuration values to their default values. |
| on_restartButton_clicked | Private slot to restart a code style check run. |
| on_resultList_itemActivated | Private slot to handle the activation of an item. |
| on_resultList_itemSelectionChanged | Private slot to change the dialog state depending on the selection. |
| on_showButton_clicked | Private slot to handle the "Show" button press. |
| on_startButton_clicked | Private slot to start a documentation style check run. |
| on_statisticsButton_clicked | Private slot to show the statistics dialog. |
| on_storeDefaultButton_clicked | Private slot to store the current configuration values as default values. |
| prepare | Public method to prepare the dialog with a list of filenames. |
| start | Public slot to start the code style check. |
| None |
Constructor
Private slot handling the completion of a batch job.
Private method to clear all 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 error entry for a given file.
Private method to create an entry in the result list.
Private method to return the default statistics entry.
Private slot called when the code style check finished or the user pressed the cancel button.
Private method to get the applicable eol string.
Private method to extract all selected items for fixable issues.
Private method to check, if an item has a fixable issue.
Private method to modify a result list entry to show its positive fixed state.
Private method to prepare the progress tab for the next run.
Private slot to process an error indication from the service.
Private slot called after perfoming a style check on one file.
Private slot to reset the statistics data.
Private method to resort the tree.
Private method to select message codes via a selection dialog.
Private method to update the collected fixer related statistics.
Private method to update the progress tab.
Private method to update the collected statistics.
Public method to start a style 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.
Public method to get a dictionary containing the default values.
Private slot called by a button of the button box clicked.
Private slot to handle the "Cancel" button press.
Private slot to select the message codes to be excluded via a selection dialog.
Private slot to filter the list of messages based on selected message code.
Private slot to fix selected issues.
Build a dictionary of issues to fix. Update the initialized __options. Then call check with the dict as keyparam to fix selected issues.
Private slot to select the issue codes to be fixed via a selection dialog.
Private slot to select the message codes to be included via a selection dialog.
Private slot to load the default configuration values.
Private slot to select the issue codes not to be fixed via a selection dialog.
Private slot to reset the configuration values to their default values.
Private slot to restart a code style check run.
Private slot to handle the activation of an item.
Private slot to change the dialog state depending on the selection.
Private slot to handle the "Show" button press.
Private slot to start a documentation style check run.
Private slot to show the statistics dialog.
Private slot to store the current configuration values as default values.
Public method to prepare the dialog with a list of filenames.
Public slot to start the code style check.