--- a/Debugger/StartCoverageDialog.ui Sun Jun 17 13:09:00 2018 +0200 +++ b/Debugger/StartCoverageDialog.ui Sun Jun 17 16:56:10 2018 +0200 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>488</width> - <height>185</height> + <height>228</height> </rect> </property> <property name="windowTitle"> @@ -18,37 +18,17 @@ </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> - <layout class="QGridLayout" name="gridLayout"> - <item row="0" column="0"> - <widget class="QLabel" name="TextLabel2_2"> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="2" column="0"> + <widget class="QLabel" name="TextLabel2"> <property name="text"> - <string>Interpreter:</string> + <string>&Working directory:</string> </property> <property name="buddy"> <cstring>workdirPicker</cstring> </property> </widget> </item> - <item row="0" column="1"> - <widget class="E5ComboPathPicker" name="interpreterPicker" 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 interpreter to be used</string> - </property> - <property name="whatsThis"> - <string><b>Interpreter</b> -<p>Enter the interpreter to be used. Leave it empty to use the default interprter, i.e. the one configured globally or per project.</p></string> - </property> - </widget> - </item> <item row="1" column="0"> <widget class="QLabel" name="TextLabel1"> <property name="text"> @@ -88,46 +68,6 @@ </property> </widget> </item> - <item row="2" column="0"> - <widget class="QLabel" name="TextLabel2"> - <property name="text"> - <string>&Working directory:</string> - </property> - <property name="buddy"> - <cstring>workdirPicker</cstring> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="E5ComboPathPicker" name="workdirPicker" 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 working directory</string> - </property> - <property name="whatsThis"> - <string><b>Working directory</b> -<p>Enter the working directory of the application to be debugged. Leave it empty to set the working directory to the executable directory.</p></string> - </property> - </widget> - </item> - <item row="3" column="0"> - <widget class="QLabel" name="textLabel1"> - <property name="text"> - <string>&Environment:</string> - </property> - <property name="buddy"> - <cstring>environmentCombo</cstring> - </property> - </widget> - </item> <item row="3" column="1"> <widget class="QComboBox" name="environmentCombo"> <property name="sizePolicy"> @@ -158,6 +98,62 @@ </property> </widget> </item> + <item row="2" column="1"> + <widget class="E5ComboPathPicker" name="workdirPicker" 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 working directory</string> + </property> + <property name="whatsThis"> + <string><b>Working directory</b> +<p>Enter the working directory of the application to be debugged. Leave it empty to set the working directory to the executable directory.</p></string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QComboBox" name="venvComboBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Select the virtual environment to be used</string> + </property> + <property name="whatsThis"> + <string><b>Virtual Environment</b>\n<p>Enter the virtual environment to be used. Leave it empty to use the default environment, i.e. the one configured globally or per project.</p></string> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>&Virtual Environment:</string> + </property> + <property name="buddy"> + <cstring>venvComboBox</cstring> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="textLabel1"> + <property name="text"> + <string>&Environment:</string> + </property> + <property name="buddy"> + <cstring>environmentCombo</cstring> + </property> + </widget> + </item> </layout> </item> <item> @@ -253,7 +249,7 @@ </customwidget> </customwidgets> <tabstops> - <tabstop>interpreterPicker</tabstop> + <tabstop>venvComboBox</tabstop> <tabstop>cmdlineCombo</tabstop> <tabstop>workdirPicker</tabstop> <tabstop>environmentCombo</tabstop>