src/eric7/Preferences/ConfigurationPages/Ui_EmailPage.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/EmailPage.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_EmailPage(object):
13 def setupUi(self, EmailPage):
14 EmailPage.setObjectName("EmailPage")
15 EmailPage.resize(485, 580)
16 self.verticalLayout_3 = QtWidgets.QVBoxLayout(EmailPage)
17 self.verticalLayout_3.setObjectName("verticalLayout_3")
18 self.headerLabel = QtWidgets.QLabel(parent=EmailPage)
19 self.headerLabel.setObjectName("headerLabel")
20 self.verticalLayout_3.addWidget(self.headerLabel)
21 self.line16 = QtWidgets.QFrame(parent=EmailPage)
22 self.line16.setFrameShape(QtWidgets.QFrame.Shape.HLine)
23 self.line16.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
24 self.line16.setFrameShape(QtWidgets.QFrame.Shape.HLine)
25 self.line16.setObjectName("line16")
26 self.verticalLayout_3.addWidget(self.line16)
27 self.gridLayout_3 = QtWidgets.QGridLayout()
28 self.gridLayout_3.setObjectName("gridLayout_3")
29 self.textLabel1_5 = QtWidgets.QLabel(parent=EmailPage)
30 self.textLabel1_5.setObjectName("textLabel1_5")
31 self.gridLayout_3.addWidget(self.textLabel1_5, 0, 0, 1, 1)
32 self.emailEdit = QtWidgets.QLineEdit(parent=EmailPage)
33 self.emailEdit.setObjectName("emailEdit")
34 self.gridLayout_3.addWidget(self.emailEdit, 0, 1, 1, 1)
35 self.textLabel1_6 = QtWidgets.QLabel(parent=EmailPage)
36 self.textLabel1_6.setAlignment(QtCore.Qt.AlignmentFlag.AlignTop)
37 self.textLabel1_6.setObjectName("textLabel1_6")
38 self.gridLayout_3.addWidget(self.textLabel1_6, 1, 0, 1, 1)
39 self.signatureEdit = QtWidgets.QTextEdit(parent=EmailPage)
40 self.signatureEdit.setAcceptRichText(False)
41 self.signatureEdit.setObjectName("signatureEdit")
42 self.gridLayout_3.addWidget(self.signatureEdit, 1, 1, 1, 1)
43 self.verticalLayout_3.addLayout(self.gridLayout_3)
44 self.groupBox_2 = QtWidgets.QGroupBox(parent=EmailPage)
45 self.groupBox_2.setObjectName("groupBox_2")
46 self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_2)
47 self.verticalLayout_2.setObjectName("verticalLayout_2")
48 self.googleMailCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_2)
49 self.googleMailCheckBox.setObjectName("googleMailCheckBox")
50 self.verticalLayout_2.addWidget(self.googleMailCheckBox)
51 self.googleMailInfoLabel = QtWidgets.QLabel(parent=self.groupBox_2)
52 self.googleMailInfoLabel.setWordWrap(True)
53 self.googleMailInfoLabel.setObjectName("googleMailInfoLabel")
54 self.verticalLayout_2.addWidget(self.googleMailInfoLabel)
55 self.horizontalLayout = QtWidgets.QHBoxLayout()
56 self.horizontalLayout.setObjectName("horizontalLayout")
57 self.googleHelpButton = QtWidgets.QPushButton(parent=self.groupBox_2)
58 self.googleHelpButton.setObjectName("googleHelpButton")
59 self.horizontalLayout.addWidget(self.googleHelpButton)
60 spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
61 self.horizontalLayout.addItem(spacerItem)
62 self.googleInstallButton = QtWidgets.QPushButton(parent=self.groupBox_2)
63 self.googleInstallButton.setObjectName("googleInstallButton")
64 self.horizontalLayout.addWidget(self.googleInstallButton)
65 self.googleCheckAgainButton = QtWidgets.QPushButton(parent=self.groupBox_2)
66 self.googleCheckAgainButton.setObjectName("googleCheckAgainButton")
67 self.horizontalLayout.addWidget(self.googleCheckAgainButton)
68 self.verticalLayout_2.addLayout(self.horizontalLayout)
69 self.verticalLayout_3.addWidget(self.groupBox_2)
70 self.groupBox = QtWidgets.QGroupBox(parent=EmailPage)
71 self.groupBox.setObjectName("groupBox")
72 self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
73 self.verticalLayout.setObjectName("verticalLayout")
74 self.gridLayout_2 = QtWidgets.QGridLayout()
75 self.gridLayout_2.setObjectName("gridLayout_2")
76 self.label_2 = QtWidgets.QLabel(parent=self.groupBox)
77 self.label_2.setObjectName("label_2")
78 self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1)
79 self.textLabel2_2 = QtWidgets.QLabel(parent=self.groupBox)
80 self.textLabel2_2.setObjectName("textLabel2_2")
81 self.gridLayout_2.addWidget(self.textLabel2_2, 0, 0, 1, 1)
82 self.label = QtWidgets.QLabel(parent=self.groupBox)
83 self.label.setObjectName("label")
84 self.gridLayout_2.addWidget(self.label, 2, 0, 1, 1)
85 self.portSpin = QtWidgets.QSpinBox(parent=self.groupBox)
86 self.portSpin.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
87 self.portSpin.setMinimum(1)
88 self.portSpin.setMaximum(65535)
89 self.portSpin.setProperty("value", 25)
90 self.portSpin.setObjectName("portSpin")
91 self.gridLayout_2.addWidget(self.portSpin, 2, 1, 1, 1)
92 self.mailServerEdit = QtWidgets.QLineEdit(parent=self.groupBox)
93 self.mailServerEdit.setObjectName("mailServerEdit")
94 self.gridLayout_2.addWidget(self.mailServerEdit, 0, 1, 1, 2)
95 self.frame = QtWidgets.QFrame(parent=self.groupBox)
96 self.frame.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
97 self.frame.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
98 self.frame.setObjectName("frame")
99 self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.frame)
100 self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
101 self.horizontalLayout_2.setObjectName("horizontalLayout_2")
102 self.noEncryptionButton = QtWidgets.QRadioButton(parent=self.frame)
103 self.noEncryptionButton.setChecked(True)
104 self.noEncryptionButton.setObjectName("noEncryptionButton")
105 self.horizontalLayout_2.addWidget(self.noEncryptionButton)
106 self.useSslButton = QtWidgets.QRadioButton(parent=self.frame)
107 self.useSslButton.setObjectName("useSslButton")
108 self.horizontalLayout_2.addWidget(self.useSslButton)
109 self.useTlsButton = QtWidgets.QRadioButton(parent=self.frame)
110 self.useTlsButton.setObjectName("useTlsButton")
111 self.horizontalLayout_2.addWidget(self.useTlsButton)
112 self.gridLayout_2.addWidget(self.frame, 1, 1, 1, 2)
113 spacerItem1 = QtWidgets.QSpacerItem(138, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
114 self.gridLayout_2.addItem(spacerItem1, 2, 2, 1, 1)
115 self.verticalLayout.addLayout(self.gridLayout_2)
116 self.mailAuthenticationGroup = QtWidgets.QGroupBox(parent=self.groupBox)
117 self.mailAuthenticationGroup.setCheckable(True)
118 self.mailAuthenticationGroup.setObjectName("mailAuthenticationGroup")
119 self.gridLayout = QtWidgets.QGridLayout(self.mailAuthenticationGroup)
120 self.gridLayout.setObjectName("gridLayout")
121 self.textLabel1_15 = QtWidgets.QLabel(parent=self.mailAuthenticationGroup)
122 self.textLabel1_15.setObjectName("textLabel1_15")
123 self.gridLayout.addWidget(self.textLabel1_15, 0, 0, 1, 1)
124 self.mailUserEdit = QtWidgets.QLineEdit(parent=self.mailAuthenticationGroup)
125 self.mailUserEdit.setObjectName("mailUserEdit")
126 self.gridLayout.addWidget(self.mailUserEdit, 0, 1, 1, 1)
127 self.textLabel2_7 = QtWidgets.QLabel(parent=self.mailAuthenticationGroup)
128 self.textLabel2_7.setObjectName("textLabel2_7")
129 self.gridLayout.addWidget(self.textLabel2_7, 1, 0, 1, 1)
130 self.mailPasswordEdit = QtWidgets.QLineEdit(parent=self.mailAuthenticationGroup)
131 self.mailPasswordEdit.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
132 self.mailPasswordEdit.setObjectName("mailPasswordEdit")
133 self.gridLayout.addWidget(self.mailPasswordEdit, 1, 1, 1, 1)
134 self.testButton = QtWidgets.QPushButton(parent=self.mailAuthenticationGroup)
135 self.testButton.setObjectName("testButton")
136 self.gridLayout.addWidget(self.testButton, 2, 0, 1, 2)
137 self.verticalLayout.addWidget(self.mailAuthenticationGroup)
138 self.verticalLayout_3.addWidget(self.groupBox)
139 spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
140 self.verticalLayout_3.addItem(spacerItem2)
141
142 self.retranslateUi(EmailPage)
143 self.googleMailCheckBox.toggled['bool'].connect(self.groupBox.setDisabled) # type: ignore
144 QtCore.QMetaObject.connectSlotsByName(EmailPage)
145 EmailPage.setTabOrder(self.emailEdit, self.signatureEdit)
146 EmailPage.setTabOrder(self.signatureEdit, self.googleMailCheckBox)
147 EmailPage.setTabOrder(self.googleMailCheckBox, self.googleHelpButton)
148 EmailPage.setTabOrder(self.googleHelpButton, self.googleInstallButton)
149 EmailPage.setTabOrder(self.googleInstallButton, self.googleCheckAgainButton)
150 EmailPage.setTabOrder(self.googleCheckAgainButton, self.mailServerEdit)
151 EmailPage.setTabOrder(self.mailServerEdit, self.noEncryptionButton)
152 EmailPage.setTabOrder(self.noEncryptionButton, self.useSslButton)
153 EmailPage.setTabOrder(self.useSslButton, self.useTlsButton)
154 EmailPage.setTabOrder(self.useTlsButton, self.portSpin)
155 EmailPage.setTabOrder(self.portSpin, self.mailAuthenticationGroup)
156 EmailPage.setTabOrder(self.mailAuthenticationGroup, self.mailUserEdit)
157 EmailPage.setTabOrder(self.mailUserEdit, self.mailPasswordEdit)
158 EmailPage.setTabOrder(self.mailPasswordEdit, self.testButton)
159
160 def retranslateUi(self, EmailPage):
161 _translate = QtCore.QCoreApplication.translate
162 self.headerLabel.setText(_translate("EmailPage", "<b>Configure Email</b>"))
163 self.textLabel1_5.setText(_translate("EmailPage", "Email address:"))
164 self.emailEdit.setToolTip(_translate("EmailPage", "Enter your email address"))
165 self.textLabel1_6.setText(_translate("EmailPage", "Signature:"))
166 self.signatureEdit.setToolTip(_translate("EmailPage", "Enter your email signature"))
167 self.groupBox_2.setTitle(_translate("EmailPage", "Google Mail"))
168 self.googleMailCheckBox.setText(_translate("EmailPage", "Use Google Mail with OAuth2 authentication via Gmail API"))
169 self.googleHelpButton.setToolTip(_translate("EmailPage", "Press to get some help for enabling the Google Mail API"))
170 self.googleHelpButton.setText(_translate("EmailPage", "Google Mail API Help"))
171 self.googleInstallButton.setToolTip(_translate("EmailPage", "Press to install the required Google API packages"))
172 self.googleInstallButton.setText(_translate("EmailPage", "Install Google API Packages"))
173 self.googleCheckAgainButton.setToolTip(_translate("EmailPage", "Press to check the availability again"))
174 self.googleCheckAgainButton.setText(_translate("EmailPage", "Check Again"))
175 self.groupBox.setTitle(_translate("EmailPage", "Standard Email"))
176 self.label_2.setText(_translate("EmailPage", "Encryption Method:"))
177 self.textLabel2_2.setText(_translate("EmailPage", "Outgoing mail server (SMTP):"))
178 self.label.setText(_translate("EmailPage", "Port:"))
179 self.portSpin.setToolTip(_translate("EmailPage", "Enter the port of the mail server"))
180 self.mailServerEdit.setToolTip(_translate("EmailPage", "Enter the address of your mail server"))
181 self.noEncryptionButton.setToolTip(_translate("EmailPage", "Select to use no encryption"))
182 self.noEncryptionButton.setText(_translate("EmailPage", "None"))
183 self.useSslButton.setToolTip(_translate("EmailPage", "Select to use SSL"))
184 self.useSslButton.setText(_translate("EmailPage", "SSL"))
185 self.useTlsButton.setToolTip(_translate("EmailPage", "Select to use TLS"))
186 self.useTlsButton.setText(_translate("EmailPage", "TLS"))
187 self.mailAuthenticationGroup.setToolTip(_translate("EmailPage", "Select to authenticatate against the mail server"))
188 self.mailAuthenticationGroup.setTitle(_translate("EmailPage", "Mail server needs authentication"))
189 self.textLabel1_15.setText(_translate("EmailPage", "Username:"))
190 self.mailUserEdit.setToolTip(_translate("EmailPage", "Enter your mail server username"))
191 self.textLabel2_7.setText(_translate("EmailPage", "Password:"))
192 self.mailPasswordEdit.setToolTip(_translate("EmailPage", "Enter your password for accessing the mail server"))
193 self.testButton.setToolTip(_translate("EmailPage", "Press to test the login data"))
194 self.testButton.setText(_translate("EmailPage", "Test Login"))

eric ide

mercurial