src/eric7/Network/IRC/Ui_IrcChannelEditDialog.py

Thu, 11 Jul 2024 14:21:34 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 11 Jul 2024 14:21:34 +0200
branch
eric7
changeset 10840
c8045d0dbaa7
parent 10745
2921faddeaec
permissions
-rw-r--r--

MicroPython
- Updated the list of known CircuitPython boards for CPy 9.1.0.
- Updated the list of known UF2 capable boards.

# Form implementation generated from reading ui file 'src/eric7/Network/IRC/IrcChannelEditDialog.ui'
#
# Created by: PyQt6 UI code generator 6.7.0
#
# 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(parent=IrcChannelEditDialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.nameEdit = QtWidgets.QLineEdit(parent=IrcChannelEditDialog)
        self.nameEdit.setObjectName("nameEdit")
        self.gridLayout.addWidget(self.nameEdit, 0, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(parent=IrcChannelEditDialog)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.keyEdit = QtWidgets.QLineEdit(parent=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(parent=IrcChannelEditDialog)
        self.autoJoinCheckBox.setObjectName("autoJoinCheckBox")
        self.gridLayout.addWidget(self.autoJoinCheckBox, 2, 0, 1, 2)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=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"))

eric ide

mercurial