Fri, 07 Jun 2024 11:11:57 +0200
Regenerated the Ui_*.py files with project relative paths.
# Form implementation generated from reading ui file 'src/eric7/Preferences/ConfigurationPages/NetworkPage.ui' # # Created by: PyQt6 UI code generator 6.7.0 # # WARNING: Any manual changes made to this file will be lost when pyuic6 is # run again. Do not edit this file unless you know what you are doing. from PyQt6 import QtCore, QtGui, QtWidgets class Ui_NetworkPage(object): def setupUi(self, NetworkPage): NetworkPage.setObjectName("NetworkPage") NetworkPage.resize(589, 1129) self.verticalLayout_7 = QtWidgets.QVBoxLayout(NetworkPage) self.verticalLayout_7.setObjectName("verticalLayout_7") self.headerLabel = QtWidgets.QLabel(parent=NetworkPage) self.headerLabel.setObjectName("headerLabel") self.verticalLayout_7.addWidget(self.headerLabel) self.line9_3 = QtWidgets.QFrame(parent=NetworkPage) self.line9_3.setFrameShape(QtWidgets.QFrame.Shape.HLine) self.line9_3.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken) self.line9_3.setFrameShape(QtWidgets.QFrame.Shape.HLine) self.line9_3.setObjectName("line9_3") self.verticalLayout_7.addWidget(self.line9_3) self.groupBox_3 = QtWidgets.QGroupBox(parent=NetworkPage) self.groupBox_3.setObjectName("groupBox_3") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupBox_3) self.verticalLayout_5.setObjectName("verticalLayout_5") self.dynamicOnlineCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_3) self.dynamicOnlineCheckBox.setObjectName("dynamicOnlineCheckBox") self.verticalLayout_5.addWidget(self.dynamicOnlineCheckBox) self.verticalLayout_7.addWidget(self.groupBox_3) self.groupBox_2 = QtWidgets.QGroupBox(parent=NetworkPage) self.groupBox_2.setObjectName("groupBox_2") self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox_2) self.verticalLayout_6.setObjectName("verticalLayout_6") self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label_6 = QtWidgets.QLabel(parent=self.groupBox_2) self.label_6.setObjectName("label_6") self.horizontalLayout.addWidget(self.label_6) self.downloadDirPicker = EricPathPicker(parent=self.groupBox_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.downloadDirPicker.sizePolicy().hasHeightForWidth()) self.downloadDirPicker.setSizePolicy(sizePolicy) self.downloadDirPicker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus) self.downloadDirPicker.setObjectName("downloadDirPicker") self.horizontalLayout.addWidget(self.downloadDirPicker) self.verticalLayout_6.addLayout(self.horizontalLayout) self.requestFilenameCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_2) self.requestFilenameCheckBox.setObjectName("requestFilenameCheckBox") self.verticalLayout_6.addWidget(self.requestFilenameCheckBox) self.cleanupGroup = QtWidgets.QGroupBox(parent=self.groupBox_2) self.cleanupGroup.setObjectName("cleanupGroup") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.cleanupGroup) self.verticalLayout_2.setObjectName("verticalLayout_2") self.cleanupNeverButton = QtWidgets.QRadioButton(parent=self.cleanupGroup) self.cleanupNeverButton.setObjectName("cleanupNeverButton") self.verticalLayout_2.addWidget(self.cleanupNeverButton) self.cleanupExitButton = QtWidgets.QRadioButton(parent=self.cleanupGroup) self.cleanupExitButton.setObjectName("cleanupExitButton") self.verticalLayout_2.addWidget(self.cleanupExitButton) self.cleanupSuccessfulButton = QtWidgets.QRadioButton(parent=self.cleanupGroup) self.cleanupSuccessfulButton.setObjectName("cleanupSuccessfulButton") self.verticalLayout_2.addWidget(self.cleanupSuccessfulButton) self.verticalLayout_6.addWidget(self.cleanupGroup) self.displayGroup = QtWidgets.QGroupBox(parent=self.groupBox_2) self.displayGroup.setObjectName("displayGroup") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.displayGroup) self.verticalLayout_3.setObjectName("verticalLayout_3") self.openOnStartCheckBox = QtWidgets.QCheckBox(parent=self.displayGroup) self.openOnStartCheckBox.setObjectName("openOnStartCheckBox") self.verticalLayout_3.addWidget(self.openOnStartCheckBox) self.closeOnFinishedCheckBox = QtWidgets.QCheckBox(parent=self.displayGroup) self.closeOnFinishedCheckBox.setObjectName("closeOnFinishedCheckBox") self.verticalLayout_3.addWidget(self.closeOnFinishedCheckBox) self.verticalLayout_6.addWidget(self.displayGroup) self.verticalLayout_7.addWidget(self.groupBox_2) self.proxyGroup = QtWidgets.QGroupBox(parent=NetworkPage) self.proxyGroup.setCheckable(False) self.proxyGroup.setChecked(False) self.proxyGroup.setObjectName("proxyGroup") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.proxyGroup) self.verticalLayout_4.setObjectName("verticalLayout_4") self.noProxyButton = QtWidgets.QRadioButton(parent=self.proxyGroup) self.noProxyButton.setChecked(True) self.noProxyButton.setObjectName("noProxyButton") self.verticalLayout_4.addWidget(self.noProxyButton) self.systemProxyButton = QtWidgets.QRadioButton(parent=self.proxyGroup) self.systemProxyButton.setObjectName("systemProxyButton") self.verticalLayout_4.addWidget(self.systemProxyButton) self.manualProxyButton = QtWidgets.QRadioButton(parent=self.proxyGroup) self.manualProxyButton.setChecked(False) self.manualProxyButton.setObjectName("manualProxyButton") self.verticalLayout_4.addWidget(self.manualProxyButton) self.groupBox = QtWidgets.QGroupBox(parent=self.proxyGroup) self.groupBox.setEnabled(False) self.groupBox.setFlat(False) self.groupBox.setObjectName("groupBox") self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout.setObjectName("verticalLayout") self.groupBox_6 = QtWidgets.QGroupBox(parent=self.groupBox) self.groupBox_6.setObjectName("groupBox_6") self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_6) self.gridLayout_2.setObjectName("gridLayout_2") self.label_13 = QtWidgets.QLabel(parent=self.groupBox_6) self.label_13.setObjectName("label_13") self.gridLayout_2.addWidget(self.label_13, 0, 0, 1, 1) self.httpProxyHostEdit = QtWidgets.QLineEdit(parent=self.groupBox_6) self.httpProxyHostEdit.setObjectName("httpProxyHostEdit") self.gridLayout_2.addWidget(self.httpProxyHostEdit, 0, 1, 1, 1) self.label_2 = QtWidgets.QLabel(parent=self.groupBox_6) self.label_2.setObjectName("label_2") self.gridLayout_2.addWidget(self.label_2, 0, 2, 1, 1) self.httpProxyPortSpin = QtWidgets.QSpinBox(parent=self.groupBox_6) self.httpProxyPortSpin.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight) self.httpProxyPortSpin.setMinimum(1) self.httpProxyPortSpin.setMaximum(65535) self.httpProxyPortSpin.setProperty("value", 80) self.httpProxyPortSpin.setObjectName("httpProxyPortSpin") self.gridLayout_2.addWidget(self.httpProxyPortSpin, 0, 3, 1, 1) self.httpProxyForAllCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_6) self.httpProxyForAllCheckBox.setObjectName("httpProxyForAllCheckBox") self.gridLayout_2.addWidget(self.httpProxyForAllCheckBox, 1, 0, 1, 4) self.verticalLayout.addWidget(self.groupBox_6) self.groupBox_5 = QtWidgets.QGroupBox(parent=self.groupBox) self.groupBox_5.setObjectName("groupBox_5") self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox_5) self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.label_12 = QtWidgets.QLabel(parent=self.groupBox_5) self.label_12.setObjectName("label_12") self.horizontalLayout_2.addWidget(self.label_12) self.httpsProxyHostEdit = QtWidgets.QLineEdit(parent=self.groupBox_5) self.httpsProxyHostEdit.setObjectName("httpsProxyHostEdit") self.horizontalLayout_2.addWidget(self.httpsProxyHostEdit) self.label_5 = QtWidgets.QLabel(parent=self.groupBox_5) self.label_5.setObjectName("label_5") self.horizontalLayout_2.addWidget(self.label_5) self.httpsProxyPortSpin = QtWidgets.QSpinBox(parent=self.groupBox_5) self.httpsProxyPortSpin.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight) self.httpsProxyPortSpin.setMinimum(1) self.httpsProxyPortSpin.setMaximum(65535) self.httpsProxyPortSpin.setProperty("value", 443) self.httpsProxyPortSpin.setObjectName("httpsProxyPortSpin") self.horizontalLayout_2.addWidget(self.httpsProxyPortSpin) self.verticalLayout.addWidget(self.groupBox_5) self.groupBox_4 = QtWidgets.QGroupBox(parent=self.groupBox) self.groupBox_4.setObjectName("groupBox_4") self.gridLayout = QtWidgets.QGridLayout(self.groupBox_4) self.gridLayout.setObjectName("gridLayout") self.label_8 = QtWidgets.QLabel(parent=self.groupBox_4) self.label_8.setObjectName("label_8") self.gridLayout.addWidget(self.label_8, 0, 0, 1, 1) self.ftpProxyTypeCombo = QtWidgets.QComboBox(parent=self.groupBox_4) self.ftpProxyTypeCombo.setObjectName("ftpProxyTypeCombo") self.gridLayout.addWidget(self.ftpProxyTypeCombo, 0, 1, 1, 3) self.label_3 = QtWidgets.QLabel(parent=self.groupBox_4) self.label_3.setObjectName("label_3") self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1) self.ftpProxyHostEdit = QtWidgets.QLineEdit(parent=self.groupBox_4) self.ftpProxyHostEdit.setObjectName("ftpProxyHostEdit") self.gridLayout.addWidget(self.ftpProxyHostEdit, 1, 1, 1, 1) self.label_7 = QtWidgets.QLabel(parent=self.groupBox_4) self.label_7.setObjectName("label_7") self.gridLayout.addWidget(self.label_7, 1, 2, 1, 1) self.ftpProxyPortSpin = QtWidgets.QSpinBox(parent=self.groupBox_4) self.ftpProxyPortSpin.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight) self.ftpProxyPortSpin.setMinimum(1) self.ftpProxyPortSpin.setMaximum(65535) self.ftpProxyPortSpin.setProperty("value", 21) self.ftpProxyPortSpin.setObjectName("ftpProxyPortSpin") self.gridLayout.addWidget(self.ftpProxyPortSpin, 1, 3, 1, 1) self.label_9 = QtWidgets.QLabel(parent=self.groupBox_4) self.label_9.setObjectName("label_9") self.gridLayout.addWidget(self.label_9, 2, 0, 1, 1) self.ftpProxyUserEdit = QtWidgets.QLineEdit(parent=self.groupBox_4) self.ftpProxyUserEdit.setObjectName("ftpProxyUserEdit") self.gridLayout.addWidget(self.ftpProxyUserEdit, 2, 1, 1, 3) self.label_10 = QtWidgets.QLabel(parent=self.groupBox_4) self.label_10.setObjectName("label_10") self.gridLayout.addWidget(self.label_10, 3, 0, 1, 1) self.ftpProxyPasswordEdit = QtWidgets.QLineEdit(parent=self.groupBox_4) self.ftpProxyPasswordEdit.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password) self.ftpProxyPasswordEdit.setObjectName("ftpProxyPasswordEdit") self.gridLayout.addWidget(self.ftpProxyPasswordEdit, 3, 1, 1, 3) self.label_11 = QtWidgets.QLabel(parent=self.groupBox_4) self.label_11.setObjectName("label_11") self.gridLayout.addWidget(self.label_11, 4, 0, 1, 1) self.ftpProxyAccountEdit = QtWidgets.QLineEdit(parent=self.groupBox_4) self.ftpProxyAccountEdit.setObjectName("ftpProxyAccountEdit") self.gridLayout.addWidget(self.ftpProxyAccountEdit, 4, 1, 1, 3) self.verticalLayout.addWidget(self.groupBox_4) self.verticalLayout_4.addWidget(self.groupBox) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label = QtWidgets.QLabel(parent=self.proxyGroup) self.label.setObjectName("label") self.horizontalLayout_3.addWidget(self.label) self.exceptionsEdit = QtWidgets.QLineEdit(parent=self.proxyGroup) self.exceptionsEdit.setObjectName("exceptionsEdit") self.horizontalLayout_3.addWidget(self.exceptionsEdit) self.verticalLayout_4.addLayout(self.horizontalLayout_3) self.clearProxyPasswordsButton = QtWidgets.QPushButton(parent=self.proxyGroup) self.clearProxyPasswordsButton.setObjectName("clearProxyPasswordsButton") self.verticalLayout_4.addWidget(self.clearProxyPasswordsButton) self.verticalLayout_7.addWidget(self.proxyGroup) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) self.verticalLayout_7.addItem(spacerItem) self.retranslateUi(NetworkPage) self.manualProxyButton.toggled['bool'].connect(self.groupBox.setEnabled) # type: ignore self.httpProxyForAllCheckBox.toggled['bool'].connect(self.groupBox_5.setDisabled) # type: ignore self.httpProxyForAllCheckBox.toggled['bool'].connect(self.groupBox_4.setDisabled) # type: ignore QtCore.QMetaObject.connectSlotsByName(NetworkPage) NetworkPage.setTabOrder(self.dynamicOnlineCheckBox, self.downloadDirPicker) NetworkPage.setTabOrder(self.downloadDirPicker, self.requestFilenameCheckBox) NetworkPage.setTabOrder(self.requestFilenameCheckBox, self.cleanupNeverButton) NetworkPage.setTabOrder(self.cleanupNeverButton, self.cleanupExitButton) NetworkPage.setTabOrder(self.cleanupExitButton, self.cleanupSuccessfulButton) NetworkPage.setTabOrder(self.cleanupSuccessfulButton, self.openOnStartCheckBox) NetworkPage.setTabOrder(self.openOnStartCheckBox, self.closeOnFinishedCheckBox) NetworkPage.setTabOrder(self.closeOnFinishedCheckBox, self.noProxyButton) NetworkPage.setTabOrder(self.noProxyButton, self.systemProxyButton) NetworkPage.setTabOrder(self.systemProxyButton, self.manualProxyButton) NetworkPage.setTabOrder(self.manualProxyButton, self.httpProxyHostEdit) NetworkPage.setTabOrder(self.httpProxyHostEdit, self.httpProxyPortSpin) NetworkPage.setTabOrder(self.httpProxyPortSpin, self.httpProxyForAllCheckBox) NetworkPage.setTabOrder(self.httpProxyForAllCheckBox, self.httpsProxyHostEdit) NetworkPage.setTabOrder(self.httpsProxyHostEdit, self.httpsProxyPortSpin) NetworkPage.setTabOrder(self.httpsProxyPortSpin, self.ftpProxyTypeCombo) NetworkPage.setTabOrder(self.ftpProxyTypeCombo, self.ftpProxyHostEdit) NetworkPage.setTabOrder(self.ftpProxyHostEdit, self.ftpProxyPortSpin) NetworkPage.setTabOrder(self.ftpProxyPortSpin, self.ftpProxyUserEdit) NetworkPage.setTabOrder(self.ftpProxyUserEdit, self.ftpProxyPasswordEdit) NetworkPage.setTabOrder(self.ftpProxyPasswordEdit, self.ftpProxyAccountEdit) NetworkPage.setTabOrder(self.ftpProxyAccountEdit, self.exceptionsEdit) NetworkPage.setTabOrder(self.exceptionsEdit, self.clearProxyPasswordsButton) def retranslateUi(self, NetworkPage): _translate = QtCore.QCoreApplication.translate self.headerLabel.setText(_translate("NetworkPage", "<b>Configure Network</b>")) self.groupBox_3.setTitle(_translate("NetworkPage", "Reachability Status")) self.dynamicOnlineCheckBox.setToolTip(_translate("NetworkPage", "Select to determine the Internet reachability status dynamically (assume Internet reachability if unchecked)")) self.dynamicOnlineCheckBox.setText(_translate("NetworkPage", "Dynamic Reachability Status Determination")) self.groupBox_2.setTitle(_translate("NetworkPage", "Downloads")) self.label_6.setText(_translate("NetworkPage", "Download directory:")) self.downloadDirPicker.setToolTip(_translate("NetworkPage", "Enter the download directory (leave empty to use the default location)")) self.requestFilenameCheckBox.setToolTip(_translate("NetworkPage", "Select to ask the user for a download filename")) self.requestFilenameCheckBox.setText(_translate("NetworkPage", "Request name of downloaded file")) self.cleanupGroup.setTitle(_translate("NetworkPage", "Download Manager Cleanup Policy")) self.cleanupNeverButton.setToolTip(_translate("NetworkPage", "Select to never cleanup automatically")) self.cleanupNeverButton.setText(_translate("NetworkPage", "Never")) self.cleanupExitButton.setToolTip(_translate("NetworkPage", "Select to cleanup upon exiting")) self.cleanupExitButton.setText(_translate("NetworkPage", "When exiting the application")) self.cleanupSuccessfulButton.setToolTip(_translate("NetworkPage", "Select to cleanup after a successful download")) self.cleanupSuccessfulButton.setText(_translate("NetworkPage", "When download finished successfully")) self.displayGroup.setTitle(_translate("NetworkPage", "Download Manager Display Policy")) self.openOnStartCheckBox.setToolTip(_translate("NetworkPage", "Select to open the download manager dialog when starting a download")) self.openOnStartCheckBox.setText(_translate("NetworkPage", "Open when starting download")) self.closeOnFinishedCheckBox.setToolTip(_translate("NetworkPage", "Select to close the download manager dialog when the last download is finished")) self.closeOnFinishedCheckBox.setText(_translate("NetworkPage", "Close when downloads finished")) self.proxyGroup.setToolTip(_translate("NetworkPage", "Select to use a web proxy")) self.proxyGroup.setTitle(_translate("NetworkPage", "Network Proxy")) self.noProxyButton.setToolTip(_translate("NetworkPage", "Select to not use a network proxy")) self.noProxyButton.setText(_translate("NetworkPage", "Do not use proxy")) self.systemProxyButton.setToolTip(_translate("NetworkPage", "Select to use the system proxy configuration")) self.systemProxyButton.setText(_translate("NetworkPage", "Use system proxy configuration")) self.manualProxyButton.setToolTip(_translate("NetworkPage", "Select to use an application specific proxy configuration")) self.manualProxyButton.setText(_translate("NetworkPage", "Manual proxy configuration:")) self.groupBox.setTitle(_translate("NetworkPage", "Manual proxy settings")) self.groupBox_6.setTitle(_translate("NetworkPage", "HTTP-Proxy")) self.label_13.setText(_translate("NetworkPage", "Hostname:")) self.httpProxyHostEdit.setToolTip(_translate("NetworkPage", "Enter the name of the HTTP proxy host")) self.label_2.setText(_translate("NetworkPage", "Port:")) self.httpProxyPortSpin.setToolTip(_translate("NetworkPage", "Enter the HTTP proxy port")) self.httpProxyForAllCheckBox.setToolTip(_translate("NetworkPage", "Select to use the HTTP proxy for all")) self.httpProxyForAllCheckBox.setText(_translate("NetworkPage", "Use this proxy for all protocols")) self.groupBox_5.setTitle(_translate("NetworkPage", "HTTPS-Proxy")) self.label_12.setText(_translate("NetworkPage", "Hostname:")) self.httpsProxyHostEdit.setToolTip(_translate("NetworkPage", "Enter the name of the HTTPS proxy host")) self.label_5.setText(_translate("NetworkPage", "Port:")) self.httpsProxyPortSpin.setToolTip(_translate("NetworkPage", "Enter the HTTPS proxy port")) self.groupBox_4.setTitle(_translate("NetworkPage", "FTP-Proxy")) self.label_8.setText(_translate("NetworkPage", "Proxy Type:")) self.ftpProxyTypeCombo.setToolTip(_translate("NetworkPage", "Select the type of the FTP proxy")) self.label_3.setText(_translate("NetworkPage", "Hostname:")) self.ftpProxyHostEdit.setToolTip(_translate("NetworkPage", "Enter the name of the FTP proxy host")) self.label_7.setText(_translate("NetworkPage", "Port:")) self.ftpProxyPortSpin.setToolTip(_translate("NetworkPage", "Enter the FTP proxy port")) self.label_9.setText(_translate("NetworkPage", "User Name:")) self.ftpProxyUserEdit.setToolTip(_translate("NetworkPage", "Enter the user name for the proxy authentication")) self.label_10.setText(_translate("NetworkPage", "Password:")) self.ftpProxyPasswordEdit.setToolTip(_translate("NetworkPage", "Enter the password for the proxy authentication")) self.label_11.setText(_translate("NetworkPage", "Account:")) self.ftpProxyAccountEdit.setToolTip(_translate("NetworkPage", "Enter the account info for the proxy authentication")) self.label.setText(_translate("NetworkPage", "Exceptions:")) self.exceptionsEdit.setToolTip(_translate("NetworkPage", "Enter host names or IP-addresses for which the proxy is to be circumvented separated by \',\' (wildcards * or ? may be used)")) self.clearProxyPasswordsButton.setToolTip(_translate("NetworkPage", "Press to clear the saved passwords for the Http(s) proxy")) self.clearProxyPasswordsButton.setText(_translate("NetworkPage", "Clear HTTP(S) Proxy Passwords")) from eric7.EricWidgets.EricPathPicker import EricPathPicker