|
1 # Form implementation generated from reading ui file 'src/eric7/WebBrowser/WebAuth/Fido2PinDialog.ui' |
|
2 # |
|
3 # Created by: PyQt6 UI code generator 6.7.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_Fido2PinDialog(object): |
|
13 def setupUi(self, Fido2PinDialog): |
|
14 Fido2PinDialog.setObjectName("Fido2PinDialog") |
|
15 Fido2PinDialog.resize(614, 251) |
|
16 Fido2PinDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout = QtWidgets.QVBoxLayout(Fido2PinDialog) |
|
18 self.verticalLayout.setObjectName("verticalLayout") |
|
19 self.headerLabel = QtWidgets.QLabel(parent=Fido2PinDialog) |
|
20 self.headerLabel.setText("Header") |
|
21 self.headerLabel.setObjectName("headerLabel") |
|
22 self.verticalLayout.addWidget(self.headerLabel) |
|
23 self.descriptionLabel = QtWidgets.QLabel(parent=Fido2PinDialog) |
|
24 self.descriptionLabel.setText("Description") |
|
25 self.descriptionLabel.setWordWrap(True) |
|
26 self.descriptionLabel.setObjectName("descriptionLabel") |
|
27 self.verticalLayout.addWidget(self.descriptionLabel) |
|
28 self.horizontalLayout = QtWidgets.QHBoxLayout() |
|
29 self.horizontalLayout.setObjectName("horizontalLayout") |
|
30 self.pinLabel = QtWidgets.QLabel(parent=Fido2PinDialog) |
|
31 self.pinLabel.setObjectName("pinLabel") |
|
32 self.horizontalLayout.addWidget(self.pinLabel) |
|
33 self.pinEdit = QtWidgets.QLineEdit(parent=Fido2PinDialog) |
|
34 self.pinEdit.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password) |
|
35 self.pinEdit.setObjectName("pinEdit") |
|
36 self.horizontalLayout.addWidget(self.pinEdit) |
|
37 self.pinButton = QtWidgets.QToolButton(parent=Fido2PinDialog) |
|
38 self.pinButton.setCheckable(True) |
|
39 self.pinButton.setObjectName("pinButton") |
|
40 self.horizontalLayout.addWidget(self.pinButton) |
|
41 self.verticalLayout.addLayout(self.horizontalLayout) |
|
42 self.newPinGroupBox = QtWidgets.QGroupBox(parent=Fido2PinDialog) |
|
43 self.newPinGroupBox.setFlat(True) |
|
44 self.newPinGroupBox.setObjectName("newPinGroupBox") |
|
45 self.gridLayout = QtWidgets.QGridLayout(self.newPinGroupBox) |
|
46 self.gridLayout.setObjectName("gridLayout") |
|
47 self.newPinLabel = QtWidgets.QLabel(parent=self.newPinGroupBox) |
|
48 self.newPinLabel.setObjectName("newPinLabel") |
|
49 self.gridLayout.addWidget(self.newPinLabel, 0, 0, 1, 1) |
|
50 self.confirmNewPinLabel = QtWidgets.QLabel(parent=self.newPinGroupBox) |
|
51 self.confirmNewPinLabel.setObjectName("confirmNewPinLabel") |
|
52 self.gridLayout.addWidget(self.confirmNewPinLabel, 1, 0, 1, 1) |
|
53 self.confirmNewPinEdit = QtWidgets.QLineEdit(parent=self.newPinGroupBox) |
|
54 self.confirmNewPinEdit.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password) |
|
55 self.confirmNewPinEdit.setObjectName("confirmNewPinEdit") |
|
56 self.gridLayout.addWidget(self.confirmNewPinEdit, 1, 1, 1, 1) |
|
57 self.newPinEdit = QtWidgets.QLineEdit(parent=self.newPinGroupBox) |
|
58 self.newPinEdit.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password) |
|
59 self.newPinEdit.setObjectName("newPinEdit") |
|
60 self.gridLayout.addWidget(self.newPinEdit, 0, 1, 1, 1) |
|
61 self.newPinButton = QtWidgets.QToolButton(parent=self.newPinGroupBox) |
|
62 self.newPinButton.setCheckable(True) |
|
63 self.newPinButton.setObjectName("newPinButton") |
|
64 self.gridLayout.addWidget(self.newPinButton, 0, 2, 1, 1) |
|
65 self.verticalLayout.addWidget(self.newPinGroupBox) |
|
66 self.pinErrorLabel = QtWidgets.QLabel(parent=Fido2PinDialog) |
|
67 self.pinErrorLabel.setText("PIN Error") |
|
68 self.pinErrorLabel.setWordWrap(True) |
|
69 self.pinErrorLabel.setObjectName("pinErrorLabel") |
|
70 self.verticalLayout.addWidget(self.pinErrorLabel) |
|
71 self.buttonBox = QtWidgets.QDialogButtonBox(parent=Fido2PinDialog) |
|
72 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
73 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
74 self.buttonBox.setObjectName("buttonBox") |
|
75 self.verticalLayout.addWidget(self.buttonBox) |
|
76 |
|
77 self.retranslateUi(Fido2PinDialog) |
|
78 self.buttonBox.accepted.connect(Fido2PinDialog.accept) # type: ignore |
|
79 self.buttonBox.rejected.connect(Fido2PinDialog.reject) # type: ignore |
|
80 QtCore.QMetaObject.connectSlotsByName(Fido2PinDialog) |
|
81 |
|
82 def retranslateUi(self, Fido2PinDialog): |
|
83 _translate = QtCore.QCoreApplication.translate |
|
84 Fido2PinDialog.setWindowTitle(_translate("Fido2PinDialog", "PIN Entry")) |
|
85 self.pinLabel.setText(_translate("Fido2PinDialog", "PIN:")) |
|
86 self.pinEdit.setToolTip(_translate("Fido2PinDialog", "Enter the PIN")) |
|
87 self.pinButton.setToolTip(_translate("Fido2PinDialog", "Press to show or hide the PIN.")) |
|
88 self.newPinGroupBox.setTitle(_translate("Fido2PinDialog", "New PIN")) |
|
89 self.newPinLabel.setText(_translate("Fido2PinDialog", "PIN:")) |
|
90 self.confirmNewPinLabel.setText(_translate("Fido2PinDialog", "Confirm PIN:")) |
|
91 self.confirmNewPinEdit.setToolTip(_translate("Fido2PinDialog", "Enter the same PIN again.")) |
|
92 self.newPinEdit.setToolTip(_translate("Fido2PinDialog", "Enter the new PIN")) |
|
93 self.newPinButton.setToolTip(_translate("Fido2PinDialog", "Press to show or hide the new PIN.")) |