eric6/VirtualEnv/VirtualenvConfigurationDialog.ui

Sat, 07 Sep 2019 17:35:43 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 07 Sep 2019 17:35:43 +0200
branch
without_py2_and_pyqt4
changeset 7223
2d58b9c1a981
parent 6942
2602857055c5
child 7635
0cdead130a81
permissions
-rw-r--r--

Closed branch after it was merged into 'default'.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>VirtualenvConfigurationDialog</class>
 <widget class="QDialog" name="VirtualenvConfigurationDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>700</width>
    <height>654</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Virtual Environment Configuration</string>
  </property>
  <property name="sizeGripEnabled">
   <bool>true</bool>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
    <widget class="QGroupBox" name="groupBox_3">
     <property name="title">
      <string>Environment Creator</string>
     </property>
     <layout class="QGridLayout" name="gridLayout_3">
      <item row="0" column="0">
       <widget class="QRadioButton" name="virtualenvButton">
        <property name="font">
         <font>
          <weight>75</weight>
          <bold>true</bold>
         </font>
        </property>
        <property name="toolTip">
         <string>Select to use 'virtualenv'</string>
        </property>
        <property name="text">
         <string notr="true">0.0</string>
        </property>
       </widget>
      </item>
      <item row="0" column="1">
       <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 row="1" column="0">
       <widget class="QRadioButton" name="pyvenvButton">
        <property name="font">
         <font>
          <weight>75</weight>
          <bold>true</bold>
         </font>
        </property>
        <property name="toolTip">
         <string>Select to use 'pyvenv'</string>
        </property>
        <property name="text">
         <string notr="true">0.0</string>
        </property>
       </widget>
      </item>
      <item row="2" column="0">
       <widget class="QRadioButton" name="condaButton">
        <property name="font">
         <font>
          <weight>75</weight>
          <bold>true</bold>
         </font>
        </property>
        <property name="toolTip">
         <string>Select to use 'conda'</string>
        </property>
        <property name="text">
         <string notr="true">0.0</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout_2">
     <item>
      <widget class="QLabel" name="label_2">
       <property name="text">
        <string>Logical Name:</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="E5ClearableLineEdit" name="nameEdit">
       <property name="toolTip">
        <string>Enter a unique name for the virtual environment</string>
       </property>
       <property name="placeholderText">
        <string>Name for the virtual environment</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QStackedWidget" name="venvStack">
     <property name="currentIndex">
      <number>0</number>
     </property>
     <widget class="QWidget" name="venvPage">
      <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>
        <widget class="QGroupBox" name="groupBox">
         <property name="title">
          <string>Paths</string>
         </property>
         <layout class="QGridLayout" name="gridLayout">
          <item row="0" column="0">
           <widget class="QLabel" name="label">
            <property name="text">
             <string>Target Directory:</string>
            </property>
           </widget>
          </item>
          <item row="0" column="1">
           <widget class="E5PathPicker" name="targetDirectoryPicker" native="true">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="focusPolicy">
             <enum>Qt::WheelFocus</enum>
            </property>
            <property name="toolTip">
             <string>Enter the target directory for the virtual environment</string>
            </property>
           </widget>
          </item>
          <item row="1" column="0">
           <widget class="QLabel" name="extraSearchPathLabel">
            <property name="text">
             <string>Extra Search Path:</string>
            </property>
           </widget>
          </item>
          <item row="1" column="1">
           <widget class="E5PathPicker" name="extraSearchPathPicker" native="true">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="focusPolicy">
             <enum>Qt::WheelFocus</enum>
            </property>
            <property name="toolTip">
             <string>Enter the extra search path to look for setuptools/pip</string>
            </property>
           </widget>
          </item>
          <item row="2" column="0">
           <widget class="QLabel" name="promptPrefixLabel">
            <property name="text">
             <string>Prompt Prefix:</string>
            </property>
           </widget>
          </item>
          <item row="2" column="1">
           <widget class="E5ClearableLineEdit" name="promptPrefixEdit">
            <property name="toolTip">
             <string>Enter the prompt prefix for the virtual environment</string>
            </property>
            <property name="placeholderText">
             <string>Prompt prefix for the virtual environment</string>
            </property>
           </widget>
          </item>
          <item row="3" column="0">
           <widget class="QLabel" name="label_5">
            <property name="text">
             <string>Python Executable:</string>
            </property>
           </widget>
          </item>
          <item row="3" column="1">
           <widget class="E5PathPicker" name="pythonExecPicker" native="true">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="focusPolicy">
             <enum>Qt::WheelFocus</enum>
            </property>
            <property name="toolTip">
             <string>Enter the Python interpreter for the virtual environment</string>
            </property>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
       <item>
        <widget class="QGroupBox" name="groupBox_2">
         <property name="title">
          <string>Options</string>
         </property>
         <layout class="QGridLayout" name="gridLayout_2">
          <item row="0" column="0">
           <layout class="QHBoxLayout" name="horizontalLayout_3">
            <item>
             <widget class="QLabel" name="verbosityLabel">
              <property name="text">
               <string>Verbosity:</string>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QSpinBox" name="verbositySpinBox">
              <property name="toolTip">
               <string>Select the verbosity (-1: quiet, 0: normal, 1: verbose)</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>1</number>
              </property>
             </widget>
            </item>
            <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>
           </layout>
          </item>
          <item row="0" column="1">
           <layout class="QHBoxLayout" name="horizontalLayout">
            <item>
             <widget class="QLabel" name="versionLabel">
              <property name="text">
               <string>Python Version:</string>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QComboBox" name="versionComboBox">
              <property name="toolTip">
               <string>Select the Python version (empty for current)</string>
              </property>
              <item>
               <property name="text">
                <string notr="true"/>
               </property>
              </item>
              <item>
               <property name="text">
                <string notr="true">2.6</string>
               </property>
              </item>
              <item>
               <property name="text">
                <string notr="true">2.7</string>
               </property>
              </item>
              <item>
               <property name="text">
                <string notr="true">3.4</string>
               </property>
              </item>
              <item>
               <property name="text">
                <string notr="true">3.5</string>
               </property>
              </item>
              <item>
               <property name="text">
                <string notr="true">3.6</string>
               </property>
              </item>
              <item>
               <property name="text">
                <string notr="true">3.7</string>
               </property>
              </item>
              <item>
               <property name="text">
                <string notr="true">3.8</string>
               </property>
              </item>
             </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="1" column="0">
           <widget class="QCheckBox" name="systemCheckBox">
            <property name="toolTip">
             <string>Select to give the virtualenv access to the global site-packages</string>
            </property>
            <property name="text">
             <string>System-wide Python Packages</string>
            </property>
           </widget>
          </item>
          <item row="1" column="1">
           <widget class="QCheckBox" name="unzipCheckBox">
            <property name="toolTip">
             <string>Select to unzip setuptools when installing it</string>
            </property>
            <property name="text">
             <string>Unzip Setuptool to virtualenv</string>
            </property>
            <property name="checked">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item row="2" column="0">
           <widget class="QCheckBox" name="noSetuptoolsCheckBox">
            <property name="toolTip">
             <string>Select to not install setuptools (or pip) in the new virtualenv</string>
            </property>
            <property name="text">
             <string>Don't install 'setuptool' (or pip) in the virtualenv</string>
            </property>
           </widget>
          </item>
          <item row="2" column="1">
           <widget class="QCheckBox" name="noPipCcheckBox">
            <property name="toolTip">
             <string>Select to not install pip in the new virtualenv</string>
            </property>
            <property name="text">
             <string>Don't install 'pip' in the virtualenv</string>
            </property>
           </widget>
          </item>
          <item row="3" column="0">
           <widget class="QCheckBox" name="clearCheckBox">
            <property name="toolTip">
             <string>Select to clear the target first</string>
            </property>
            <property name="text">
             <string>Clear out the target directory</string>
            </property>
           </widget>
          </item>
          <item row="3" column="1">
           <widget class="QCheckBox" name="copyCheckBox">
            <property name="toolTip">
             <string>Select to always copy files rather than symlinking</string>
            </property>
            <property name="text">
             <string>Always copy files</string>
            </property>
           </widget>
          </item>
          <item row="4" column="0">
           <widget class="QCheckBox" name="symlinkCheckBox">
            <property name="toolTip">
             <string>Select to use symlinks instead of copies</string>
            </property>
            <property name="text">
             <string>Use Symbolic Links</string>
            </property>
           </widget>
          </item>
          <item row="4" column="1">
           <widget class="QCheckBox" name="upgradeCheckBox">
            <property name="toolTip">
             <string>Select to upgrade a virtual environment</string>
            </property>
            <property name="text">
             <string>Upgrade</string>
            </property>
           </widget>
          </item>
          <item row="5" column="0">
           <widget class="QCheckBox" name="logCheckBox">
            <property name="toolTip">
             <string>Select to generate a log file in the target directory</string>
            </property>
            <property name="text">
             <string>Save a log file in the target directory after creation</string>
            </property>
            <property name="checked">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item row="5" column="1">
           <widget class="QCheckBox" name="scriptCheckBox">
            <property name="toolTip">
             <string>Select to write a shell script/batch file to regenerate the virtualenv</string>
            </property>
            <property name="text">
             <string>Save virtualenv generation script</string>
            </property>
            <property name="checked">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item row="6" column="0">
           <widget class="QCheckBox" name="openCheckBox">
            <property name="toolTip">
             <string>Open the newly created virtualenv in a file manager window</string>
            </property>
            <property name="text">
             <string>Open target directory after creation</string>
            </property>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="condaPage">
      <layout class="QVBoxLayout" name="verticalLayout_3">
       <item>
        <widget class="QGroupBox" name="groupBox_4">
         <property name="title">
          <string>Target Environment Specification</string>
         </property>
         <layout class="QGridLayout" name="gridLayout_4">
          <item row="0" column="0">
           <widget class="QLabel" name="label_3">
            <property name="text">
             <string>Name:</string>
            </property>
           </widget>
          </item>
          <item row="0" column="1">
           <widget class="E5ClearableLineEdit" name="condaNameEdit">
            <property name="toolTip">
             <string>Enter the name for the environment</string>
            </property>
           </widget>
          </item>
          <item row="1" column="0">
           <widget class="QLabel" name="label_4">
            <property name="text">
             <string>Path:</string>
            </property>
           </widget>
          </item>
          <item row="1" column="1">
           <widget class="E5PathPicker" name="condaTargetDirectoryPicker" native="true">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="focusPolicy">
             <enum>Qt::WheelFocus</enum>
            </property>
            <property name="toolTip">
             <string>Enter the target directory for the conda environment</string>
            </property>
           </widget>
          </item>
          <item row="2" column="0" colspan="2">
           <widget class="QLabel" name="label_6">
            <property name="text">
             <string>&lt;b&gt;Note:&lt;/b&gt; Only one of the above entries is mandatory.</string>
            </property>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
       <item>
        <widget class="QGroupBox" name="condaSpecialsGroup">
         <property name="title">
          <string>Special Operations</string>
         </property>
         <property name="checkable">
          <bool>true</bool>
         </property>
         <property name="checked">
          <bool>false</bool>
         </property>
         <layout class="QGridLayout" name="gridLayout_5">
          <item row="0" column="0">
           <widget class="QRadioButton" name="condaCloneButton">
            <property name="toolTip">
             <string>Select to clone an environment</string>
            </property>
            <property name="text">
             <string>Clone Environment</string>
            </property>
            <property name="checked">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item row="0" column="1">
           <widget class="QRadioButton" name="condaRequirementsButton">
            <property name="statusTip">
             <string>Select to create the environment from a requirements file</string>
            </property>
            <property name="text">
             <string>from Requirements</string>
            </property>
           </widget>
          </item>
          <item row="1" column="0">
           <widget class="QFrame" name="condaCloneFrame">
            <property name="frameShape">
             <enum>QFrame::StyledPanel</enum>
            </property>
            <property name="frameShadow">
             <enum>QFrame::Raised</enum>
            </property>
            <layout class="QGridLayout" name="gridLayout_7">
             <item row="0" column="0">
              <widget class="QLabel" name="label_8">
               <property name="text">
                <string>Name:</string>
               </property>
              </widget>
             </item>
             <item row="0" column="1">
              <widget class="E5ClearableLineEdit" name="condaCloneNameEdit">
               <property name="toolTip">
                <string>Enter the name of the environment to be cloned</string>
               </property>
              </widget>
             </item>
             <item row="1" column="0">
              <widget class="QLabel" name="label_7">
               <property name="text">
                <string>Path:</string>
               </property>
              </widget>
             </item>
             <item row="1" column="1">
              <widget class="E5PathPicker" name="condaCloneDirectoryPicker" native="true">
               <property name="sizePolicy">
                <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
                 <horstretch>0</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
               <property name="focusPolicy">
                <enum>Qt::WheelFocus</enum>
               </property>
               <property name="toolTip">
                <string>Enter the directory of the environment to be cloned</string>
               </property>
              </widget>
             </item>
            </layout>
           </widget>
          </item>
          <item row="1" column="1">
           <widget class="QFrame" name="condaRequirementsFrame">
            <property name="enabled">
             <bool>false</bool>
            </property>
            <property name="frameShape">
             <enum>QFrame::StyledPanel</enum>
            </property>
            <property name="frameShadow">
             <enum>QFrame::Raised</enum>
            </property>
            <layout class="QVBoxLayout" name="verticalLayout_4">
             <item>
              <widget class="E5PathPicker" name="condaRequirementsFilePicker" native="true">
               <property name="sizePolicy">
                <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
                 <horstretch>0</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
               <property name="focusPolicy">
                <enum>Qt::StrongFocus</enum>
               </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>37</height>
                </size>
               </property>
              </spacer>
             </item>
            </layout>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
       <item>
        <layout class="QHBoxLayout" name="horizontalLayout_4">
         <item>
          <widget class="QLabel" name="label_9">
           <property name="text">
            <string>Package Specs:</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="E5ClearableLineEdit" name="condaPackagesEdit">
           <property name="toolTip">
            <string>Enter the package specifications for the environment</string>
           </property>
          </widget>
         </item>
        </layout>
       </item>
       <item>
        <widget class="QGroupBox" name="groupBox_5">
         <property name="title">
          <string>Options</string>
         </property>
         <layout class="QGridLayout" name="gridLayout_6">
          <item row="0" column="0">
           <widget class="QLabel" name="versionLabel_2">
            <property name="text">
             <string>Python Version:</string>
            </property>
           </widget>
          </item>
          <item row="0" column="1">
           <widget class="E5ClearableLineEdit" name="condaPythonEdit">
            <property name="toolTip">
             <string>Enter the Python version for the environment</string>
            </property>
           </widget>
          </item>
          <item row="1" column="0" colspan="2">
           <widget class="QCheckBox" name="condaInsecureCheckBox">
            <property name="text">
             <string>Allow insecure SSL connections</string>
            </property>
           </widget>
          </item>
          <item row="1" column="2">
           <widget class="QCheckBox" name="condaDryrunCheckBox">
            <property name="toolTip">
             <string>Select to perform just a dry-run</string>
            </property>
            <property name="text">
             <string>Perform dry-run</string>
            </property>
           </widget>
          </item>
          <item row="0" column="2">
           <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>
        </widget>
       </item>
      </layout>
     </widget>
    </widget>
   </item>
   <item>
    <widget class="QDialogButtonBox" name="buttonBox">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="standardButtons">
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>E5ClearableLineEdit</class>
   <extends>QLineEdit</extends>
   <header>E5Gui/E5LineEdit.h</header>
  </customwidget>
  <customwidget>
   <class>E5PathPicker</class>
   <extends>QWidget</extends>
   <header>E5Gui/E5PathPicker.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>virtualenvButton</tabstop>
  <tabstop>pyvenvButton</tabstop>
  <tabstop>condaButton</tabstop>
  <tabstop>nameEdit</tabstop>
  <tabstop>targetDirectoryPicker</tabstop>
  <tabstop>extraSearchPathPicker</tabstop>
  <tabstop>promptPrefixEdit</tabstop>
  <tabstop>pythonExecPicker</tabstop>
  <tabstop>verbositySpinBox</tabstop>
  <tabstop>versionComboBox</tabstop>
  <tabstop>systemCheckBox</tabstop>
  <tabstop>unzipCheckBox</tabstop>
  <tabstop>noSetuptoolsCheckBox</tabstop>
  <tabstop>noPipCcheckBox</tabstop>
  <tabstop>clearCheckBox</tabstop>
  <tabstop>copyCheckBox</tabstop>
  <tabstop>symlinkCheckBox</tabstop>
  <tabstop>upgradeCheckBox</tabstop>
  <tabstop>logCheckBox</tabstop>
  <tabstop>scriptCheckBox</tabstop>
  <tabstop>openCheckBox</tabstop>
  <tabstop>condaNameEdit</tabstop>
  <tabstop>condaTargetDirectoryPicker</tabstop>
  <tabstop>condaSpecialsGroup</tabstop>
  <tabstop>condaCloneButton</tabstop>
  <tabstop>condaCloneNameEdit</tabstop>
  <tabstop>condaCloneDirectoryPicker</tabstop>
  <tabstop>condaRequirementsButton</tabstop>
  <tabstop>condaRequirementsFilePicker</tabstop>
  <tabstop>condaPackagesEdit</tabstop>
  <tabstop>condaPythonEdit</tabstop>
  <tabstop>condaInsecureCheckBox</tabstop>
  <tabstop>condaDryrunCheckBox</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>VirtualenvConfigurationDialog</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>257</x>
     <y>644</y>
    </hint>
    <hint type="destinationlabel">
     <x>157</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>VirtualenvConfigurationDialog</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>325</x>
     <y>644</y>
    </hint>
    <hint type="destinationlabel">
     <x>286</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>condaCloneButton</sender>
   <signal>toggled(bool)</signal>
   <receiver>condaCloneFrame</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>108</x>
     <y>361</y>
    </hint>
    <hint type="destinationlabel">
     <x>78</x>
     <y>380</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>condaRequirementsButton</sender>
   <signal>toggled(bool)</signal>
   <receiver>condaRequirementsFrame</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>431</x>
     <y>359</y>
    </hint>
    <hint type="destinationlabel">
     <x>427</x>
     <y>381</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>

eric ide

mercurial