src/eric7/Preferences/ConfigurationPages/Ui_MainPasswordEntryDialog.py

branch
eric7
changeset 10743
5d3a5a05114e
child 10745
2921faddeaec
equal deleted inserted replaced
10742:7aa41173b44b 10743:5d3a5a05114e
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Preferences/ConfigurationPages/MainPasswordEntryDialog.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_MainPasswordEntryDialog(object):
13 def setupUi(self, MainPasswordEntryDialog):
14 MainPasswordEntryDialog.setObjectName("MainPasswordEntryDialog")
15 MainPasswordEntryDialog.resize(450, 322)
16 MainPasswordEntryDialog.setSizeGripEnabled(True)
17 self.verticalLayout = QtWidgets.QVBoxLayout(MainPasswordEntryDialog)
18 self.verticalLayout.setObjectName("verticalLayout")
19 self.label = QtWidgets.QLabel(parent=MainPasswordEntryDialog)
20 self.label.setWordWrap(True)
21 self.label.setObjectName("label")
22 self.verticalLayout.addWidget(self.label)
23 spacerItem = QtWidgets.QSpacerItem(20, 28, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
24 self.verticalLayout.addItem(spacerItem)
25 self.gridLayout = QtWidgets.QGridLayout()
26 self.gridLayout.setObjectName("gridLayout")
27 self.label_2 = QtWidgets.QLabel(parent=MainPasswordEntryDialog)
28 self.label_2.setObjectName("label_2")
29 self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
30 self.currentPasswordEdit = QtWidgets.QLineEdit(parent=MainPasswordEntryDialog)
31 self.currentPasswordEdit.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
32 self.currentPasswordEdit.setObjectName("currentPasswordEdit")
33 self.gridLayout.addWidget(self.currentPasswordEdit, 0, 1, 1, 1)
34 self.label_3 = QtWidgets.QLabel(parent=MainPasswordEntryDialog)
35 self.label_3.setObjectName("label_3")
36 self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
37 self.newPasswordEdit = QtWidgets.QLineEdit(parent=MainPasswordEntryDialog)
38 self.newPasswordEdit.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
39 self.newPasswordEdit.setObjectName("newPasswordEdit")
40 self.gridLayout.addWidget(self.newPasswordEdit, 1, 1, 1, 1)
41 self.label_4 = QtWidgets.QLabel(parent=MainPasswordEntryDialog)
42 self.label_4.setObjectName("label_4")
43 self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
44 self.newPasswordAgainEdit = QtWidgets.QLineEdit(parent=MainPasswordEntryDialog)
45 self.newPasswordAgainEdit.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
46 self.newPasswordAgainEdit.setObjectName("newPasswordAgainEdit")
47 self.gridLayout.addWidget(self.newPasswordAgainEdit, 2, 1, 1, 1)
48 self.verticalLayout.addLayout(self.gridLayout)
49 self.passwordMeter = EricPasswordMeter(parent=MainPasswordEntryDialog)
50 self.passwordMeter.setObjectName("passwordMeter")
51 self.verticalLayout.addWidget(self.passwordMeter)
52 self.errorLabel = QtWidgets.QLabel(parent=MainPasswordEntryDialog)
53 self.errorLabel.setStyleSheet("color : red;")
54 self.errorLabel.setWordWrap(True)
55 self.errorLabel.setObjectName("errorLabel")
56 self.verticalLayout.addWidget(self.errorLabel)
57 self.buttonBox = QtWidgets.QDialogButtonBox(parent=MainPasswordEntryDialog)
58 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
59 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
60 self.buttonBox.setObjectName("buttonBox")
61 self.verticalLayout.addWidget(self.buttonBox)
62
63 self.retranslateUi(MainPasswordEntryDialog)
64 self.buttonBox.accepted.connect(MainPasswordEntryDialog.accept) # type: ignore
65 self.buttonBox.rejected.connect(MainPasswordEntryDialog.reject) # type: ignore
66 QtCore.QMetaObject.connectSlotsByName(MainPasswordEntryDialog)
67 MainPasswordEntryDialog.setTabOrder(self.currentPasswordEdit, self.newPasswordEdit)
68 MainPasswordEntryDialog.setTabOrder(self.newPasswordEdit, self.newPasswordAgainEdit)
69 MainPasswordEntryDialog.setTabOrder(self.newPasswordAgainEdit, self.buttonBox)
70
71 def retranslateUi(self, MainPasswordEntryDialog):
72 _translate = QtCore.QCoreApplication.translate
73 MainPasswordEntryDialog.setWindowTitle(_translate("MainPasswordEntryDialog", "Main Password"))
74 self.label.setText(_translate("MainPasswordEntryDialog", "<p>Enter your main password below. This password will be used to encrypt sensitive data. You will be asked once per session for this password when the data needs to be accessed for the first time.<br/><br/><b>Note: If you forget the main password, the encrypted data cannot be recovered!</b></p>"))
75 self.label_2.setText(_translate("MainPasswordEntryDialog", "Current Password:"))
76 self.currentPasswordEdit.setToolTip(_translate("MainPasswordEntryDialog", "Enter the current password"))
77 self.label_3.setText(_translate("MainPasswordEntryDialog", "New Password:"))
78 self.newPasswordEdit.setToolTip(_translate("MainPasswordEntryDialog", "Enter the new password"))
79 self.label_4.setText(_translate("MainPasswordEntryDialog", "New Password (again):"))
80 self.newPasswordAgainEdit.setToolTip(_translate("MainPasswordEntryDialog", "Repeat the new password"))
81 self.passwordMeter.setToolTip(_translate("MainPasswordEntryDialog", "Shows an indication for the password strength"))
82 from eric7.EricWidgets.EricPasswordMeter import EricPasswordMeter

eric ide

mercurial