Sat, 30 Jun 2018 13:59:56 +0200
Configuration pages for Python: harmonized the Python debugger pages and the Python page and added a button to show the virtual environment manager dialog to the Python configuration pages.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>PythonPage</class> <widget class="QWidget" name="PythonPage"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>482</width> <height>608</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QLabel" name="headerLabel"> <property name="text"> <string><b>Configure Python</b></string> </property> </widget> </item> <item> <widget class="Line" name="line11_2_2_2_2"> <property name="frameShape"> <enum>QFrame::HLine</enum> </property> <property name="frameShadow"> <enum>QFrame::Sunken</enum> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Encoding</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>String Encoding:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QComboBox" name="stringEncodingComboBox"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Select the string encoding to be used.</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>I/O Encoding:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QComboBox" name="ioEncodingComboBox"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Select the string encoding used by commandline tools.</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_3"> <property name="title"> <string>Source association</string> </property> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0" colspan="2"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Enter the file extensions to be associated with the Python versions separated by a space. They must not overlap with each other.</string> </property> <property name="wordWrap"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_4"> <property name="text"> <string>Python 2:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="py2ExtensionsEdit"/> </item> <item row="2" column="0"> <widget class="QLabel" name="label_5"> <property name="text"> <string>Python 3:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QLineEdit" name="py3ExtensionsEdit"/> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_2"> <property name="title"> <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 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> <item> <spacer> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>464</width> <height>41</height> </size> </property> </spacer> </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>