--- a/ProjectFlask/FlaskConfigDialog.ui Wed Dec 02 19:54:18 2020 +0100 +++ b/ProjectFlask/FlaskConfigDialog.ui Wed Dec 02 19:54:44 2020 +0100 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>500</width> - <height>171</height> + <height>253</height> </rect> </property> <property name="windowTitle"> @@ -16,7 +16,7 @@ <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout" name="verticalLayout_2"> + <layout class="QVBoxLayout" name="verticalLayout_4"> <item> <widget class="QGroupBox" name="groupBox_2"> <property name="title"> @@ -24,11 +24,22 @@ </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> - <widget class="QComboBox" name="virtualEnvironmentComboBox"> - <property name="toolTip"> - <string>Select a project specific virtual environment</string> - </property> - </widget> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QComboBox" name="virtualEnvironmentComboBox"> + <property name="toolTip"> + <string>Select a project specific virtual environment</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="newEnvironmentButton"> + <property name="toolTip"> + <string>Press to open a dialog to create a new virtual environment</string> + </property> + </widget> + </item> + </layout> </item> <item> <widget class="QLabel" name="label"> @@ -44,6 +55,56 @@ </widget> </item> <item> + <widget class="QGroupBox" name="flaskBabelBox"> + <property name="toolTip"> + <string>Select this to override the auto-detection feature</string> + </property> + <property name="title"> + <string>Override 'flask-babel' Availability</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QCheckBox" name="flaskBabelCheckBox"> + <property name="toolTip"> + <string>Select to manually indicate the 'flask-babel' availability</string> + </property> + <property name="text"> + <string>'flask-babel' available</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="flaskMigrateBox"> + <property name="toolTip"> + <string>Select this to override the auto-detection feature</string> + </property> + <property name="title"> + <string>Override 'flask-migrate' Availability</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <widget class="QCheckBox" name="flaskMigrateCheckBox"> + <property name="toolTip"> + <string>Select to manually indicate the 'flask-migrate' availability</string> + </property> + <property name="text"> + <string>'flask-migrate' available</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> @@ -55,6 +116,14 @@ </item> </layout> </widget> + <tabstops> + <tabstop>virtualEnvironmentComboBox</tabstop> + <tabstop>newEnvironmentButton</tabstop> + <tabstop>flaskBabelBox</tabstop> + <tabstop>flaskBabelCheckBox</tabstop> + <tabstop>flaskMigrateBox</tabstop> + <tabstop>flaskMigrateCheckBox</tabstop> + </tabstops> <resources/> <connections> <connection>