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

# Form implementation generated from reading ui file 'apikey.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_ApiKey(object):
    def setupUi(self, ApiKey):
        ApiKey.setObjectName("ApiKey")
        ApiKey.resize(276, 98)
        self.label = QtWidgets.QLabel(ApiKey)
        self.label.setGeometry(QtCore.QRect(20, 10, 91, 16))
        self.label.setObjectName("label")
        self.apikeyInput = QtWidgets.QLineEdit(ApiKey)
        self.apikeyInput.setGeometry(QtCore.QRect(120, 10, 141, 21))
        self.apikeyInput.setObjectName("apikeyInput")
        self.testButton = QtWidgets.QPushButton(ApiKey)
        self.testButton.setGeometry(QtCore.QRect(14, 40, 111, 24))
        self.testButton.setObjectName("testButton")
        self.saveButton = QtWidgets.QPushButton(ApiKey)
        self.saveButton.setGeometry(QtCore.QRect(140, 40, 121, 24))
        self.saveButton.setObjectName("saveButton")
        self.outputLabel = QtWidgets.QLabel(ApiKey)
        self.outputLabel.setGeometry(QtCore.QRect(20, 70, 231, 16))
        self.outputLabel.setObjectName("outputLabel")

        self.retranslateUi(ApiKey)
        self.apikeyInput.returnPressed.connect(self.testButton.click) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(ApiKey)

    def retranslateUi(self, ApiKey):
        _translate = QtCore.QCoreApplication.translate
        ApiKey.setWindowTitle(_translate("ApiKey", "Form"))
        self.label.setText(_translate("ApiKey", "OpenAI API-Key"))
        self.testButton.setText(_translate("ApiKey", "Test Key"))
        self.saveButton.setText(_translate("ApiKey", "Save"))
        self.outputLabel.setText(_translate("ApiKey", "Key working..."))
