ChimeraTK-ControlSystemAdapter-OPCUAAdapter 04.00.05
Loading...
Searching...
No Matches
encryptionUI.py
Go to the documentation of this file.
1# -*- coding: utf-8 -*-
2
3# Form implementation generated from reading ui file 'generator/encryptionUI.ui'
4#
5# Created by: PyQt5 UI code generator 5.15.6
6#
7# WARNING: Any manual changes made to this file will be lost when pyuic5 is
8# run again. Do not edit this file unless you know what you are doing.
9
10
11from PyQt5 import QtCore, QtGui, QtWidgets
12
13
14class Ui_EncryptionDialog(object):
15 def setupUi(self, EncryptionDialog):
16 EncryptionDialog.setObjectName("EncryptionDialog")
17 EncryptionDialog.resize(837, 300)
18 self.verticalLayout = QtWidgets.QVBoxLayout(EncryptionDialog)
19 self.verticalLayout.setObjectName("verticalLayout")
20 self.line = QtWidgets.QFrame(EncryptionDialog)
21 self.line.setFrameShape(QtWidgets.QFrame.HLine)
22 self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
23 self.line.setObjectName("line")
24 self.verticalLayout.addWidget(self.line)
25 self.label_6 = QtWidgets.QLabel(EncryptionDialog)
26 self.label_6.setObjectName("label_6")
27 self.verticalLayout.addWidget(self.label_6)
28 self.horizontalLayout = QtWidgets.QHBoxLayout()
29 self.horizontalLayout.setObjectName("horizontalLayout")
30 self.label = QtWidgets.QLabel(EncryptionDialog)
31 self.label.setObjectName("label")
32 self.horizontalLayout.addWidget(self.label)
33 spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
34 self.horizontalLayout.addItem(spacerItem)
35 self.userCert = QtWidgets.QLineEdit(EncryptionDialog)
36 self.userCert.setEnabled(True)
37 self.userCert.setMinimumSize(QtCore.QSize(500, 0))
38 self.userCert.setMaximumSize(QtCore.QSize(16777215, 16777215))
39 self.userCert.setReadOnly(True)
40 self.userCert.setObjectName("userCert")
41 self.horizontalLayout.addWidget(self.userCert)
42 self.setUserCert = QtWidgets.QPushButton(EncryptionDialog)
43 self.setUserCert.setObjectName("setUserCert")
44 self.horizontalLayout.addWidget(self.setUserCert)
45 self.verticalLayout.addLayout(self.horizontalLayout)
46 self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
47 self.horizontalLayout_2.setObjectName("horizontalLayout_2")
48 self.label_2 = QtWidgets.QLabel(EncryptionDialog)
49 self.label_2.setObjectName("label_2")
50 self.horizontalLayout_2.addWidget(self.label_2)
51 spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
52 self.horizontalLayout_2.addItem(spacerItem1)
53 self.privateKey = QtWidgets.QLineEdit(EncryptionDialog)
54 self.privateKey.setEnabled(True)
55 self.privateKey.setMinimumSize(QtCore.QSize(500, 0))
56 self.privateKey.setMaximumSize(QtCore.QSize(16777215, 16777215))
57 self.privateKey.setReadOnly(True)
58 self.privateKey.setObjectName("privateKey")
59 self.horizontalLayout_2.addWidget(self.privateKey)
60 self.setPrivateKey = QtWidgets.QPushButton(EncryptionDialog)
61 self.setPrivateKey.setObjectName("setPrivateKey")
62 self.horizontalLayout_2.addWidget(self.setPrivateKey)
63 self.verticalLayout.addLayout(self.horizontalLayout_2)
64 self.line_2 = QtWidgets.QFrame(EncryptionDialog)
65 self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
66 self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
67 self.line_2.setObjectName("line_2")
68 self.verticalLayout.addWidget(self.line_2)
69 self.label_7 = QtWidgets.QLabel(EncryptionDialog)
70 self.label_7.setObjectName("label_7")
71 self.verticalLayout.addWidget(self.label_7)
72 self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
73 self.horizontalLayout_4.setObjectName("horizontalLayout_4")
74 self.label_4 = QtWidgets.QLabel(EncryptionDialog)
75 self.label_4.setObjectName("label_4")
76 self.horizontalLayout_4.addWidget(self.label_4)
77 spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
78 self.horizontalLayout_4.addItem(spacerItem2)
79 self.trustList = QtWidgets.QLineEdit(EncryptionDialog)
80 self.trustList.setEnabled(True)
81 self.trustList.setMinimumSize(QtCore.QSize(500, 0))
82 self.trustList.setReadOnly(True)
83 self.trustList.setObjectName("trustList")
84 self.horizontalLayout_4.addWidget(self.trustList)
85 self.setTrustList = QtWidgets.QPushButton(EncryptionDialog)
86 self.setTrustList.setObjectName("setTrustList")
87 self.horizontalLayout_4.addWidget(self.setTrustList)
88 self.verticalLayout.addLayout(self.horizontalLayout_4)
89 self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
90 self.horizontalLayout_3.setObjectName("horizontalLayout_3")
91 self.label_3 = QtWidgets.QLabel(EncryptionDialog)
92 self.label_3.setObjectName("label_3")
93 self.horizontalLayout_3.addWidget(self.label_3)
94 spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
95 self.horizontalLayout_3.addItem(spacerItem3)
96 self.blockList = QtWidgets.QLineEdit(EncryptionDialog)
97 self.blockList.setEnabled(True)
98 self.blockList.setMinimumSize(QtCore.QSize(500, 0))
99 self.blockList.setReadOnly(True)
100 self.blockList.setObjectName("blockList")
101 self.horizontalLayout_3.addWidget(self.blockList)
102 self.setBlockList = QtWidgets.QPushButton(EncryptionDialog)
103 self.setBlockList.setObjectName("setBlockList")
104 self.horizontalLayout_3.addWidget(self.setBlockList)
105 self.verticalLayout.addLayout(self.horizontalLayout_3)
106 self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
107 self.horizontalLayout_5.setObjectName("horizontalLayout_5")
108 self.label_5 = QtWidgets.QLabel(EncryptionDialog)
109 self.label_5.setObjectName("label_5")
110 self.horizontalLayout_5.addWidget(self.label_5)
111 spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
112 self.horizontalLayout_5.addItem(spacerItem4)
113 self.issuerList = QtWidgets.QLineEdit(EncryptionDialog)
114 self.issuerList.setEnabled(True)
115 self.issuerList.setMinimumSize(QtCore.QSize(500, 0))
116 self.issuerList.setReadOnly(True)
117 self.issuerList.setObjectName("issuerList")
118 self.horizontalLayout_5.addWidget(self.issuerList)
119 self.setIssuerList = QtWidgets.QPushButton(EncryptionDialog)
120 self.setIssuerList.setObjectName("setIssuerList")
121 self.horizontalLayout_5.addWidget(self.setIssuerList)
122 self.verticalLayout.addLayout(self.horizontalLayout_5)
123 self.buttonBox = QtWidgets.QDialogButtonBox(EncryptionDialog)
124 self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
125 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
126 self.buttonBox.setObjectName("buttonBox")
127 self.verticalLayout.addWidget(self.buttonBox)
128
129 self.retranslateUi(EncryptionDialog)
130 self.buttonBox.accepted.connect(EncryptionDialog.accept) # type: ignore
131 self.buttonBox.rejected.connect(EncryptionDialog.reject) # type: ignore
132 QtCore.QMetaObject.connectSlotsByName(EncryptionDialog)
133
134 def retranslateUi(self, EncryptionDialog):
135 _translate = QtCore.QCoreApplication.translate
136 EncryptionDialog.setWindowTitle(_translate("EncryptionDialog", "Dialog"))
137 self.label_6.setText(_translate("EncryptionDialog", "Required data:"))
138 self.label.setText(_translate("EncryptionDialog", "User certificate:"))
139 self.setUserCert.setText(_translate("EncryptionDialog", "Set"))
140 self.label_2.setText(_translate("EncryptionDialog", "Private Key:"))
141 self.setPrivateKey.setText(_translate("EncryptionDialog", "Set"))
142 self.label_7.setText(_translate("EncryptionDialog", "Optional data (trust list and/or revocation list and issuer list):"))
143 self.label_4.setText(_translate("EncryptionDialog", "Trust list directory:"))
144 self.setTrustList.setToolTip(_translate("EncryptionDialog", "<html><head/><body><p>Set directory that includes certificates that should be trusted, i.e. self-signed certificates.</p><p>No certification authority is needed. </p></body></html>"))
145 self.setTrustList.setText(_translate("EncryptionDialog", "Set"))
146 self.label_3.setText(_translate("EncryptionDialog", "Revocation lists directory:"))
147 self.setBlockList.setToolTip(_translate("EncryptionDialog", "<html><head/><body><p>Set directory that includes revocation lists for certificate authorities.</p></body></html>"))
148 self.setBlockList.setText(_translate("EncryptionDialog", "Set"))
149 self.label_5.setText(_translate("EncryptionDialog", "Issuer list directory:"))
150 self.setIssuerList.setToolTip(_translate("EncryptionDialog", "<html><head/><body><p>Set directory that includes certificates of certificate authorities.</p></body></html>"))
151 self.setIssuerList.setText(_translate("EncryptionDialog", "Set"))