Sat, 15 May 2021 18:45:04 +0200
Started to rename eric6 to eric7.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>CodeStyleCheckerDialog</class> <widget class="QDialog" name="CodeStyleCheckerDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>800</width> <height>700</height> </rect> </property> <property name="windowTitle"> <string>Code Style Check Result</string> </property> <property name="whatsThis"> <string><b>Code Style Check Results</b> <p>This dialog shows the results of the code style check. Double clicking an entry will open an editor window and position the cursor at the respective line and position.</p></string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QVBoxLayout" name="verticalLayout_13"> <item> <widget class="QTabWidget" name="mainWidget"> <property name="currentIndex"> <number>0</number> </property> <widget class="QWidget" name="configureTab"> <attribute name="title"> <string>Configure</string> </attribute> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QTabWidget" name="optionsTabWidget"> <property name="currentIndex"> <number>1</number> </property> <widget class="QWidget" name="globalOptionsTab"> <attribute name="title"> <string>Global Options</string> </attribute> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <widget class="QLabel" name="label_20"> <property name="text"> <string>Categories:</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> </widget> </item> <item row="0" column="1"> <widget class="QListWidget" name="categoriesList"> <property name="toolTip"> <string>Select the categories of checks to be performed.</string> </property> <property name="sortingEnabled"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Exclude Files:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="E5ClearableLineEdit" name="excludeFilesEdit"> <property name="toolTip"> <string>Enter filename patterns of files to be excluded separated by a comma</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Exclude Messages:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="E5ClearableLineEdit" name="excludeMessagesEdit"> <property name="toolTip"> <string>Enter message codes to be excluded separated by a comma</string> </property> </widget> </item> <item row="2" column="2"> <widget class="QToolButton" name="excludeMessagesSelectButton"> <property name="toolTip"> <string>Press to select the message codes from a list</string> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Included Messages:</string> </property> </widget> </item> <item row="3" column="1"> <widget class="E5ClearableLineEdit" name="includeMessagesEdit"> <property name="toolTip"> <string>Enter message codes to be included separated by a comma</string> </property> </widget> </item> <item row="3" column="2"> <widget class="QToolButton" name="includeMessagesSelectButton"> <property name="toolTip"> <string>Press to select the message codes from a list</string> </property> </widget> </item> <item row="4" column="0"> <widget class="QLabel" name="label_4"> <property name="text"> <string>Fix Issues:</string> </property> </widget> </item> <item row="4" column="1"> <widget class="E5ClearableLineEdit" name="fixIssuesEdit"> <property name="toolTip"> <string>Enter message codes of issues to be fixed automatically (leave empty to fix all)</string> </property> </widget> </item> <item row="4" column="2"> <widget class="QToolButton" name="fixIssuesSelectButton"> <property name="toolTip"> <string>Press to select the message codes from a list</string> </property> </widget> </item> <item row="5" column="0"> <widget class="QLabel" name="label_6"> <property name="text"> <string>Don't Fix Issues:</string> </property> </widget> </item> <item row="5" column="1"> <widget class="E5ClearableLineEdit" name="noFixIssuesEdit"> <property name="toolTip"> <string>Enter message codes of issues not to be fixed automatically</string> </property> </widget> </item> <item row="5" column="2"> <widget class="QToolButton" name="noFixIssuesSelectButton"> <property name="toolTip"> <string>Press to select the message codes from a list</string> </property> </widget> </item> <item row="6" column="0" colspan="3"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QCheckBox" name="repeatCheckBox"> <property name="toolTip"> <string>Select to repeat each message type</string> </property> <property name="text"> <string>Repeat messages</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="fixIssuesCheckBox"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Select to fix some issues</string> </property> <property name="text"> <string>Fix issues automatically</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="ignoredCheckBox"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Select to show ignored issues</string> </property> <property name="text"> <string>Show ignored</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item row="7" column="0"> <spacer name="verticalSpacer_2"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>68</height> </size> </property> </spacer> </item> </layout> </widget> <widget class="QWidget" name="specificOptionsTab"> <attribute name="title"> <string>Specific Options</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_9"> <item> <widget class="QScrollArea" name="scrollArea"> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> <property name="frameShadow"> <enum>QFrame::Plain</enum> </property> <property name="verticalScrollBarPolicy"> <enum>Qt::ScrollBarAlwaysOn</enum> </property> <property name="widgetResizable"> <bool>true</bool> </property> <widget class="QWidget" name="scrollAreaWidgetContents"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>611</width> <height>1417</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_4"> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Source Style</string> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <layout class="QGridLayout" name="gridLayout_5"> <item row="0" column="0"> <widget class="QLabel" name="label_5"> <property name="text"> <string>Max. Line Length:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QSpinBox" name="lineLengthSpinBox"> <property name="toolTip"> <string>Enter the maximum allowed line length (PEP-8: 79 characters)</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="minimum"> <number>60</number> </property> <property name="maximum"> <number>119</number> </property> <property name="value"> <number>79</number> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_17"> <property name="text"> <string>Max. Documentation Line Length:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QSpinBox" name="docLineLengthSpinBox"> <property name="toolTip"> <string>Enter the maximum allowed line length (PEP-8: 79 characters)</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="minimum"> <number>60</number> </property> <property name="maximum"> <number>119</number> </property> <property name="value"> <number>79</number> </property> </widget> </item> <item row="0" column="2"> <spacer name="horizontalSpacer_3"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item> <widget class="QGroupBox" name="groupBox_8"> <property name="title"> <string>Blank Lines Before</string> </property> <layout class="QGridLayout" name="gridLayout_3"> <item row="0" column="0"> <widget class="QLabel" name="label_15"> <property name="text"> <string>Top Level Classes and Functions:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QSpinBox" name="blankBeforeTopLevelSpinBox"> <property name="toolTip"> <string>Enter the number of blank lines before top level classes and functions</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="minimum"> <number>1</number> </property> <property name="maximum"> <number>10</number> </property> <property name="value"> <number>2</number> </property> </widget> </item> <item row="0" column="2"> <spacer name="horizontalSpacer_6"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>153</width> <height>20</height> </size> </property> </spacer> </item> <item row="1" column="0"> <widget class="QLabel" name="label_16"> <property name="text"> <string>Methods and Nested Classes and Functions:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QSpinBox" name="blankBeforeMethodSpinBox"> <property name="toolTip"> <string>Enter the number of blank lines before methods and nested classes or functions</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="minimum"> <number>1</number> </property> <property name="maximum"> <number>10</number> </property> <property name="value"> <number>1</number> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QCheckBox" name="hangClosingCheckBox"> <property name="toolTip"> <string>Select to allow hanging closing brackets</string> </property> <property name="text"> <string>Allow hanging closing brackets</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_2"> <property name="title"> <string>Documentation Style</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QLabel" name="label_7"> <property name="text"> <string>Docstring Type:</string> </property> </widget> </item> <item> <widget class="QComboBox" name="docTypeComboBox"> <property name="toolTip"> <string>Select the rule set for docstrings</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_4"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>297</width> <height>20</height> </size> </property> </spacer> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_4"> <property name="title"> <string>Coding Line</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_6"> <item> <widget class="QLabel" name="label_9"> <property name="text"> <string>Valid Encodings:</string> </property> </widget> </item> <item> <widget class="E5ClearableLineEdit" name="encodingsEdit"> <property name="toolTip"> <string>Enter valid encodings separated by a comma (leave empty to use defaults)</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_5"> <property name="title"> <string>Copyright</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QLabel" name="label_10"> <property name="text"> <string>Min. File Size:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QSpinBox" name="copyrightFileSizeSpinBox"> <property name="toolTip"> <string>Enter the minimum size a file must have to be checked (0 for all files)</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="maximum"> <number>4096</number> </property> </widget> </item> <item row="0" column="2"> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>324</width> <height>20</height> </size> </property> </spacer> </item> <item row="1" column="0"> <widget class="QLabel" name="label_11"> <property name="text"> <string>Author:</string> </property> </widget> </item> <item row="1" column="1" colspan="2"> <widget class="E5ClearableLineEdit" name="copyrightAuthorEdit"> <property name="toolTip"> <string>Enter a copyright author name to check for (leave empty to omit this check)</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_6"> <property name="title"> <string>Future Imports</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_7"> <item> <widget class="QLabel" name="label_12"> <property name="text"> <string>Expected Imports:</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> </widget> </item> <item> <widget class="QListWidget" name="futuresList"> <property name="alternatingRowColors"> <bool>true</bool> </property> <property name="selectionMode"> <enum>QAbstractItemView::ExtendedSelection</enum> </property> <property name="sortingEnabled"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_7"> <property name="title"> <string>Ignore Built-ins Assignment</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_8"> <item> <widget class="QTreeWidget" name="builtinsAssignmentList"> <property name="alternatingRowColors"> <bool>true</bool> </property> <property name="rootIsDecorated"> <bool>false</bool> </property> <property name="sortingEnabled"> <bool>true</bool> </property> <column> <property name="text"> <string>Left</string> </property> </column> <column> <property name="text"> <string>Right</string> </property> </column> </widget> </item> <item> <layout class="QVBoxLayout" name="verticalLayout_5"> <item alignment="Qt::AlignHCenter"> <widget class="QToolButton" name="addBuiltinButton"> <property name="toolTip"> <string>Press to add a built-in assignment to be ignored</string> </property> <property name="text"> <string notr="true">+</string> </property> </widget> </item> <item alignment="Qt::AlignHCenter"> <widget class="QToolButton" name="deleteBuiltinButton"> <property name="toolTip"> <string>Press to delete the selected entries</string> </property> <property name="text"> <string notr="true">-</string> </property> </widget> </item> <item> <spacer name="verticalSpacer_3"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_9"> <property name="title"> <string>Commented Code</string> </property> <layout class="QGridLayout" name="gridLayout_8"> <item row="0" column="0" colspan="3"> <widget class="QCheckBox" name="aggressiveCheckBox"> <property name="toolTip"> <string>Select to search for commented code more aggressively. This may increase the number of false positives.</string> </property> <property name="text"> <string>Search aggressively</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_30"> <property name="text"> <string>Whitelist:</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> </widget> </item> <item row="1" column="1"> <widget class="QListWidget" name="whitelistWidget"/> </item> <item row="1" column="2"> <layout class="QVBoxLayout" name="verticalLayout_6"> <item alignment="Qt::AlignHCenter"> <widget class="QToolButton" name="addWhitelistButton"> <property name="toolTip"> <string>Press to add a commented code whitelist pattern</string> </property> <property name="text"> <string notr="true">+</string> </property> </widget> </item> <item alignment="Qt::AlignHCenter"> <widget class="QToolButton" name="deleteWhitelistButton"> <property name="toolTip"> <string>Press to delete the selected entries</string> </property> <property name="text"> <string notr="true">-</string> </property> </widget> </item> <item> <spacer name="verticalSpacer_6"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_3"> <property name="title"> <string>Code Complexity</string> </property> <layout class="QGridLayout" name="gridLayout_4"> <item row="0" column="2" rowspan="2"> <spacer name="horizontalSpacer_5"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>313</width> <height>20</height> </size> </property> </spacer> </item> <item row="0" column="0"> <widget class="QLabel" name="label_8"> <property name="text"> <string>Max. McCabe Complexity:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QSpinBox" name="complexitySpinBox"> <property name="toolTip"> <string>Enter the maximum allowed code complexity (McCabe: 10)</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="maximum"> <number>100</number> </property> <property name="value"> <number>10</number> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_13"> <property name="text"> <string>Max. Line Complexity:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QSpinBox" name="lineComplexitySpinBox"> <property name="toolTip"> <string>Enter the maximum complexity (number of nodes) for a line of code</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="maximum"> <number>100</number> </property> <property name="value"> <number>15</number> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_14"> <property name="text"> <string>Max. Line Complexity Score:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QSpinBox" name="lineComplexityScoreSpinBox"> <property name="toolTip"> <string>Enter the maximum allowed median for line complexity</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="maximum"> <number>100</number> </property> <property name="value"> <number>10</number> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_10"> <property name="title"> <string>Type Annotations</string> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <layout class="QGridLayout" name="gridLayout_6"> <item row="0" column="0"> <widget class="QLabel" name="label_18"> <property name="text"> <string>Min. Coverage:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QSpinBox" name="minAnnotationsCoverageSpinBox"> <property name="toolTip"> <string>Enter the minimum percentage of type annotations</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="specialValueText"> <string>off</string> </property> <property name="suffix"> <string>%</string> </property> <property name="maximum"> <number>100</number> </property> </widget> </item> <item row="0" column="2"> <spacer name="horizontalSpacer_7"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>352</width> <height>20</height> </size> </property> </spacer> </item> <item row="1" column="0"> <widget class="QLabel" name="label_19"> <property name="text"> <string>Max. Complexity:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QSpinBox" name="maxAnnotationsComplexitySpinBox"> <property name="toolTip"> <string>Enter the maximum type annotation complexity</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="minimum"> <number>1</number> </property> <property name="maximum"> <number>9</number> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_32"> <property name="text"> <string>Max. Length:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QSpinBox" name="maxAnnotationsLengthSpinBox"> <property name="toolTip"> <string>Enter the maximum type annotation length</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="minimum"> <number>1</number> </property> <property name="maximum"> <number>15</number> </property> </widget> </item> </layout> </item> <item> <layout class="QGridLayout" name="gridLayout_9"> <item row="0" column="0"> <widget class="QCheckBox" name="suppressNoneReturningCheckBox"> <property name="toolTip"> <string>Select to not report functions without returns or with only bare returns</string> </property> <property name="text"> <string>Suppress 'None' return</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QCheckBox" name="suppressDummyArgsCheckBox"> <property name="toolTip"> <string>Select to not report dummy (i.e. '_') arguments</string> </property> <property name="text"> <string>Suppress Dummy Arguments</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QCheckBox" name="allowUntypedDefsCheckBox"> <property name="toolTip"> <string>Select to not report dynamically typed functions</string> </property> <property name="text"> <string>Allow Untyped Functions</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QCheckBox" name="allowUntypedNestedCheckBox"> <property name="toolTip"> <string>Select to not report dynamically typed nested functions</string> </property> <property name="text"> <string>Allow Untyped Nested Functions</string> </property> </widget> </item> <item row="2" column="0" colspan="2"> <widget class="QCheckBox" name="mypyInitReturnCheckBox"> <property name="toolTip"> <string>Select to not report unhinted '__init__' return</string> </property> <property name="text"> <string>Allow Untyped '__init__' function</string> </property> </widget> </item> </layout> </item> <item> <widget class="QLabel" name="label_33"> <property name="text"> <string>Dispatch Decorators:</string> </property> </widget> </item> <item> <widget class="E5ClearableLineEdit" name="dispatchDecoratorEdit"> <property name="toolTip"> <string>Enter the list of dispatch decorators separated by comma</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_34"> <property name="text"> <string>Overload Decorators:</string> </property> </widget> </item> <item> <widget class="E5ClearableLineEdit" name="overloadDecoratorEdit"> <property name="toolTip"> <string>Enter the list of typing.overload decorators separated by comma</string> </property> </widget> </item> </layout> </widget> </item> </layout> </widget> </widget> </item> </layout> </widget> <widget class="QWidget" name="securityOptionsTab"> <attribute name="title"> <string>Security Options</string> </attribute> <layout class="QGridLayout" name="gridLayout_7"> <item row="0" column="0"> <widget class="QLabel" name="label_21"> <property name="text"> <string>Hardcoded 'tmp' Directories:</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> </widget> </item> <item row="3" column="0" colspan="2"> <widget class="QGroupBox" name="groupBox_11"> <property name="title"> <string>Weak Cryptographic Keys</string> </property> <layout class="QVBoxLayout" name="verticalLayout_10"> <item> <widget class="QGroupBox" name="groupBox_12"> <property name="title"> <string>DSA</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_5"> <item> <widget class="QLabel" name="label_24"> <property name="text"> <string>High Risk:</string> </property> </widget> </item> <item> <widget class="QComboBox" name="dsaHighRiskCombo"> <property name="toolTip"> <string>Select the bit length below which a DSA key is to be considered very weak</string> </property> <property name="editable"> <bool>false</bool> </property> </widget> </item> <item> <widget class="QLabel" name="label_25"> <property name="text"> <string>Medium Risk:</string> </property> </widget> </item> <item> <widget class="QComboBox" name="dsaMediumRiskCombo"> <property name="toolTip"> <string>Select the bit length below which a DSA key is to be considered weak</string> </property> <property name="editable"> <bool>false</bool> </property> </widget> </item> <item> <spacer name="horizontalSpacer_8"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>324</width> <height>20</height> </size> </property> </spacer> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_13"> <property name="title"> <string>RSA</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_9"> <item> <widget class="QLabel" name="label_26"> <property name="text"> <string>High Risk:</string> </property> </widget> </item> <item> <widget class="QComboBox" name="rsaHighRiskCombo"> <property name="toolTip"> <string>Select the bit length below which a RSA key is to be considered very weak</string> </property> <property name="editable"> <bool>false</bool> </property> </widget> </item> <item> <widget class="QLabel" name="label_27"> <property name="text"> <string>Medium Risk:</string> </property> </widget> </item> <item> <widget class="QComboBox" name="rsaMediumRiskCombo"> <property name="toolTip"> <string>Select the bit length below which a RSA key is to be considered weak</string> </property> <property name="editable"> <bool>false</bool> </property> </widget> </item> <item> <spacer name="horizontalSpacer_9"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_14"> <property name="title"> <string>Elliptic Curves</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_10"> <item> <widget class="QLabel" name="label_28"> <property name="text"> <string>High Risk:</string> </property> </widget> </item> <item> <widget class="QComboBox" name="ecHighRiskCombo"> <property name="toolTip"> <string>Select the bit length below which an Elliptic Curve is to be considered very weak</string> </property> <property name="editable"> <bool>false</bool> </property> </widget> </item> <item> <widget class="QLabel" name="label_29"> <property name="text"> <string>Medium Risk:</string> </property> </widget> </item> <item> <widget class="QComboBox" name="ecMediumRiskCombo"> <property name="toolTip"> <string>Select the bit length below which an Elliptic Curve is to be considered weak</string> </property> <property name="editable"> <bool>false</bool> </property> </widget> </item> <item> <spacer name="horizontalSpacer_10"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </widget> </item> </layout> </widget> </item> <item row="2" column="1"> <widget class="QPlainTextEdit" name="insecureSslProtocolsEdit"> <property name="toolTip"> <string>Enter the names of insecure SSL protocols and methods (one per line)</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_23"> <property name="text"> <string>Insecure SSL Protocols:</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_22"> <property name="text"> <string>Insecure Hashes:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="E5ClearableLineEdit" name="hashesEdit"> <property name="toolTip"> <string>Enter a list of hash methods to be considered insecure separated by comma</string> </property> </widget> </item> <item row="4" column="0" colspan="2"> <widget class="QCheckBox" name="typedExceptionsCheckBox"> <property name="toolTip"> <string>Select to also check for insecure exception handling for typed exceptions</string> </property> <property name="text"> <string>Check Typed Exceptions</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QPlainTextEdit" name="tmpDirectoriesEdit"> <property name="toolTip"> <string>Enter directory names (one per line) to be checked for</string> </property> </widget> </item> </layout> </widget> </widget> </item> <item> <widget class="Line" name="line"> <property name="lineWidth"> <number>2</number> </property> <property name="orientation"> <enum>Qt::Vertical</enum> </property> </widget> </item> <item> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QPushButton" name="startButton"> <property name="toolTip"> <string>Press to start the code style check run</string> </property> <property name="text"> <string>&Start</string> </property> </widget> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>18</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="loadDefaultButton"> <property name="toolTip"> <string>Press to load the default values</string> </property> <property name="text"> <string>&Load Defaults</string> </property> </widget> </item> <item> <widget class="QPushButton" name="storeDefaultButton"> <property name="toolTip"> <string>Press to store the current values as defaults</string> </property> <property name="text"> <string>St&ore Defaults</string> </property> </widget> </item> <item> <widget class="QPushButton" name="resetDefaultButton"> <property name="toolTip"> <string>Press to reset the default values</string> </property> <property name="text"> <string>&Reset Defaults</string> </property> </widget> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="progressTab"> <attribute name="title"> <string>Progress</string> </attribute> <layout class="QHBoxLayout" name="horizontalLayout_11"> <item> <layout class="QVBoxLayout" name="verticalLayout_12"> <item> <widget class="QListWidget" name="progressList"> <property name="toolTip"> <string>Shows the list of files still to be checked</string> </property> <property name="editTriggers"> <set>QAbstractItemView::NoEditTriggers</set> </property> <property name="alternatingRowColors"> <bool>true</bool> </property> <property name="selectionMode"> <enum>QAbstractItemView::NoSelection</enum> </property> <property name="textElideMode"> <enum>Qt::ElideMiddle</enum> </property> <property name="sortingEnabled"> <bool>true</bool> </property> </widget> </item> <item> <widget class="E5SqueezeLabelPath" name="checkProgressLabel"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string/> </property> </widget> </item> <item> <widget class="QProgressBar" name="checkProgress"> <property name="toolTip"> <string>Shows the progress of the code style check</string> </property> <property name="value"> <number>0</number> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="format"> <string>%v/%m Files</string> </property> </widget> </item> </layout> </item> <item> <widget class="Line" name="line_3"> <property name="lineWidth"> <number>2</number> </property> <property name="orientation"> <enum>Qt::Vertical</enum> </property> </widget> </item> <item> <layout class="QVBoxLayout" name="verticalLayout_11"> <item> <widget class="QPushButton" name="cancelButton"> <property name="text"> <string>Cancel</string> </property> </widget> </item> <item> <spacer name="verticalSpacer_5"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="resultsTab"> <attribute name="title"> <string>Results</string> </attribute> <layout class="QHBoxLayout" name="horizontalLayout_4"> <item> <layout class="QVBoxLayout" name="verticalLayout_7"> <item> <widget class="QLabel" name="securityNoteLabel"> <property name="text"> <string><b>Note:</b> Mark reviewed security issues with a "<b># secok</b>" comment.</string> </property> </widget> </item> <item> <widget class="QTreeWidget" name="resultList"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>6</verstretch> </sizepolicy> </property> <property name="whatsThis"> <string><b>Result List</b> <p>This list shows the results of the code style check. Double clicking an entry will open this entry in an editor window and position the cursor at the respective line and position.</p></string> </property> <property name="alternatingRowColors"> <bool>true</bool> </property> <property name="selectionMode"> <enum>QAbstractItemView::ExtendedSelection</enum> </property> <property name="sortingEnabled"> <bool>true</bool> </property> <column> <property name="text"> <string>File/Line</string> </property> </column> <column> <property name="text"> <string>Code</string> </property> </column> <column> <property name="text"> <string>Message</string> </property> </column> </widget> </item> </layout> </item> <item> <widget class="Line" name="line_2"> <property name="lineWidth"> <number>2</number> </property> <property name="orientation"> <enum>Qt::Vertical</enum> </property> </widget> </item> <item> <layout class="QVBoxLayout" name="verticalLayout_8"> <item> <widget class="QPushButton" name="restartButton"> <property name="toolTip"> <string>Press to restart the code style check run</string> </property> <property name="text"> <string>Restart</string> </property> </widget> </item> <item> <widget class="QPushButton" name="fixButton"> <property name="toolTip"> <string>Press to fix the selected issues</string> </property> <property name="text"> <string>&Fix Selected</string> </property> </widget> </item> <item> <widget class="Line" name="line_4"> <property name="lineWidth"> <number>2</number> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item> <widget class="QPushButton" name="showButton"> <property name="toolTip"> <string>Press to show all files containing an issue</string> </property> <property name="text"> <string>Show</string> </property> </widget> </item> <item> <widget class="QPushButton" name="statisticsButton"> <property name="toolTip"> <string>Press to show some statistics for the last run</string> </property> <property name="text"> <string>Statistics...</string> </property> </widget> </item> <item> <widget class="Line" name="line_5"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item> <widget class="QLabel" name="label_31"> <property name="text"> <string>Code Filter:</string> </property> </widget> </item> <item> <widget class="QComboBox" name="filterComboBox"> <property name="toolTip"> <string>Select the message code to be shown (empty for all)</string> </property> </widget> </item> <item> <widget class="QPushButton" name="filterButton"> <property name="toolTip"> <string>Press to filter the list of messages</string> </property> <property name="text"> <string>Filter</string> </property> </widget> </item> <item> <spacer name="verticalSpacer_4"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>18</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> </widget> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Close</set> </property> </widget> </item> </layout> </widget> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> <customwidgets> <customwidget> <class>E5SqueezeLabelPath</class> <extends>QLabel</extends> <header>E5Gui/E5SqueezeLabels.h</header> </customwidget> <customwidget> <class>E5ClearableLineEdit</class> <extends>QLineEdit</extends> <header>E5Gui/E5LineEdit.h</header> </customwidget> </customwidgets> <tabstops> <tabstop>mainWidget</tabstop> <tabstop>optionsTabWidget</tabstop> <tabstop>categoriesList</tabstop> <tabstop>excludeFilesEdit</tabstop> <tabstop>excludeMessagesEdit</tabstop> <tabstop>excludeMessagesSelectButton</tabstop> <tabstop>includeMessagesEdit</tabstop> <tabstop>includeMessagesSelectButton</tabstop> <tabstop>fixIssuesEdit</tabstop> <tabstop>fixIssuesSelectButton</tabstop> <tabstop>noFixIssuesEdit</tabstop> <tabstop>noFixIssuesSelectButton</tabstop> <tabstop>repeatCheckBox</tabstop> <tabstop>fixIssuesCheckBox</tabstop> <tabstop>ignoredCheckBox</tabstop> <tabstop>scrollArea</tabstop> <tabstop>lineLengthSpinBox</tabstop> <tabstop>docLineLengthSpinBox</tabstop> <tabstop>blankBeforeTopLevelSpinBox</tabstop> <tabstop>blankBeforeMethodSpinBox</tabstop> <tabstop>hangClosingCheckBox</tabstop> <tabstop>docTypeComboBox</tabstop> <tabstop>encodingsEdit</tabstop> <tabstop>copyrightFileSizeSpinBox</tabstop> <tabstop>copyrightAuthorEdit</tabstop> <tabstop>futuresList</tabstop> <tabstop>builtinsAssignmentList</tabstop> <tabstop>addBuiltinButton</tabstop> <tabstop>deleteBuiltinButton</tabstop> <tabstop>aggressiveCheckBox</tabstop> <tabstop>whitelistWidget</tabstop> <tabstop>addWhitelistButton</tabstop> <tabstop>deleteWhitelistButton</tabstop> <tabstop>complexitySpinBox</tabstop> <tabstop>lineComplexitySpinBox</tabstop> <tabstop>lineComplexityScoreSpinBox</tabstop> <tabstop>minAnnotationsCoverageSpinBox</tabstop> <tabstop>maxAnnotationsComplexitySpinBox</tabstop> <tabstop>maxAnnotationsLengthSpinBox</tabstop> <tabstop>suppressNoneReturningCheckBox</tabstop> <tabstop>suppressDummyArgsCheckBox</tabstop> <tabstop>allowUntypedDefsCheckBox</tabstop> <tabstop>allowUntypedNestedCheckBox</tabstop> <tabstop>mypyInitReturnCheckBox</tabstop> <tabstop>dispatchDecoratorEdit</tabstop> <tabstop>overloadDecoratorEdit</tabstop> <tabstop>tmpDirectoriesEdit</tabstop> <tabstop>hashesEdit</tabstop> <tabstop>insecureSslProtocolsEdit</tabstop> <tabstop>dsaHighRiskCombo</tabstop> <tabstop>dsaMediumRiskCombo</tabstop> <tabstop>rsaHighRiskCombo</tabstop> <tabstop>rsaMediumRiskCombo</tabstop> <tabstop>ecHighRiskCombo</tabstop> <tabstop>ecMediumRiskCombo</tabstop> <tabstop>typedExceptionsCheckBox</tabstop> <tabstop>startButton</tabstop> <tabstop>loadDefaultButton</tabstop> <tabstop>storeDefaultButton</tabstop> <tabstop>resetDefaultButton</tabstop> <tabstop>progressList</tabstop> <tabstop>cancelButton</tabstop> <tabstop>resultList</tabstop> <tabstop>restartButton</tabstop> <tabstop>fixButton</tabstop> <tabstop>showButton</tabstop> <tabstop>statisticsButton</tabstop> <tabstop>filterComboBox</tabstop> <tabstop>filterButton</tabstop> </tabstops> <resources/> <connections> <connection> <sender>repeatCheckBox</sender> <signal>toggled(bool)</signal> <receiver>fixIssuesCheckBox</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>132</x> <y>286</y> </hint> <hint type="destinationlabel"> <x>343</x> <y>286</y> </hint> </hints> </connection> <connection> <sender>repeatCheckBox</sender> <signal>toggled(bool)</signal> <receiver>ignoredCheckBox</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>138</x> <y>269</y> </hint> <hint type="destinationlabel"> <x>380</x> <y>271</y> </hint> </hints> </connection> </connections> </ui>