Thu, 26 Nov 2020 20:11:25 +0100
Added the action to upgrade or downgrade the database.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>RunServerDialog</class> <widget class="QDialog" name="RunServerDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>600</width> <height>500</height> </rect> </property> <property name="windowTitle"> <string>Flask Server</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Output</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QPlainTextEdit" name="outputEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="lineWrapMode"> <enum>QPlainTextEdit::NoWrap</enum> </property> <property name="readOnly"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QToolButton" name="menuButton"> <property name="popupMode"> <enum>QToolButton::InstantPopup</enum> </property> </widget> </item> <item> <widget class="QPushButton" name="startBrowserButton"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Press to start a web browser with the server URL.</string> </property> <property name="text"> <string>Start Browser</string> </property> </widget> </item> <item> <widget class="QPushButton" name="stopServerButton"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Press to stop the running server</string> </property> <property name="text"> <string>Stop Server</string> </property> </widget> </item> <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="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Close</set> </property> </widget> </item> </layout> </item> </layout> </widget> <tabstops> <tabstop>outputEdit</tabstop> <tabstop>menuButton</tabstop> <tabstop>startBrowserButton</tabstop> <tabstop>stopServerButton</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>RunServerDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>505</x> <y>474</y> </hint> <hint type="destinationlabel"> <x>593</x> <y>419</y> </hint> </hints> </connection> </connections> </ui>