src/eric7/PipInterface/PipPackagesWidget.ui

Mon, 07 Nov 2022 17:19:58 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 07 Nov 2022 17:19:58 +0100
branch
eric7
changeset 9482
a2bc06a54d9d
parent 9437
4bc1acf812f4
child 9581
f0428ceedb41
permissions
-rw-r--r--

Corrected/acknowledged some bad import style and removed some obsolete code.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>PipPackagesWidget</class>
 <widget class="QWidget" name="PipPackagesWidget">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>503</width>
    <height>1180</height>
   </rect>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout_6">
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout">
     <item>
      <widget class="QToolButton" name="viewToggleButton">
       <property name="toolTip">
        <string>Toggle to show or hide the dependency tree view</string>
       </property>
       <property name="checkable">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QComboBox" name="environmentsComboBox"/>
     </item>
     <item>
      <widget class="EricToolButton" name="pipMenuButton"/>
     </item>
    </layout>
   </item>
   <item>
    <widget class="EricSqueezeLabelPath" name="environmentPathLabel">
     <property name="text">
      <string notr="true"/>
     </property>
    </widget>
   </item>
   <item>
    <widget class="Line" name="line">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QStackedWidget" name="viewsStackWidget">
     <property name="currentIndex">
      <number>0</number>
     </property>
     <widget class="QWidget" name="packagesPage">
      <layout class="QVBoxLayout" name="verticalLayout_5">
       <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="QWidget" name="baseWidget" native="true">
         <layout class="QVBoxLayout" name="verticalLayout_4">
          <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="QGridLayout" name="gridLayout_2">
            <item row="0" column="0">
             <widget class="QCheckBox" name="localCheckBox">
              <property name="toolTip">
               <string>Select to show only locally-installed packages</string>
              </property>
              <property name="text">
               <string>Local packages only</string>
              </property>
              <property name="checked">
               <bool>true</bool>
              </property>
             </widget>
            </item>
            <item row="0" column="1">
             <widget class="QCheckBox" name="notRequiredCheckBox">
              <property name="toolTip">
               <string>Select to list packages that are not dependencies of installed packages</string>
              </property>
              <property name="text">
               <string>Not required Packages</string>
              </property>
             </widget>
            </item>
            <item row="1" column="0">
             <widget class="QCheckBox" name="userCheckBox">
              <property name="toolTip">
               <string>Select to show only packages installed to the user-site</string>
              </property>
              <property name="text">
               <string>User-Site only</string>
              </property>
             </widget>
            </item>
            <item row="1" column="1">
             <widget class="QCheckBox" name="vulnerabilityCheckBox">
              <property name="toolTip">
               <string>Perform vulnerability checks based on &quot;Safety DB&quot;.</string>
              </property>
              <property name="text">
               <string>Vulnerability Check</string>
              </property>
              <property name="checked">
               <bool>true</bool>
              </property>
             </widget>
            </item>
           </layout>
          </item>
          <item>
           <widget class="QLabel" name="statusLabel"/>
          </item>
          <item>
           <widget class="QSplitter" name="splitter">
            <property name="orientation">
             <enum>Qt::Vertical</enum>
            </property>
            <widget class="QTreeWidget" name="packagesList">
             <property name="sizePolicy">
              <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
               <horstretch>0</horstretch>
               <verstretch>3</verstretch>
              </sizepolicy>
             </property>
             <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="sortingEnabled">
              <bool>true</bool>
             </property>
             <attribute name="headerDefaultSectionSize">
              <number>150</number>
             </attribute>
             <column>
              <property name="text">
               <string>Package</string>
              </property>
             </column>
             <column>
              <property name="text">
               <string>Installed</string>
              </property>
             </column>
             <column>
              <property name="text">
               <string>Available</string>
              </property>
             </column>
             <column>
              <property name="text">
               <string>Affected</string>
              </property>
             </column>
            </widget>
            <widget class="QWidget" name="widget" native="true">
             <property name="sizePolicy">
              <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
               <horstretch>0</horstretch>
               <verstretch>1</verstretch>
              </sizepolicy>
             </property>
             <layout class="QVBoxLayout" name="verticalLayout_3">
              <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_7">
                <item>
                 <widget class="QCheckBox" name="verboseCheckBox">
                  <property name="toolTip">
                   <string>Select to show verbose package information</string>
                  </property>
                  <property name="text">
                   <string>Verbose Information</string>
                  </property>
                 </widget>
                </item>
                <item>
                 <widget class="QCheckBox" name="installedFilesCheckBox">
                  <property name="toolTip">
                   <string>Select to show information about installed files</string>
                  </property>
                  <property name="text">
                   <string>Installed Files</string>
                  </property>
                 </widget>
                </item>
               </layout>
              </item>
              <item>
               <widget class="QTreeWidget" name="infoWidget">
                <property name="sizePolicy">
                 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
                  <horstretch>0</horstretch>
                  <verstretch>1</verstretch>
                 </sizepolicy>
                </property>
                <property name="alternatingRowColors">
                 <bool>true</bool>
                </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>
                <property name="columnCount">
                 <number>2</number>
                </property>
                <attribute name="headerVisible">
                 <bool>false</bool>
                </attribute>
                <attribute name="headerStretchLastSection">
                 <bool>false</bool>
                </attribute>
                <column>
                 <property name="text">
                  <string notr="true">1</string>
                 </property>
                </column>
                <column>
                 <property name="text">
                  <string notr="true">2</string>
                 </property>
                </column>
               </widget>
              </item>
             </layout>
            </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">
       <item>
        <widget class="QGroupBox" name="groupBox">
         <property name="title">
          <string>View Type</string>
         </property>
         <layout class="QHBoxLayout" name="horizontalLayout_5">
          <item>
           <widget class="QRadioButton" name="requiresButton">
            <property name="toolTip">
             <string>Select to show which package requires other packages</string>
            </property>
            <property name="text">
             <string>Requires</string>
            </property>
            <property name="checked">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QRadioButton" name="requiredByButton">
            <property name="toolTip">
             <string>Select to show which package is required by others</string>
            </property>
            <property name="text">
             <string>Required By</string>
            </property>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
       <item>
        <layout class="QHBoxLayout" name="horizontalLayout_4">
         <item>
          <widget class="QCheckBox" name="localDepCheckBox">
           <property name="toolTip">
            <string>Select to show only dependencies of locally installed packages</string>
           </property>
           <property name="text">
            <string>Local packages only</string>
           </property>
           <property name="checked">
            <bool>true</bool>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QCheckBox" name="userDepCheckBox">
           <property name="toolTip">
            <string>Select to show only dependencies of packages installed to the user-site</string>
           </property>
           <property name="text">
            <string>User-Site only</string>
           </property>
          </widget>
         </item>
        </layout>
       </item>
       <item>
        <widget class="QSplitter" name="splitter_2">
         <property name="orientation">
          <enum>Qt::Vertical</enum>
         </property>
         <widget class="QTreeWidget" name="dependenciesList">
          <property name="sizePolicy">
           <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
            <horstretch>0</horstretch>
            <verstretch>3</verstretch>
           </sizepolicy>
          </property>
          <property name="alternatingRowColors">
           <bool>true</bool>
          </property>
          <property name="selectionMode">
           <enum>QAbstractItemView::ExtendedSelection</enum>
          </property>
          <property name="sortingEnabled">
           <bool>true</bool>
          </property>
          <property name="expandsOnDoubleClick">
           <bool>false</bool>
          </property>
          <attribute name="headerDefaultSectionSize">
           <number>150</number>
          </attribute>
          <column>
           <property name="text">
            <string>Package</string>
           </property>
          </column>
          <column>
           <property name="text">
            <string>Installed</string>
           </property>
          </column>
          <column>
           <property name="text">
            <string>Required</string>
           </property>
          </column>
         </widget>
         <widget class="QTreeWidget" name="dependencyInfoWidget">
          <property name="sizePolicy">
           <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
            <horstretch>0</horstretch>
            <verstretch>1</verstretch>
           </sizepolicy>
          </property>
          <property name="alternatingRowColors">
           <bool>true</bool>
          </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>
          <property name="columnCount">
           <number>2</number>
          </property>
          <attribute name="headerVisible">
           <bool>false</bool>
          </attribute>
          <attribute name="headerStretchLastSection">
           <bool>false</bool>
          </attribute>
          <column>
           <property name="text">
            <string notr="true">1</string>
           </property>
          </column>
          <column>
           <property name="text">
            <string notr="true">2</string>
           </property>
          </column>
         </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>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>EricToolButton</class>
   <extends>QToolButton</extends>
   <header>eric7/EricWidgets/EricToolButton.h</header>
  </customwidget>
  <customwidget>
   <class>EricSqueezeLabelPath</class>
   <extends>QLabel</extends>
   <header>eric7/EricWidgets/EricSqueezeLabels.h</header>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>viewToggleButton</tabstop>
  <tabstop>environmentsComboBox</tabstop>
  <tabstop>pipMenuButton</tabstop>
  <tabstop>localCheckBox</tabstop>
  <tabstop>notRequiredCheckBox</tabstop>
  <tabstop>userCheckBox</tabstop>
  <tabstop>vulnerabilityCheckBox</tabstop>
  <tabstop>packagesList</tabstop>
  <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>searchEditName</tabstop>
  <tabstop>searchButton</tabstop>
  <tabstop>searchMoreButton</tabstop>
  <tabstop>searchResultList</tabstop>
  <tabstop>installButton</tabstop>
  <tabstop>installUserSiteButton</tabstop>
  <tabstop>showDetailsButton</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/>
</ui>

eric ide

mercurial