Preferences/ConfigurationPages/PythonPage.ui

changeset 6381
37f23590dbbc
parent 802
e8882d16384c
diff -r 4a932a7ab987 -r 37f23590dbbc Preferences/ConfigurationPages/PythonPage.ui
--- a/Preferences/ConfigurationPages/PythonPage.ui	Sat Jun 30 13:56:44 2018 +0200
+++ b/Preferences/ConfigurationPages/PythonPage.ui	Sat Jun 30 13:59:56 2018 +0200
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>482</width>
-    <height>473</height>
+    <height>608</height>
    </rect>
   </property>
   <layout class="QVBoxLayout" name="verticalLayout_2">
@@ -122,19 +122,96 @@
    <item>
     <widget class="QGroupBox" name="groupBox_2">
      <property name="title">
-      <string>Python 2 Interpreter</string>
+      <string>Python Environments</string>
      </property>
      <layout class="QVBoxLayout" name="verticalLayout">
       <item>
        <widget class="QLabel" name="label_6">
         <property name="text">
-         <string>Please configure the Python 2 interpreter on the 'Python 2 Debugger' page.</string>
+         <string>Please configure the Python environments on the 'Python2 Debugger' page and the 'Python3 Debugger' page.</string>
         </property>
         <property name="wordWrap">
          <bool>true</bool>
         </property>
        </widget>
       </item>
+      <item>
+       <widget class="QGroupBox" name="groupBox_4">
+        <property name="title">
+         <string>Currently selected environments</string>
+        </property>
+        <layout class="QGridLayout" name="gridLayout_3">
+         <item row="0" column="0">
+          <widget class="QLabel" name="label_7">
+           <property name="text">
+            <string>Python 2:</string>
+           </property>
+          </widget>
+         </item>
+         <item row="0" column="1">
+          <widget class="QLineEdit" name="py2EnvironmentEdit">
+           <property name="readOnly">
+            <bool>true</bool>
+           </property>
+          </widget>
+         </item>
+         <item row="1" column="0">
+          <widget class="QLabel" name="label_9">
+           <property name="text">
+            <string>Python 3:</string>
+           </property>
+          </widget>
+         </item>
+         <item row="1" column="1">
+          <widget class="QLineEdit" name="py3EnvironmentEdit">
+           <property name="readOnly">
+            <bool>true</bool>
+           </property>
+          </widget>
+         </item>
+        </layout>
+       </widget>
+      </item>
+      <item>
+       <layout class="QHBoxLayout" name="horizontalLayout">
+        <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="QPushButton" name="refreshButton">
+          <property name="toolTip">
+           <string>Press to update the display of the currently selected environments</string>
+          </property>
+          <property name="text">
+           <string>Refresh</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>
+       </layout>
+      </item>
      </layout>
     </widget>
    </item>
@@ -153,6 +230,15 @@
    </item>
   </layout>
  </widget>
+ <tabstops>
+  <tabstop>stringEncodingComboBox</tabstop>
+  <tabstop>ioEncodingComboBox</tabstop>
+  <tabstop>py2ExtensionsEdit</tabstop>
+  <tabstop>py3ExtensionsEdit</tabstop>
+  <tabstop>py2EnvironmentEdit</tabstop>
+  <tabstop>py3EnvironmentEdit</tabstop>
+  <tabstop>refreshButton</tabstop>
+ </tabstops>
  <resources/>
  <connections/>
 </ui>

eric ide

mercurial