Source code for sas.qtgui.MainWindow.UI.AboutUI

# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '.\src\sas\qtgui\MainWindow\UI\AboutUI.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


[docs]class Ui_AboutUI(object):
[docs] def setupUi(self, AboutUI): AboutUI.setObjectName("AboutUI") AboutUI.resize(632, 576) self.gridLayout_3 = QtWidgets.QGridLayout(AboutUI) self.gridLayout_3.setObjectName("gridLayout_3") self.label = QtWidgets.QLabel(AboutUI) self.label.setText("") self.label.setPixmap(QtGui.QPixmap(":/about/angles_flat.png")) self.label.setObjectName("label") self.gridLayout_3.addWidget(self.label, 0, 0, 2, 1) self.label_2 = QtWidgets.QLabel(AboutUI) self.label_2.setObjectName("label_2") self.gridLayout_3.addWidget(self.label_2, 0, 1, 1, 1) self.lblVersion = QtWidgets.QLabel(AboutUI) self.lblVersion.setObjectName("lblVersion") self.gridLayout_3.addWidget(self.lblVersion, 0, 2, 1, 2) self.lblAbout = QtWidgets.QLabel(AboutUI) self.lblAbout.setObjectName("lblAbout") self.gridLayout_3.addWidget(self.lblAbout, 1, 1, 1, 1) self.line = QtWidgets.QFrame(AboutUI) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.line.sizePolicy().hasHeightForWidth()) self.line.setSizePolicy(sizePolicy) self.line.setFrameShape(QtWidgets.QFrame.HLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.gridLayout_3.addWidget(self.line, 2, 0, 1, 4) self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") self.cmdLinkUT = QtWidgets.QPushButton(AboutUI) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmdLinkUT.sizePolicy().hasHeightForWidth()) self.cmdLinkUT.setSizePolicy(sizePolicy) self.cmdLinkUT.setText("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/about/utlogo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.cmdLinkUT.setIcon(icon) self.cmdLinkUT.setIconSize(QtCore.QSize(48, 48)) self.cmdLinkUT.setObjectName("cmdLinkUT") self.gridLayout_2.addWidget(self.cmdLinkUT, 0, 0, 1, 1) self.cmdLinkUMD = QtWidgets.QPushButton(AboutUI) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmdLinkUMD.sizePolicy().hasHeightForWidth()) self.cmdLinkUMD.setSizePolicy(sizePolicy) self.cmdLinkUMD.setText("") icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(":/about/umd_logo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.cmdLinkUMD.setIcon(icon1) self.cmdLinkUMD.setIconSize(QtCore.QSize(48, 48)) self.cmdLinkUMD.setObjectName("cmdLinkUMD") self.gridLayout_2.addWidget(self.cmdLinkUMD, 0, 1, 1, 1) self.cmdLinkNIST = QtWidgets.QPushButton(AboutUI) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmdLinkNIST.sizePolicy().hasHeightForWidth()) self.cmdLinkNIST.setSizePolicy(sizePolicy) self.cmdLinkNIST.setText("") icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(":/about/nist_logo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.cmdLinkNIST.setIcon(icon2) self.cmdLinkNIST.setIconSize(QtCore.QSize(110, 48)) self.cmdLinkNIST.setObjectName("cmdLinkNIST") self.gridLayout_2.addWidget(self.cmdLinkNIST, 0, 2, 1, 1) self.cmdLinkESS = QtWidgets.QPushButton(AboutUI) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmdLinkESS.sizePolicy().hasHeightForWidth()) self.cmdLinkESS.setSizePolicy(sizePolicy) self.cmdLinkESS.setText("") icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(":/about/ess_logo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.cmdLinkESS.setIcon(icon3) self.cmdLinkESS.setIconSize(QtCore.QSize(48, 48)) self.cmdLinkESS.setObjectName("cmdLinkESS") self.gridLayout_2.addWidget(self.cmdLinkESS, 0, 3, 1, 1) self.cmdLinkISIS = QtWidgets.QPushButton(AboutUI) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmdLinkISIS.sizePolicy().hasHeightForWidth()) self.cmdLinkISIS.setSizePolicy(sizePolicy) self.cmdLinkISIS.setText("") icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap(":/about/isis_logo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.cmdLinkISIS.setIcon(icon4) self.cmdLinkISIS.setIconSize(QtCore.QSize(128, 48)) self.cmdLinkISIS.setObjectName("cmdLinkISIS") self.gridLayout_2.addWidget(self.cmdLinkISIS, 0, 4, 1, 1) self.cmdLinkDELFT = QtWidgets.QPushButton(AboutUI) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmdLinkDELFT.sizePolicy().hasHeightForWidth()) self.cmdLinkDELFT.setSizePolicy(sizePolicy) self.cmdLinkDELFT.setText("") icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap(":/about/tudelft_logo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.cmdLinkDELFT.setIcon(icon5) self.cmdLinkDELFT.setIconSize(QtCore.QSize(128, 48)) self.cmdLinkDELFT.setObjectName("cmdLinkDELFT") self.gridLayout_2.addWidget(self.cmdLinkDELFT, 0, 5, 1, 1) self.gridLayout_3.addLayout(self.gridLayout_2, 4, 0, 1, 4) self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.cmdLinkILL = QtWidgets.QPushButton(AboutUI) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmdLinkILL.sizePolicy().hasHeightForWidth()) self.cmdLinkILL.setSizePolicy(sizePolicy) self.cmdLinkILL.setText("") icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap(":/about/ill_logo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.cmdLinkILL.setIcon(icon6) self.cmdLinkILL.setIconSize(QtCore.QSize(54, 50)) self.cmdLinkILL.setObjectName("cmdLinkILL") self.gridLayout.addWidget(self.cmdLinkILL, 0, 0, 1, 1) self.cmdLinkANSTO = QtWidgets.QPushButton(AboutUI) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmdLinkANSTO.sizePolicy().hasHeightForWidth()) self.cmdLinkANSTO.setSizePolicy(sizePolicy) self.cmdLinkANSTO.setText("") icon7 = QtGui.QIcon() icon7.addPixmap(QtGui.QPixmap(":/about/ansto_logo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.cmdLinkANSTO.setIcon(icon7) self.cmdLinkANSTO.setIconSize(QtCore.QSize(116, 50)) self.cmdLinkANSTO.setObjectName("cmdLinkANSTO") self.gridLayout.addWidget(self.cmdLinkANSTO, 0, 1, 1, 1) self.cmdLinkDIAMOND = QtWidgets.QPushButton(AboutUI) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmdLinkDIAMOND.sizePolicy().hasHeightForWidth()) self.cmdLinkDIAMOND.setSizePolicy(sizePolicy) self.cmdLinkDIAMOND.setText("") icon8 = QtGui.QIcon() icon8.addPixmap(QtGui.QPixmap(":/about/dls_logo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.cmdLinkDIAMOND.setIcon(icon8) self.cmdLinkDIAMOND.setIconSize(QtCore.QSize(177, 50)) self.cmdLinkDIAMOND.setObjectName("cmdLinkDIAMOND") self.gridLayout.addWidget(self.cmdLinkDIAMOND, 0, 2, 1, 1) self.cmdLinkBAM = QtWidgets.QPushButton(AboutUI) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmdLinkBAM.sizePolicy().hasHeightForWidth()) self.cmdLinkBAM.setSizePolicy(sizePolicy) self.cmdLinkBAM.setText("") icon9 = QtGui.QIcon() icon9.addPixmap(QtGui.QPixmap(":/about/bam_logo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.cmdLinkBAM.setIcon(icon9) self.cmdLinkBAM.setIconSize(QtCore.QSize(66, 48)) self.cmdLinkBAM.setObjectName("cmdLinkBAM") self.gridLayout.addWidget(self.cmdLinkBAM, 0, 3, 1, 1) self.cmdLinkSNS = QtWidgets.QPushButton(AboutUI) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmdLinkSNS.sizePolicy().hasHeightForWidth()) self.cmdLinkSNS.setSizePolicy(sizePolicy) self.cmdLinkSNS.setText("") icon10 = QtGui.QIcon() icon10.addPixmap(QtGui.QPixmap(":/about/ornl_logo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.cmdLinkSNS.setIcon(icon10) self.cmdLinkSNS.setIconSize(QtCore.QSize(96, 50)) self.cmdLinkSNS.setObjectName("cmdLinkSNS") self.gridLayout.addWidget(self.cmdLinkSNS, 0, 4, 1, 1) self.gridLayout_3.addLayout(self.gridLayout, 5, 0, 1, 4) spacerItem = QtWidgets.QSpacerItem(593, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem, 6, 0, 1, 3) self.cmdOK = QtWidgets.QPushButton(AboutUI) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmdOK.sizePolicy().hasHeightForWidth()) self.cmdOK.setSizePolicy(sizePolicy) self.cmdOK.setObjectName("cmdOK") self.gridLayout_3.addWidget(self.cmdOK, 6, 3, 1, 1) self.lblText = QtWidgets.QLabel(AboutUI) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblText.sizePolicy().hasHeightForWidth()) self.lblText.setSizePolicy(sizePolicy) self.lblText.setWordWrap(True) self.lblText.setObjectName("lblText") self.gridLayout_3.addWidget(self.lblText, 3, 0, 1, 4) self.retranslateUi(AboutUI) QtCore.QMetaObject.connectSlotsByName(AboutUI)
[docs] def retranslateUi(self, AboutUI): _translate = QtCore.QCoreApplication.translate AboutUI.setWindowTitle(_translate("AboutUI", "Form")) self.label_2.setText(_translate("AboutUI", "<html><head/><body><p><span style=\" font-size:36pt;\">SasView</span></p></body></html>")) self.lblVersion.setText(_translate("AboutUI", "<html><head/><body><p><span style=\" font-size:28pt;\">TextLabel</span></p></body></html>")) self.lblAbout.setText(_translate("AboutUI", "TextLabel")) self.cmdOK.setText(_translate("AboutUI", "OK")) self.lblText.setText(_translate("AboutUI", "<html><head/><body><p>This work originally developed as part of the DANSE project funded by the NSF under grant DMR-0520547, and currently maintained by UTK, NIST, UMD, ORNL, ISIS, ESS, ILL, ANSTO, TU Delft, DLS, and the scattering community.</p><p>SasView also contains code developed with funding from the EU Horizon 2020 programme under the SINE2020 project (Grant No 654000).</p><p>A list of individual contributors can be found at: http://www.sasview.org/contact.html</p><p><br/></p></body></html>"))