openai-sql/gui/Window.ui
2023-05-03 11:29:44 +02:00

201 lines
4.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QLineEdit" name="textInput">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>661</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="textLabel">
<property name="geometry">
<rect>
<x>20</x>
<y>10</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Write Text</string>
</property>
</widget>
<widget class="QLabel" name="statementLabel">
<property name="geometry">
<rect>
<x>20</x>
<y>60</y>
<width>121</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>SQL Statement:</string>
</property>
</widget>
<widget class="QLineEdit" name="statementInput">
<property name="geometry">
<rect>
<x>20</x>
<y>80</y>
<width>661</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="convertButton">
<property name="geometry">
<rect>
<x>690</x>
<y>30</y>
<width>91</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>Convert to SQL</string>
</property>
</widget>
<widget class="QLineEdit" name="shellInput">
<property name="geometry">
<rect>
<x>20</x>
<y>150</y>
<width>661</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="shellLabel">
<property name="geometry">
<rect>
<x>20</x>
<y>126</y>
<width>91</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>SQL Shell</string>
</property>
</widget>
<widget class="QPushButton" name="executeButton">
<property name="geometry">
<rect>
<x>690</x>
<y>150</y>
<width>91</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>Execute</string>
</property>
</widget>
<widget class="QPushButton" name="pasteButton">
<property name="geometry">
<rect>
<x>690</x>
<y>80</y>
<width>91</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>Paste to Shell</string>
</property>
</widget>
<widget class="QLabel" name="outputLabel">
<property name="geometry">
<rect>
<x>20</x>
<y>180</y>
<width>661</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>outputLabel</string>
</property>
</widget>
<widget class="QTableWidget" name="outputTable">
<property name="geometry">
<rect>
<x>20</x>
<y>240</y>
<width>761</width>
<height>311</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="outputTableLabel">
<property name="geometry">
<rect>
<x>20</x>
<y>220</y>
<width>49</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Output</string>
</property>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuSettings">
<property name="title">
<string>Settings</string>
</property>
<addaction name="actionConnect_DB"/>
<addaction name="actionConnect_API_Key"/>
<addaction name="actionExit"/>
</widget>
<addaction name="menuSettings"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<action name="actionConnect_DB">
<property name="text">
<string>Connect DB</string>
</property>
</action>
<action name="actionConnect_API_Key">
<property name="text">
<string>Connect API Key</string>
</property>
</action>
<action name="actionExit">
<property name="text">
<string>Exit</string>
</property>
</action>
</widget>
<resources/>
<connections/>
</ui>