src/eric7/Network/IRC/Ui_IrcChannelEditDialog.py

branch
eric7
changeset 10743
5d3a5a05114e
child 10745
2921faddeaec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/Network/IRC/Ui_IrcChannelEditDialog.py	Fri Jun 07 10:05:06 2024 +0200
@@ -0,0 +1,57 @@
+# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/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