Source code for mdt.gui.model_fit.design.ui_about_dialog

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

# Form implementation generated from reading ui file 'about_dialog.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

[docs]class Ui_AboutDialog(object):
[docs] def setupUi(self, AboutDialog): AboutDialog.setObjectName("AboutDialog") AboutDialog.resize(594, 379) self.verticalLayout = QtWidgets.QVBoxLayout(AboutDialog) self.verticalLayout.setContentsMargins(6, 6, 6, 6) self.verticalLayout.setSpacing(3) self.verticalLayout.setObjectName("verticalLayout") self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setSpacing(0) self.horizontalLayout.setObjectName("horizontalLayout") self.verticalLayout_2 = QtWidgets.QVBoxLayout() self.verticalLayout_2.setContentsMargins(-1, -1, 16, -1) self.verticalLayout_2.setSpacing(0) self.verticalLayout_2.setObjectName("verticalLayout_2") self.label_2 = QtWidgets.QLabel(AboutDialog) self.label_2.setText("") self.label_2.setPixmap(QtGui.QPixmap(":/main_gui/logo")) self.label_2.setObjectName("label_2") self.verticalLayout_2.addWidget(self.label_2) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem) self.horizontalLayout.addLayout(self.verticalLayout_2) self.verticalLayout_3 = QtWidgets.QVBoxLayout() self.verticalLayout_3.setObjectName("verticalLayout_3") self.label = QtWidgets.QLabel(AboutDialog) font = QtGui.QFont() font.setPointSize(14) font.setBold(True) font.setWeight(75) self.label.setFont(font) self.label.setObjectName("label") self.verticalLayout_3.addWidget(self.label) self.label_3 = QtWidgets.QLabel(AboutDialog) font = QtGui.QFont() font.setPointSize(12) font.setItalic(True) self.label_3.setFont(font) self.label_3.setObjectName("label_3") self.verticalLayout_3.addWidget(self.label_3) self.contentBoxLayout = QtWidgets.QVBoxLayout() self.contentBoxLayout.setContentsMargins(0, 20, -1, -1) self.contentBoxLayout.setObjectName("contentBoxLayout") self.contentLabel = QtWidgets.QLabel(AboutDialog) font = QtGui.QFont() font.setPointSize(11) self.contentLabel.setFont(font) self.contentLabel.setTextFormat(QtCore.Qt.RichText) self.contentLabel.setWordWrap(True) self.contentLabel.setObjectName("contentLabel") self.contentBoxLayout.addWidget(self.contentLabel) self.verticalLayout_3.addLayout(self.contentBoxLayout) spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_3.addItem(spacerItem1) self.horizontalLayout.addLayout(self.verticalLayout_3) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem2) self.verticalLayout.addLayout(self.horizontalLayout) self.buttonBox = QtWidgets.QDialogButtonBox(AboutDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Close) self.buttonBox.setObjectName("buttonBox") self.verticalLayout.addWidget(self.buttonBox) self.retranslateUi(AboutDialog) self.buttonBox.accepted.connect(AboutDialog.accept) self.buttonBox.rejected.connect(AboutDialog.reject) QtCore.QMetaObject.connectSlotsByName(AboutDialog)
[docs] def retranslateUi(self, AboutDialog): _translate = QtCore.QCoreApplication.translate AboutDialog.setWindowTitle(_translate("AboutDialog", "About MDT")) self.label.setText(_translate("AboutDialog", "MDT")) self.label_3.setText(_translate("AboutDialog", "Microstructure Diffusion Toolbox")) self.contentLabel.setText(_translate("AboutDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'Droid Sans\'; font-size:9pt; font-weight:400; font-style:normal;\">\n" "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:11pt;\">Version: {version}</span></p>\n" "<p style=\" margin-top:20px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:11pt;\">The Microstructure Diffusion Toolbox is a model recovery toolbox primarily meant for diffusion MRI analysis.</span></p>\n" "<p style=\" margin-top:20px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:11pt;\">Software development by Robbert Harms, under the (Phd) supervision of Alard Roebroeck, at Maastricht University.</span></p>\n" "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:11pt;\">Contributors:</span></p>\n" "<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;\"><li style=\" font-size:11pt;\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Robbert Harms</li>\n" "<li style=\" font-size:11pt;\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Alard Roebroeck</li>\n" "<li style=\" font-size:11pt;\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Francisco Fritz</li></ul></body></html>"))
from . import main_gui_rc