# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7-22.2/eric/eric7/Project/IdlCompilerDefineNameDialog.ui'
#
# Created by: PyQt6 UI code generator 6.2.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_IdlCompilerDefineNameDialog(object):
    def setupUi(self, IdlCompilerDefineNameDialog):
        IdlCompilerDefineNameDialog.setObjectName("IdlCompilerDefineNameDialog")
        IdlCompilerDefineNameDialog.resize(400, 108)
        IdlCompilerDefineNameDialog.setSizeGripEnabled(True)
        self.gridLayout = QtWidgets.QGridLayout(IdlCompilerDefineNameDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(IdlCompilerDefineNameDialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.nameEdit = QtWidgets.QLineEdit(IdlCompilerDefineNameDialog)
        self.nameEdit.setObjectName("nameEdit")
        self.gridLayout.addWidget(self.nameEdit, 0, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(IdlCompilerDefineNameDialog)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.valueEdit = QtWidgets.QLineEdit(IdlCompilerDefineNameDialog)
        self.valueEdit.setObjectName("valueEdit")
        self.gridLayout.addWidget(self.valueEdit, 1, 1, 1, 1)
        self.buttonBox = QtWidgets.QDialogButtonBox(IdlCompilerDefineNameDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 2)

        self.retranslateUi(IdlCompilerDefineNameDialog)
        self.buttonBox.accepted.connect(IdlCompilerDefineNameDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(IdlCompilerDefineNameDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(IdlCompilerDefineNameDialog)
        IdlCompilerDefineNameDialog.setTabOrder(self.nameEdit, self.valueEdit)

    def retranslateUi(self, IdlCompilerDefineNameDialog):
        _translate = QtCore.QCoreApplication.translate
        IdlCompilerDefineNameDialog.setWindowTitle(_translate("IdlCompilerDefineNameDialog", "Define Name"))
        self.label.setText(_translate("IdlCompilerDefineNameDialog", "Name:"))
        self.nameEdit.setToolTip(_translate("IdlCompilerDefineNameDialog", "Enter the variable name"))
        self.label_2.setText(_translate("IdlCompilerDefineNameDialog", "Value:"))
        self.valueEdit.setToolTip(_translate("IdlCompilerDefineNameDialog", "Enter an optional value"))
