Wed, 26 May 2021 17:43:25 +0200
Ported the plug-in to PyQt6 for eric7.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>CyclomaticComplexityDialog</class> <widget class="QDialog" name="CyclomaticComplexityDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>900</width> <height>700</height> </rect> </property> <property name="windowTitle"> <string>Cyclomatic Complexity</string> </property> <property name="whatsThis"> <string><b>Cyclomatic Complexity</b> <p>This dialog shows the cyclomatic complexity and rank.</p></string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QLabel" name="label"> <property name="text"> <string>Minimum Rank:</string> </property> </widget> </item> <item> <widget class="QComboBox" name="rankComboBox"> <property name="toolTip"> <string>Select the minimum rank of items to be shown</string> </property> </widget> </item> <item> <spacer name="filterSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>1</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QFrame" name="filterFrame"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>10</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QHBoxLayout" name="horizontalLayout"> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QLabel" name="label_2"> <property name="text"> <string>Exclude Files:</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="excludeFilesEdit"> <property name="toolTip"> <string>Enter filename patterns of files to be excluded separated by a comma</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </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> <widget class="QPushButton" name="startButton"> <property name="toolTip"> <string>Press to start the calculation</string> </property> <property name="text"> <string>Start</string> </property> </widget> </item> </layout> </widget> </item> </layout> </item> <item> <widget class="QTreeWidget" name="resultList"> <property name="contextMenuPolicy"> <enum>Qt::CustomContextMenu</enum> </property> <property name="alternatingRowColors"> <bool>true</bool> </property> <property name="expandsOnDoubleClick"> <bool>false</bool> </property> <column> <property name="text"> <string>Type</string> </property> </column> <column> <property name="text"> <string>Name</string> </property> </column> <column> <property name="text"> <string>Complexity</string> </property> </column> <column> <property name="text"> <string>Rank</string> </property> </column> <column> <property name="text"> <string>Begin</string> </property> </column> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QLabel" name="summaryLabel"> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> <property name="wordWrap"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QLabel" name="typeLabel"> <property name="maximumSize"> <size> <width>200</width> <height>16777215</height> </size> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> <property name="wordWrap"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QLabel" name="explanationLabel"> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> <property name="wordWrap"> <bool>true</bool> </property> </widget> </item> </layout> </item> <item> <widget class="EricSqueezeLabelPath" 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 calculation</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> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Close</set> </property> </widget> </item> </layout> </widget> <layoutdefault spacing="6" margin="6"/> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> <customwidgets> <customwidget> <class>EricSqueezeLabelPath</class> <extends>QLabel</extends> <header>EricWidgets/EricSqueezeLabels.h</header> </customwidget> </customwidgets> <tabstops> <tabstop>startButton</tabstop> <tabstop>rankComboBox</tabstop> <tabstop>excludeFilesEdit</tabstop> <tabstop>resultList</tabstop> </tabstops> <resources/> <connections/> </ui>