# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7-22.2/eric/eric7/Network/IRC/IrcChannelEditDialog.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_IrcChannelEditDialog(object):
    def setupUi(self, IrcChannelEditDialog):
        IrcChannelEditDialog.setObjectName("IrcChannelEditDialog")
        IrcChannelEditDialog.resize(303, 128)
        IrcChannelEditDialog.setSizeGripEnabled(True)
        self.gridLayout = QtWidgets.QGridLayout(IrcChannelEditDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(IrcChannelEditDialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.nameEdit = QtWidgets.QLineEdit(IrcChannelEditDialog)
        self.nameEdit.setObjectName("nameEdit")
        self.gridLayout.addWidget(self.nameEdit, 0, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(IrcChannelEditDialog)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.keyEdit = QtWidgets.QLineEdit(IrcChannelEditDialog)
        self.keyEdit.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
        self.keyEdit.setObjectName("keyEdit")
        self.gridLayout.addWidget(self.keyEdit, 1, 1, 1, 1)
        self.autoJoinCheckBox = QtWidgets.QCheckBox(IrcChannelEditDialog)
        self.autoJoinCheckBox.setObjectName("autoJoinCheckBox")
        self.gridLayout.addWidget(self.autoJoinCheckBox, 2, 0, 1, 2)
        self.buttonBox = QtWidgets.QDialogButtonBox(IrcChannelEditDialog)
        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, 3, 0, 1, 2)

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

    def retranslateUi(self, IrcChannelEditDialog):
        _translate = QtCore.QCoreApplication.translate
        IrcChannelEditDialog.setWindowTitle(_translate("IrcChannelEditDialog", "IRC Channel"))
        self.label.setText(_translate("IrcChannelEditDialog", "Name:"))
        self.nameEdit.setToolTip(_translate("IrcChannelEditDialog", "Enter the channel name"))
        self.label_2.setText(_translate("IrcChannelEditDialog", "Key:"))
        self.keyEdit.setToolTip(_translate("IrcChannelEditDialog", "Enter the channel key/password"))
        self.autoJoinCheckBox.setToolTip(_translate("IrcChannelEditDialog", "Select to join this channel automatically"))
        self.autoJoinCheckBox.setText(_translate("IrcChannelEditDialog", "Join channel automatically"))
