-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.py
More file actions
54 lines (46 loc) · 4.99 KB
/
about.py
File metadata and controls
54 lines (46 loc) · 4.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# -*- coding: utf-8 -*-
"""
Bifrost About Dialog UI Definition
This file defines the About dialog UI for the Bifrost application.
Originally generated from a Qt Designer .ui file, now maintained manually.
"""
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(435, 269)
self.AboutContent = QtWidgets.QTextBrowser(Dialog)
self.AboutContent.setGeometry(QtCore.QRect(5, 10, 421, 251))
self.AboutContent.setStyleSheet("background-color:rgba(255, 255, 255,0)")
self.AboutContent.setFrameShape(QtWidgets.QFrame.NoFrame)
self.AboutContent.setOpenExternalLinks(True)
self.AboutContent.setObjectName("AboutContent")
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "About Bifrost"))
self.AboutContent.setHtml(_translate("Dialog", "<!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:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:16pt; font-weight:600; text-decoration: underline;\">Bifrost</span></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:12pt;\">RepRap Firmware Control Interface for ThorRR</span></p>\n"
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt;\"><br /></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt;\">Developed by </span><a href=\"https://github.com/otherworld-dev\"><span style=\" font-size:10pt; text-decoration: underline; color:#0000ff;\">Adam Morgan</span></a></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a href=\"https://github.com/otherworld-dev/Bifr-st\"><span style=\" font-size:10pt; text-decoration: underline; color:#0000ff;\">github.com/otherworld-dev/Bifr-st</span></a></p>\n"
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;\"><br /></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt;\">Based on Asgard by </span><a href=\"http://www.angel-lm.com\"><span style=\" font-size:10pt; text-decoration: underline; color:#0000ff;\">Ángel L.M.</span></a></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt;\">More info about Thor: </span><a href=\"https://hackaday.io/project/12989-thor\"><span style=\" font-size:10pt; text-decoration: underline; color:#0000ff;\">Thor\'s Hackaday Project</span></a></p>\n"
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt; color:#000000;\"><br /></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt;\">Join the Thor community at </span><a href=\"https://groups.google.com/forum/#!forum/thor-opensource-3d-printable-robotic-arm\"><span style=\" font-size:10pt; text-decoration: underline; color:#0000ff;\">Thor\'s community forum</span></a></p>\n"
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;\"><br /></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">Licensed under </span><a href=\"https://creativecommons.org/licenses/by-sa/4.0/\"><span style=\" font-size:8pt; text-decoration: underline; color:#0000ff;\">Creative Commons Attribution-ShareAlike 4.0 International License</span></a></p></body></html>"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
Dialog = QtWidgets.QDialog()
ui = Ui_Dialog()
ui.setupUi(Dialog)
Dialog.show()
sys.exit(app.exec_())