123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- # -*- coding: utf-8 -*-
- # Form implementation generated from reading ui file 'settings.ui'
- #
- # Created by: PyQt5 UI code generator 5.5.1
- #
- # WARNING! All changes made in this file will be lost!
- from PyQt5 import QtCore, QtGui, QtWidgets
- class Ui_Settings(object):
- def setupUi(self, Settings):
- Settings.setObjectName("Settings")
- Settings.resize(455, 350)
- Settings.setMinimumSize(QtCore.QSize(455, 350))
- Settings.setMaximumSize(QtCore.QSize(455, 350))
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("resources/icon.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- Settings.setWindowIcon(icon)
- self.verticalLayout = QtWidgets.QVBoxLayout(Settings)
- self.verticalLayout.setObjectName("verticalLayout")
- self.lblWelcomeErrorsHeader = QtWidgets.QLabel(Settings)
- self.lblWelcomeErrorsHeader.setObjectName("lblWelcomeErrorsHeader")
- self.verticalLayout.addWidget(self.lblWelcomeErrorsHeader)
- self.lblWelcomeErrors = QtWidgets.QLabel(Settings)
- self.lblWelcomeErrors.setEnabled(True)
- self.lblWelcomeErrors.setWordWrap(True)
- self.lblWelcomeErrors.setObjectName("lblWelcomeErrors")
- self.verticalLayout.addWidget(self.lblWelcomeErrors)
- spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem)
- self.gbXMLValidation = QtWidgets.QGroupBox(Settings)
- self.gbXMLValidation.setObjectName("gbXMLValidation")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.gbXMLValidation)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.lblXMLValidation = QtWidgets.QLabel(self.gbXMLValidation)
- self.lblXMLValidation.setWordWrap(True)
- self.lblXMLValidation.setObjectName("lblXMLValidation")
- self.verticalLayout_2.addWidget(self.lblXMLValidation)
- self.glXMLValidation = QtWidgets.QGridLayout()
- self.glXMLValidation.setObjectName("glXMLValidation")
- self.lblXMLSchema = QtWidgets.QLabel(self.gbXMLValidation)
- self.lblXMLSchema.setObjectName("lblXMLSchema")
- self.glXMLValidation.addWidget(self.lblXMLSchema, 0, 0, 1, 1)
- self.leXMLSchema = QtWidgets.QLineEdit(self.gbXMLValidation)
- self.leXMLSchema.setReadOnly(True)
- self.leXMLSchema.setObjectName("leXMLSchema")
- self.glXMLValidation.addWidget(self.leXMLSchema, 0, 1, 1, 1)
- self.btnXMLSchemaBrowse = QtWidgets.QPushButton(self.gbXMLValidation)
- self.btnXMLSchemaBrowse.setObjectName("btnXMLSchemaBrowse")
- self.glXMLValidation.addWidget(self.btnXMLSchemaBrowse, 0, 2, 1, 1)
- self.verticalLayout_2.addLayout(self.glXMLValidation)
- self.verticalLayout.addWidget(self.gbXMLValidation)
- self.gbCertificate = QtWidgets.QGroupBox(Settings)
- self.gbCertificate.setObjectName("gbCertificate")
- self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.gbCertificate)
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.lblCertificate = QtWidgets.QLabel(self.gbCertificate)
- self.lblCertificate.setWordWrap(True)
- self.lblCertificate.setObjectName("lblCertificate")
- self.verticalLayout_3.addWidget(self.lblCertificate)
- self.glCertificate = QtWidgets.QGridLayout()
- self.glCertificate.setObjectName("glCertificate")
- self.leCertificate = QtWidgets.QLineEdit(self.gbCertificate)
- self.leCertificate.setReadOnly(True)
- self.leCertificate.setObjectName("leCertificate")
- self.glCertificate.addWidget(self.leCertificate, 0, 1, 1, 1)
- self.lblCertificateFile = QtWidgets.QLabel(self.gbCertificate)
- self.lblCertificateFile.setObjectName("lblCertificateFile")
- self.glCertificate.addWidget(self.lblCertificateFile, 0, 0, 1, 1)
- self.btnCertificateBrowse = QtWidgets.QPushButton(self.gbCertificate)
- self.btnCertificateBrowse.setObjectName("btnCertificateBrowse")
- self.glCertificate.addWidget(self.btnCertificateBrowse, 0, 2, 1, 1)
- self.verticalLayout_3.addLayout(self.glCertificate)
- self.verticalLayout.addWidget(self.gbCertificate)
- spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem1)
- self.hlButtonBox = QtWidgets.QHBoxLayout()
- self.hlButtonBox.setObjectName("hlButtonBox")
- self.btnReset = QtWidgets.QPushButton(Settings)
- self.btnReset.setEnabled(False)
- self.btnReset.setObjectName("btnReset")
- self.hlButtonBox.addWidget(self.btnReset)
- spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.hlButtonBox.addItem(spacerItem2)
- self.btnCancel = QtWidgets.QPushButton(Settings)
- self.btnCancel.setObjectName("btnCancel")
- self.hlButtonBox.addWidget(self.btnCancel)
- self.btnOk = QtWidgets.QPushButton(Settings)
- self.btnOk.setEnabled(False)
- self.btnOk.setObjectName("btnOk")
- self.hlButtonBox.addWidget(self.btnOk)
- self.verticalLayout.addLayout(self.hlButtonBox)
- self.retranslateUi(Settings)
- QtCore.QMetaObject.connectSlotsByName(Settings)
- def retranslateUi(self, Settings):
- _translate = QtCore.QCoreApplication.translate
- Settings.setWindowTitle(_translate("Settings", "Settings"))
- self.lblWelcomeErrorsHeader.setText(_translate("Settings", "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">Welcome to OrdersGuru Signer!</span></p></body></html>"))
- self.lblWelcomeErrors.setText(_translate("Settings", "<html><head/><body><p>In order to use this tool you must provide XML schema for validating files you will sign and certificate with which you\'ll sign XMLs.</p></body></html>"))
- self.gbXMLValidation.setTitle(_translate("Settings", "XML Validation"))
- self.lblXMLValidation.setText(_translate("Settings", "Provide XML schema used for validating all XML documents."))
- self.lblXMLSchema.setText(_translate("Settings", "XML Schema:"))
- self.btnXMLSchemaBrowse.setText(_translate("Settings", "Browse"))
- self.gbCertificate.setTitle(_translate("Settings", "Certificate"))
- self.lblCertificate.setText(_translate("Settings", "Provide certificate in PKCS 12 format, used for signing documents."))
- self.lblCertificateFile.setText(_translate("Settings", "Certificate:"))
- self.btnCertificateBrowse.setText(_translate("Settings", "Browse"))
- self.btnReset.setText(_translate("Settings", "Reset"))
- self.btnCancel.setText(_translate("Settings", "&Cancel"))
- self.btnOk.setText(_translate("Settings", "&OK"))
|