--- a/src/eric7/PipInterface/PipPackagesWidget.ui Wed Dec 07 08:58:21 2022 +0100 +++ b/src/eric7/PipInterface/PipPackagesWidget.ui Wed Dec 07 10:50:34 2022 +0100 @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>503</width> - <height>1180</height> + <width>500</width> + <height>1000</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_6"> @@ -65,6 +65,196 @@ <number>0</number> </property> <item> + <widget class="QWidget" name="searchWidget" native="true"> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <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> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <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> + <item> + <widget class="QToolButton" name="installButton"> + <property name="toolTip"> + <string>Press to install the selected package</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="installUserSiteButton"> + <property name="toolTip"> + <string>Press to install the selected package to the user site</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="showDetailsButton"> + <property name="toolTip"> + <string>Press to show details for the selected entry</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_4"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QToolButton" name="searchToggleButton_2"> + <property name="toolTip"> + <string>Toggle to show or hide the search window</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_8"> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Package</string> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="searchEditName"> + <property name="toolTip"> + <string>Enter the search term for the package name</string> + </property> + <property name="placeholderText"> + <string>Enter search term</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="searchButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="toolTip"> + <string>Press to start the search</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="searchMoreButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="toolTip"> + <string>Press to search for more packages</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QWidget" name="searchOptionsWidget" native="true"> + <layout class="QVBoxLayout" name="verticalLayout"> + <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> + </layout> + </widget> + </item> + <item> + <widget class="QTreeWidget" name="searchResultList"> + <property name="alternatingRowColors"> + <bool>true</bool> + </property> + <property name="selectionMode"> + <enum>QAbstractItemView::ExtendedSelection</enum> + </property> + <property name="rootIsDecorated"> + <bool>false</bool> + </property> + <property name="itemsExpandable"> + <bool>false</bool> + </property> + <property name="allColumnsShowFocus"> + <bool>true</bool> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + <column> + <property name="text"> + <string>Package</string> + </property> + </column> + <column> + <property name="text"> + <string>Version</string> + </property> + </column> + <column> + <property name="text"> + <string>Released</string> + </property> + </column> + <column> + <property name="text"> + <string>Description</string> + </property> + </column> + </widget> + </item> + <item> + <widget class="QLabel" name="searchInfoLabel"/> + </item> + <item> + <widget class="Line" name="line_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> <widget class="QWidget" name="baseWidget" native="true"> <layout class="QVBoxLayout" name="verticalLayout_4"> <property name="leftMargin"> @@ -80,6 +270,81 @@ <number>0</number> </property> <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <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> + <item> + <widget class="QToolButton" name="refreshButton"> + <property name="toolTip"> + <string>Press to refresh the lists</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="upgradeButton"> + <property name="toolTip"> + <string>Press to upgrade the selected packages</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="upgradeAllButton"> + <property name="toolTip"> + <string>Press to upgrade all listed packages</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="uninstallButton"> + <property name="toolTip"> + <string>Press to uninstall the selected package</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="showPackageDetailsButton"> + <property name="toolTip"> + <string>Press to show details for the selected entry</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QToolButton" name="searchToggleButton_1"> + <property name="toolTip"> + <string>Toggle to show or hide the search window</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </item> + <item> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <widget class="QCheckBox" name="localCheckBox"> @@ -275,261 +540,79 @@ </widget> </widget> </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_2"> - <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> - <item> - <widget class="QToolButton" name="refreshButton"> - <property name="toolTip"> - <string>Press to refresh the lists</string> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="upgradeButton"> - <property name="toolTip"> - <string>Press to upgrade the selected packages</string> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="upgradeAllButton"> - <property name="toolTip"> - <string>Press to upgrade all listed packages</string> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="uninstallButton"> - <property name="toolTip"> - <string>Press to uninstall the selected package</string> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="showPackageDetailsButton"> - <property name="toolTip"> - <string>Press to show details for the selected entry</string> - </property> - </widget> - </item> - <item> - <spacer name="horizontalSpacer_2"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QToolButton" name="searchToggleButton"> - <property name="toolTip"> - <string>Toggle to show or hide the search window</string> - </property> - <property name="checkable"> - <bool>true</bool> - </property> - </widget> - </item> - </layout> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QWidget" name="searchWidget" native="true"> - <layout class="QVBoxLayout" name="verticalLayout_2"> - <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> - <layout class="QHBoxLayout" name="horizontalLayout_8"> - <item> - <widget class="QLabel" name="label"> - <property name="text"> - <string>Package</string> - </property> - </widget> - </item> - <item> - <widget class="QLineEdit" name="searchEditName"> - <property name="toolTip"> - <string>Enter the search term for the package name</string> - </property> - <property name="placeholderText"> - <string>Enter search term</string> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="searchButton"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string>Press to start the search</string> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="searchMoreButton"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string>Press to search for more packages</string> - </property> - </widget> - </item> - </layout> - </item> - <item> - <widget class="QWidget" name="searchOptionsWidget" native="true"> - <layout class="QVBoxLayout" name="verticalLayout"> - <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> - </layout> - </widget> - </item> - <item> - <widget class="QTreeWidget" name="searchResultList"> - <property name="alternatingRowColors"> - <bool>true</bool> - </property> - <property name="selectionMode"> - <enum>QAbstractItemView::ExtendedSelection</enum> - </property> - <property name="rootIsDecorated"> - <bool>false</bool> - </property> - <property name="itemsExpandable"> - <bool>false</bool> - </property> - <property name="allColumnsShowFocus"> - <bool>true</bool> - </property> - <property name="wordWrap"> - <bool>true</bool> - </property> - <column> - <property name="text"> - <string>Package</string> - </property> - </column> - <column> - <property name="text"> - <string>Version</string> - </property> - </column> - <column> - <property name="text"> - <string>Released</string> - </property> - </column> - <column> - <property name="text"> - <string>Description</string> - </property> - </column> - </widget> - </item> - <item> - <widget class="QLabel" name="searchInfoLabel"/> - </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_3"> - <item> - <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> - <item> - <widget class="QToolButton" name="installButton"> - <property name="toolTip"> - <string>Press to install the selected package</string> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="installUserSiteButton"> - <property name="toolTip"> - <string>Press to install the selected package to the user site</string> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="showDetailsButton"> - <property name="toolTip"> - <string>Press to show details for the selected entry</string> - </property> - </widget> - </item> - <item> - <spacer name="horizontalSpacer_4"> - <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> </layout> </widget> </item> </layout> </widget> <widget class="QWidget" name="dependenciesPage"> - <layout class="QVBoxLayout" name="verticalLayout_8"> + <layout class="QVBoxLayout" name="verticalLayout_7"> + <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> + <layout class="QHBoxLayout" name="horizontalLayout_6"> + <item> + <spacer name="horizontalSpacer_5"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QToolButton" name="refreshDependenciesButton"> + <property name="toolTip"> + <string>Press to refresh the dependency tree</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="showDepPackageDetailsButton"> + <property name="toolTip"> + <string>Press to show details for the selected entry</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="dependencyRepairButton"> + <property name="toolTip"> + <string>Press to repair the selected dependency</string> + </property> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_6"> + <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"> <property name="title"> @@ -676,60 +759,6 @@ </widget> </widget> </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_6"> - <item> - <spacer name="horizontalSpacer_5"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QToolButton" name="refreshDependenciesButton"> - <property name="toolTip"> - <string>Press to refresh the dependency tree</string> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="showDepPackageDetailsButton"> - <property name="toolTip"> - <string>Press to show details for the selected entry</string> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="dependencyRepairButton"> - <property name="toolTip"> - <string>Press to repair the selected dependency</string> - </property> - <property name="text"> - <string/> - </property> - </widget> - </item> - <item> - <spacer name="horizontalSpacer_6"> - <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> </layout> </widget> </widget> @@ -752,6 +781,12 @@ <tabstop>viewToggleButton</tabstop> <tabstop>environmentsComboBox</tabstop> <tabstop>pipMenuButton</tabstop> + <tabstop>refreshButton</tabstop> + <tabstop>upgradeButton</tabstop> + <tabstop>upgradeAllButton</tabstop> + <tabstop>uninstallButton</tabstop> + <tabstop>showPackageDetailsButton</tabstop> + <tabstop>searchToggleButton_1</tabstop> <tabstop>localCheckBox</tabstop> <tabstop>notRequiredCheckBox</tabstop> <tabstop>userCheckBox</tabstop> @@ -760,27 +795,23 @@ <tabstop>verboseCheckBox</tabstop> <tabstop>installedFilesCheckBox</tabstop> <tabstop>infoWidget</tabstop> - <tabstop>refreshButton</tabstop> - <tabstop>upgradeButton</tabstop> - <tabstop>upgradeAllButton</tabstop> - <tabstop>uninstallButton</tabstop> - <tabstop>showPackageDetailsButton</tabstop> - <tabstop>searchToggleButton</tabstop> + <tabstop>installButton</tabstop> + <tabstop>installUserSiteButton</tabstop> + <tabstop>showDetailsButton</tabstop> + <tabstop>searchToggleButton_2</tabstop> <tabstop>searchEditName</tabstop> <tabstop>searchButton</tabstop> <tabstop>searchMoreButton</tabstop> <tabstop>searchResultList</tabstop> - <tabstop>installButton</tabstop> - <tabstop>installUserSiteButton</tabstop> - <tabstop>showDetailsButton</tabstop> + <tabstop>refreshDependenciesButton</tabstop> + <tabstop>showDepPackageDetailsButton</tabstop> + <tabstop>dependencyRepairButton</tabstop> <tabstop>requiresButton</tabstop> <tabstop>requiredByButton</tabstop> <tabstop>localDepCheckBox</tabstop> <tabstop>userDepCheckBox</tabstop> <tabstop>dependenciesList</tabstop> <tabstop>dependencyInfoWidget</tabstop> - <tabstop>refreshDependenciesButton</tabstop> - <tabstop>showDepPackageDetailsButton</tabstop> </tabstops> <resources/> <connections/>