Source code for cgdat.qt_ui.about_ui

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

# Form implementation generated from reading ui file 'c:\users\ricks\onedrive\development\tools\cgdat\cgdat\..\qt\about.ui'
#
# Created by: PyQt5 UI code generator 5.11.3
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

[docs]class Ui_About(object):
[docs] def setupUi(self, About): About.setObjectName("About") About.resize(334, 288) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(About.sizePolicy().hasHeightForWidth()) About.setSizePolicy(sizePolicy) self.verticalLayout_4 = QtWidgets.QVBoxLayout(About) self.verticalLayout_4.setObjectName("verticalLayout_4") self.label = QtWidgets.QLabel(About) font = QtGui.QFont() font.setPointSize(10) self.label.setFont(font) self.label.setStyleSheet("QLabel{background-color: white;padding: 5px 10px 15px 10px;}\n" "QFrame{border: 1px solid rgb(179, 179, 179);border-radius: 3px;}\n" "") self.label.setFrameShape(QtWidgets.QFrame.StyledPanel) self.label.setFrameShadow(QtWidgets.QFrame.Plain) self.label.setLineWidth(1) self.label.setObjectName("label") self.verticalLayout_4.addWidget(self.label) self.retranslateUi(About) QtCore.QMetaObject.connectSlotsByName(About)
[docs] def retranslateUi(self, About): _translate = QtCore.QCoreApplication.translate About.setWindowTitle(_translate("About", "Dialog")) self.label.setText(_translate("About", "<html><head/><body><p><span style=\" font-size:10pt; text-decoration: underline;\">Description:</span></p><p><span style=\" font-size:10pt;\">This tool was created to aid in a more streamlined<br/>game data analysation process. For questions or <br/>suggestions mail </span><a href=\"mail:wbosman@fittestbody.nl\"><span style=\" font-size:10pt; text-decoration: underline; color:#0000ff;\">wbosman@fittestbody.nl</span></a><span style=\" font-size:10pt;\">.</span></p><p><span style=\" font-size:10pt;\"><br/></span><span style=\" font-size:10pt; text-decoration: underline;\">Other info:</span></p><p><span style=\" font-size:10pt; font-weight:600;\">Repository: </span><a href=\"https://github.com/rickstaa/CGDAT\"><span style=\" font-size:10pt; text-decoration: underline; color:#0000ff;\">https://github.com/rickstaa/CGDAT</span></a></p><p><span style=\" font-size:10pt; font-weight:600;\">Create By: </span><a href=\"https://github.com/rickstaa\"><span style=\" font-size:10pt; text-decoration: underline; color:#0000ff;\">Rick Staa</span></a></p><p><span style=\" font-size:10pt; font-weight:600;\">Maintained by: </span><span style=\" font-size:10pt;\">Wesley Bosman<br/></span></p><p><span style=\" font-size:10pt;\">Copyright 2018 </span><span style=\" font-size:10pt; font-weight:600;\">© </span><a href=\"http://www.fittestbody.nl\"><span style=\" font-size:10pt; text-decoration: underline; color:#0000ff;\">fittestbody.nl</span></a></p></body></html>"))
if __name__ == "__main__": import sys app = QtWidgets.QApplication(sys.argv) About = QtWidgets.QDialog() ui = Ui_About() ui.setupUi(About) About.show() sys.exit(app.exec_())