--- a/src/eric7/VirtualEnv/VirtualenvAddEditDialog.ui Tue May 21 19:31:50 2024 +0200 +++ b/src/eric7/VirtualEnv/VirtualenvAddEditDialog.ui Tue May 21 19:35:41 2024 +0200 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>700</width> - <height>300</height> + <height>400</height> </rect> </property> <property name="sizeGripEnabled"> @@ -31,14 +31,84 @@ </property> </widget> </item> - <item row="1" column="0"> + <item row="1" column="0" colspan="2"> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>Environment Type</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QRadioButton" name="standardRadioButton"> + <property name="toolTip"> + <string>Select to indicate a standard environment</string> + </property> + <property name="text"> + <string>Standard</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="anacondaRadioButton"> + <property name="toolTip"> + <string>Select to indicate an Anaconda environment</string> + </property> + <property name="text"> + <string>Anaconda</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="remoteRadioButton"> + <property name="toolTip"> + <string>Select to indicate a remotely (ssh) accessed environment</string> + </property> + <property name="text"> + <string>Remote</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="serverRadioButton"> + <property name="toolTip"> + <string>Select to indicate an eric IDE server environment.</string> + </property> + <property name="text"> + <string>eric IDE Server</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QCheckBox" name="globalCheckBox"> + <property name="toolTip"> + <string>Select,if this is a global environment (i.e. no virtual environment directory to be given)</string> + </property> + <property name="whatsThis"> + <string><b>Global Environment</b> +<p>Setting this indicates, that the environment is defined globally, i.e. not user specific. Usually such environments cannot be deleted by a standard user. The respective button of the Virtual Environment Manager dialog will be disabled for these entries.</p></string> + </property> + <property name="text"> + <string>Global Environment</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="2" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Directory:</string> </property> </widget> </item> - <item row="1" column="1"> + <item row="2" column="1"> <widget class="EricPathPicker" name="targetDirectoryPicker" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> @@ -54,14 +124,14 @@ </property> </widget> </item> - <item row="2" column="0"> + <item row="3" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Python Interpreter:</string> </property> </widget> </item> - <item row="2" column="1"> + <item row="3" column="1"> <widget class="EricPathPicker" name="pythonExecPicker" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> @@ -77,57 +147,6 @@ </property> </widget> </item> - <item row="3" column="0" colspan="2"> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <widget class="QCheckBox" name="globalCheckBox"> - <property name="toolTip"> - <string>Select,if this is a global environment (i.e. no virtual environment directory to be given)</string> - </property> - <property name="whatsThis"> - <string><b>Global Environment</b> -<p>Setting this indicates, that the environment is defined globally, i.e. not user specific. Usually such environments cannot be deleted by a standard user. The respective button of the Virtual Environment Manager dialog will be disabled for these entries.</p></string> - </property> - <property name="text"> - <string>Global Environment</string> - </property> - </widget> - </item> - <item> - <widget class="QCheckBox" name="anacondaCheckBox"> - <property name="toolTip"> - <string>Select, if this is a Conda environment</string> - </property> - <property name="text"> - <string>Conda Environment</string> - </property> - </widget> - </item> - <item> - <widget class="QCheckBox" name="remoteCheckBox"> - <property name="toolTip"> - <string>Select, if this is a remotely accessed environment</string> - </property> - <property name="text"> - <string>Remote Environment</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="4" column="0"> <widget class="QLabel" name="label_5"> <property name="text"> @@ -155,7 +174,24 @@ <item row="5" column="1"> <widget class="QPlainTextEdit" name="descriptionEdit"/> </item> - <item row="6" column="0" colspan="2"> + <item row="6" column="0"> + <widget class="QLabel" name="label_6"> + <property name="text"> + <string>Server:</string> + </property> + </widget> + </item> + <item row="6" column="1"> + <widget class="QLineEdit" name="serverLineEdit"> + <property name="toolTip"> + <string>Shows the host name of the server this entry belongs to (eric IDE Server environment only)</string> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="7" column="0" colspan="2"> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> @@ -177,12 +213,15 @@ </customwidgets> <tabstops> <tabstop>nameEdit</tabstop> + <tabstop>standardRadioButton</tabstop> + <tabstop>anacondaRadioButton</tabstop> + <tabstop>remoteRadioButton</tabstop> + <tabstop>serverRadioButton</tabstop> + <tabstop>globalCheckBox</tabstop> <tabstop>targetDirectoryPicker</tabstop> <tabstop>pythonExecPicker</tabstop> - <tabstop>globalCheckBox</tabstop> - <tabstop>anacondaCheckBox</tabstop> - <tabstop>remoteCheckBox</tabstop> <tabstop>execPathEdit</tabstop> + <tabstop>descriptionEdit</tabstop> </tabstops> <resources/> <connections>