|
1 # Form implementation generated from reading ui file 'ExtensionIrc/IrcChannelEditDialog.ui' |
|
2 # |
|
3 # Created by: PyQt6 UI code generator 6.9.0 |
|
4 # |
|
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is |
|
6 # run again. Do not edit this file unless you know what you are doing. |
|
7 |
|
8 |
|
9 from PyQt6 import QtCore, QtGui, QtWidgets |
|
10 |
|
11 |
|
12 class Ui_IrcChannelEditDialog(object): |
|
13 def setupUi(self, IrcChannelEditDialog): |
|
14 IrcChannelEditDialog.setObjectName("IrcChannelEditDialog") |
|
15 IrcChannelEditDialog.resize(303, 128) |
|
16 IrcChannelEditDialog.setSizeGripEnabled(True) |
|
17 self.gridLayout = QtWidgets.QGridLayout(IrcChannelEditDialog) |
|
18 self.gridLayout.setObjectName("gridLayout") |
|
19 self.label = QtWidgets.QLabel(parent=IrcChannelEditDialog) |
|
20 self.label.setObjectName("label") |
|
21 self.gridLayout.addWidget(self.label, 0, 0, 1, 1) |
|
22 self.nameEdit = QtWidgets.QLineEdit(parent=IrcChannelEditDialog) |
|
23 self.nameEdit.setObjectName("nameEdit") |
|
24 self.gridLayout.addWidget(self.nameEdit, 0, 1, 1, 1) |
|
25 self.label_2 = QtWidgets.QLabel(parent=IrcChannelEditDialog) |
|
26 self.label_2.setObjectName("label_2") |
|
27 self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) |
|
28 self.keyEdit = QtWidgets.QLineEdit(parent=IrcChannelEditDialog) |
|
29 self.keyEdit.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password) |
|
30 self.keyEdit.setObjectName("keyEdit") |
|
31 self.gridLayout.addWidget(self.keyEdit, 1, 1, 1, 1) |
|
32 self.autoJoinCheckBox = QtWidgets.QCheckBox(parent=IrcChannelEditDialog) |
|
33 self.autoJoinCheckBox.setObjectName("autoJoinCheckBox") |
|
34 self.gridLayout.addWidget(self.autoJoinCheckBox, 2, 0, 1, 2) |
|
35 self.buttonBox = QtWidgets.QDialogButtonBox(parent=IrcChannelEditDialog) |
|
36 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
37 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
38 self.buttonBox.setObjectName("buttonBox") |
|
39 self.gridLayout.addWidget(self.buttonBox, 3, 0, 1, 2) |
|
40 |
|
41 self.retranslateUi(IrcChannelEditDialog) |
|
42 self.buttonBox.accepted.connect(IrcChannelEditDialog.accept) # type: ignore |
|
43 self.buttonBox.rejected.connect(IrcChannelEditDialog.reject) # type: ignore |
|
44 QtCore.QMetaObject.connectSlotsByName(IrcChannelEditDialog) |
|
45 IrcChannelEditDialog.setTabOrder(self.nameEdit, self.keyEdit) |
|
46 IrcChannelEditDialog.setTabOrder(self.keyEdit, self.autoJoinCheckBox) |
|
47 IrcChannelEditDialog.setTabOrder(self.autoJoinCheckBox, self.buttonBox) |
|
48 |
|
49 def retranslateUi(self, IrcChannelEditDialog): |
|
50 _translate = QtCore.QCoreApplication.translate |
|
51 IrcChannelEditDialog.setWindowTitle(_translate("IrcChannelEditDialog", "IRC Channel")) |
|
52 self.label.setText(_translate("IrcChannelEditDialog", "Name:")) |
|
53 self.nameEdit.setToolTip(_translate("IrcChannelEditDialog", "Enter the channel name")) |
|
54 self.label_2.setText(_translate("IrcChannelEditDialog", "Key:")) |
|
55 self.keyEdit.setToolTip(_translate("IrcChannelEditDialog", "Enter the channel key/password")) |
|
56 self.autoJoinCheckBox.setToolTip(_translate("IrcChannelEditDialog", "Select to join this channel automatically")) |
|
57 self.autoJoinCheckBox.setText(_translate("IrcChannelEditDialog", "Join channel automatically")) |