from gettext import gettext as _
# Form implementation generated from reading ui file './zapzap/view/ui/network_page.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_Network(object):
    def setupUi(self, Network):
        Network.setObjectName("Network")
        Network.resize(553, 543)
        Network.setWindowTitle("")
        self.verticalLayout = QtWidgets.QVBoxLayout(Network)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.scrollArea = QtWidgets.QScrollArea(parent=Network)
        self.scrollArea.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 553, 543))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_2.setContentsMargins(-1, -1, -1, 9)
        self.verticalLayout_2.setSpacing(15)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label = QtWidgets.QLabel(parent=self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.verticalLayout_2.addWidget(self.label)
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setVerticalSpacing(0)
        self.formLayout.setObjectName("formLayout")
        self.label_2 = QtWidgets.QLabel(parent=self.scrollAreaWidgetContents)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_2)
        self.proxyCheckBox = QtWidgets.QCheckBox(parent=self.scrollAreaWidgetContents)
        self.proxyCheckBox.setLayoutDirection(QtCore.Qt.LayoutDirection.RightToLeft)
        self.proxyCheckBox.setObjectName("proxyCheckBox")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.ItemRole.FieldRole, self.proxyCheckBox)
        self.label_4 = QtWidgets.QLabel(parent=self.scrollAreaWidgetContents)
        self.label_4.setWordWrap(True)
        self.label_4.setObjectName("label_4")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.ItemRole.SpanningRole, self.label_4)
        self.verticalLayout_2.addLayout(self.formLayout)
        self.line = QtWidgets.QFrame(parent=self.scrollAreaWidgetContents)
        self.line.setFrameShape(QtWidgets.QFrame.Shape.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout_2.addWidget(self.line)
        self.frameProxy = QtWidgets.QFrame(parent=self.scrollAreaWidgetContents)
        self.frameProxy.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
        self.frameProxy.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
        self.frameProxy.setObjectName("frameProxy")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.frameProxy)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.formLayout_3 = QtWidgets.QFormLayout()
        self.formLayout_3.setHorizontalSpacing(6)
        self.formLayout_3.setVerticalSpacing(9)
        self.formLayout_3.setObjectName("formLayout_3")
        self.setHostName = QtWidgets.QLineEdit(parent=self.frameProxy)
        self.setHostName.setObjectName("setHostName")
        self.formLayout_3.setWidget(2, QtWidgets.QFormLayout.ItemRole.FieldRole, self.setHostName)
        self.portLabel = QtWidgets.QLabel(parent=self.frameProxy)
        self.portLabel.setObjectName("portLabel")
        self.formLayout_3.setWidget(3, QtWidgets.QFormLayout.ItemRole.LabelRole, self.portLabel)
        self.setPort = QtWidgets.QLineEdit(parent=self.frameProxy)
        self.setPort.setObjectName("setPort")
        self.formLayout_3.setWidget(3, QtWidgets.QFormLayout.ItemRole.FieldRole, self.setPort)
        self.userLabel = QtWidgets.QLabel(parent=self.frameProxy)
        self.userLabel.setObjectName("userLabel")
        self.formLayout_3.setWidget(4, QtWidgets.QFormLayout.ItemRole.LabelRole, self.userLabel)
        self.setUser = QtWidgets.QLineEdit(parent=self.frameProxy)
        self.setUser.setObjectName("setUser")
        self.formLayout_3.setWidget(4, QtWidgets.QFormLayout.ItemRole.FieldRole, self.setUser)
        self.passwordLabel = QtWidgets.QLabel(parent=self.frameProxy)
        self.passwordLabel.setObjectName("passwordLabel")
        self.formLayout_3.setWidget(5, QtWidgets.QFormLayout.ItemRole.LabelRole, self.passwordLabel)
        self.setPassword = QtWidgets.QLineEdit(parent=self.frameProxy)
        self.setPassword.setObjectName("setPassword")
        self.formLayout_3.setWidget(5, QtWidgets.QFormLayout.ItemRole.FieldRole, self.setPassword)
        self.hostNameLabel = QtWidgets.QLabel(parent=self.frameProxy)
        self.hostNameLabel.setObjectName("hostNameLabel")
        self.formLayout_3.setWidget(2, QtWidgets.QFormLayout.ItemRole.LabelRole, self.hostNameLabel)
        self.label_3 = QtWidgets.QLabel(parent=self.frameProxy)
        self.label_3.setObjectName("label_3")
        self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_3)
        self.proxyComboBox = QtWidgets.QComboBox(parent=self.frameProxy)
        self.proxyComboBox.setObjectName("proxyComboBox")
        self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.ItemRole.FieldRole, self.proxyComboBox)
        self.proxyDescription = QtWidgets.QLabel(parent=self.frameProxy)
        self.proxyDescription.setMinimumSize(QtCore.QSize(0, 0))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.proxyDescription.setFont(font)
        self.proxyDescription.setWordWrap(True)
        self.proxyDescription.setObjectName("proxyDescription")
        self.formLayout_3.setWidget(1, QtWidgets.QFormLayout.ItemRole.FieldRole, self.proxyDescription)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setContentsMargins(-1, -1, -1, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.btn_ok = QtWidgets.QPushButton(parent=self.frameProxy)
        self.btn_ok.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
        self.btn_ok.setObjectName("btn_ok")
        self.horizontalLayout.addWidget(self.btn_ok)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.btn_restore = QtWidgets.QPushButton(parent=self.frameProxy)
        self.btn_restore.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
        self.btn_restore.setObjectName("btn_restore")
        self.horizontalLayout.addWidget(self.btn_restore)
        self.formLayout_3.setLayout(6, QtWidgets.QFormLayout.ItemRole.SpanningRole, self.horizontalLayout)
        self.verticalLayout_3.addLayout(self.formLayout_3)
        self.verticalLayout_2.addWidget(self.frameProxy)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout_2.addItem(spacerItem1)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout.addWidget(self.scrollArea)

        self.retranslateUi(Network)
        QtCore.QMetaObject.connectSlotsByName(Network)

    def retranslateUi(self, Network):
        
        self.label.setText(_("Network"))
        self.label_2.setText(_("Network proxy"))
        self.proxyCheckBox.setText(_("Off"))
        self.label_4.setText(_("Learn exactly what you are doing, because I am not responsible for any connectivity failures."))
        self.portLabel.setText(_("Port"))
        self.userLabel.setText(_("User"))
        self.passwordLabel.setText(_("Password"))
        self.hostNameLabel.setText(_("Hostname"))
        self.label_3.setText(_("ProxyType"))
        self.proxyDescription.setText(_("Description"))
        self.btn_ok.setText(_("Apply"))
        self.btn_restore.setText(_("Restore"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    Network = QtWidgets.QWidget()
    ui = Ui_Network()
    ui.setupUi(Network)
    Network.show()
    sys.exit(app.exec())
