--- a/PyUnit/UnittestDialog.ui Wed Mar 20 19:23:12 2019 +0100 +++ b/PyUnit/UnittestDialog.ui Wed Mar 20 19:41:04 2019 +0100 @@ -13,7 +13,7 @@ <property name="windowTitle"> <string>Unittest</string> </property> - <layout class="QVBoxLayout" name="verticalLayout_2"> + <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> @@ -84,39 +84,73 @@ <property name="title"> <string>Run Parameters</string> </property> - <layout class="QHBoxLayout" name="_5"> + <layout class="QVBoxLayout" name="verticalLayout_2"> <item> - <widget class="QCheckBox" name="localCheckBox"> - <property name="toolTip"> - <string>Select whether you want to run the test locally</string> - </property> - <property name="text"> - <string>Run &local</string> - </property> - </widget> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Virtual Environment:</string> + </property> + <property name="buddy"> + <cstring>venvComboBox</cstring> + </property> + </widget> + </item> + <item> + <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> + </layout> </item> <item> - <widget class="QCheckBox" name="coverageCheckBox"> - <property name="toolTip"> - <string>Select whether coverage data should be collected</string> - </property> - <property name="text"> - <string>C&ollect coverage data</string> - </property> - </widget> - </item> - <item> - <widget class="QCheckBox" name="coverageEraseCheckBox"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string>Select whether old coverage data should be erased</string> - </property> - <property name="text"> - <string>&Erase coverage data</string> - </property> - </widget> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <widget class="QCheckBox" name="localCheckBox"> + <property name="toolTip"> + <string>Select whether you want to run the test locally</string> + </property> + <property name="text"> + <string>Run &local</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="coverageCheckBox"> + <property name="toolTip"> + <string>Select whether coverage data should be collected</string> + </property> + <property name="text"> + <string>C&ollect coverage data</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="coverageEraseCheckBox"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="toolTip"> + <string>Select whether old coverage data should be erased</string> + </property> + <property name="text"> + <string>&Erase coverage data</string> + </property> + </widget> + </item> + </layout> </item> </layout> </widget> @@ -417,6 +451,7 @@ <tabstops> <tabstop>testsuitePicker</tabstop> <tabstop>testComboBox</tabstop> + <tabstop>venvComboBox</tabstop> <tabstop>localCheckBox</tabstop> <tabstop>coverageCheckBox</tabstop> <tabstop>coverageEraseCheckBox</tabstop>