# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'Window.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(796, 591)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.textInput = QtWidgets.QLineEdit(self.centralwidget)
        self.textInput.setGeometry(QtCore.QRect(20, 30, 650, 21))
        self.textInput.setObjectName("textInput")
        self.textLabel = QtWidgets.QLabel(self.centralwidget)
        self.textLabel.setGeometry(QtCore.QRect(20, 10, 71, 16))
        self.textLabel.setObjectName("textLabel")
        self.statementLabel = QtWidgets.QLabel(self.centralwidget)
        self.statementLabel.setGeometry(QtCore.QRect(20, 60, 121, 16))
        self.statementLabel.setObjectName("statementLabel")
        self.convertButton = QtWidgets.QPushButton(self.centralwidget)
        self.convertButton.setGeometry(QtCore.QRect(680, 30, 100, 24))
        self.convertButton.setObjectName("convertButton")
        self.shellLabel = QtWidgets.QLabel(self.centralwidget)
        self.shellLabel.setGeometry(QtCore.QRect(410, 60, 91, 20))
        self.shellLabel.setObjectName("shellLabel")
        self.executeButton = QtWidgets.QPushButton(self.centralwidget)
        self.executeButton.setGeometry(QtCore.QRect(680, 200, 100, 24))
        self.executeButton.setObjectName("executeButton")
        self.pasteButton = QtWidgets.QPushButton(self.centralwidget)
        self.pasteButton.setGeometry(QtCore.QRect(300, 200, 100, 24))
        self.pasteButton.setObjectName("pasteButton")
        self.outputLabel = QtWidgets.QLabel(self.centralwidget)
        self.outputLabel.setGeometry(QtCore.QRect(20, 230, 761, 16))
        self.outputLabel.setObjectName("outputLabel")
        self.outputTable = QtWidgets.QTableWidget(self.centralwidget)
        self.outputTable.setGeometry(QtCore.QRect(20, 270, 761, 281))
        self.outputTable.setObjectName("outputTable")
        self.outputTable.setColumnCount(0)
        self.outputTable.setRowCount(0)
        self.outputTableLabel = QtWidgets.QLabel(self.centralwidget)
        self.outputTableLabel.setGeometry(QtCore.QRect(20, 250, 49, 16))
        self.outputTableLabel.setObjectName("outputTableLabel")
        self.shellInput = QtWidgets.QTextEdit(self.centralwidget)
        self.shellInput.setGeometry(QtCore.QRect(410, 80, 371, 111))
        self.shellInput.setObjectName("shellInput")
        self.statementOutput = QtWidgets.QTextEdit(self.centralwidget)
        self.statementOutput.setEnabled(True)
        self.statementOutput.setGeometry(QtCore.QRect(20, 80, 375, 111))
        self.statementOutput.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.statementOutput.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.statementOutput.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.statementOutput.setObjectName("statementOutput")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 796, 26))
        self.menubar.setObjectName("menubar")
        self.menuSettings = QtWidgets.QMenu(self.menubar)
        self.menuSettings.setObjectName("menuSettings")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.actionConnect_DB = QtWidgets.QAction(MainWindow)
        self.actionConnect_DB.setObjectName("actionConnect_DB")
        self.actionConnect_API_Key = QtWidgets.QAction(MainWindow)
        self.actionConnect_API_Key.setObjectName("actionConnect_API_Key")
        self.actionExit = QtWidgets.QAction(MainWindow)
        self.actionExit.setObjectName("actionExit")
        self.menuSettings.addAction(self.actionConnect_DB)
        self.menuSettings.addAction(self.actionConnect_API_Key)
        self.menuSettings.addAction(self.actionExit)
        self.menubar.addAction(self.menuSettings.menuAction())

        self.retranslateUi(MainWindow)
        self.textInput.returnPressed.connect(self.convertButton.click) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
        MainWindow.setTabOrder(self.textInput, self.convertButton)
        MainWindow.setTabOrder(self.convertButton, self.pasteButton)
        MainWindow.setTabOrder(self.pasteButton, self.shellInput)
        MainWindow.setTabOrder(self.shellInput, self.executeButton)
        MainWindow.setTabOrder(self.executeButton, self.outputTable)
        MainWindow.setTabOrder(self.outputTable, self.statementOutput)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.textLabel.setText(_translate("MainWindow", "Write Text"))
        self.statementLabel.setText(_translate("MainWindow", "SQL Statement:"))
        self.convertButton.setText(_translate("MainWindow", "Convert to SQL"))
        self.shellLabel.setText(_translate("MainWindow", "SQL Shell"))
        self.executeButton.setText(_translate("MainWindow", "Execute"))
        self.pasteButton.setText(_translate("MainWindow", "Paste to Shell"))
        self.outputLabel.setText(_translate("MainWindow", "outputLabel"))
        self.outputTableLabel.setText(_translate("MainWindow", "Output"))
        self.statementOutput.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:7.8pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p></body></html>"))
        self.menuSettings.setTitle(_translate("MainWindow", "Settings"))
        self.actionConnect_DB.setText(_translate("MainWindow", "Connect DB"))
        self.actionConnect_API_Key.setText(_translate("MainWindow", "Connect API Key"))
        self.actionExit.setText(_translate("MainWindow", "Exit"))
