# -*- coding: utf-8 -*-
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt5 import QtCore, QtWidgets
[docs]
class Ui_AboutQT(object):
[docs]
def setupUi(self, AboutQT):
AboutQT.setObjectName("AboutQT")
self.verticalLayout = QtWidgets.QVBoxLayout(AboutQT)
self.verticalLayout.setObjectName("verticalLayout")
self.textBrowser = QtWidgets.QTextBrowser(AboutQT)
self.textBrowser.setObjectName("textBrowser")
self.verticalLayout.addWidget(self.textBrowser)
self.retranslateUi(AboutQT)
QtCore.QMetaObject.connectSlotsByName(AboutQT)
[docs]
def retranslateUi(self, AboutQT):
_translate = QtCore.QCoreApplication.translate
AboutQT.setWindowTitle(("About Qt"))
self.textBrowser.setHtml(
_translate(
"AboutQT",
"<!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 style=" margin-top:12px; '
"margin-bottom:12px; "
"margin-left:0px; "
"margin-right:0px; "
"-qt-block-indent:0; "
'text-indent:0px;"><span '
'style=" font-size:24pt;">What '
"is PyQt?</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:12pt;">PyQt '
"is a set of Python v2 and v3 "
"bindings for The Qt Company's "
"Qt application framework and "
"runs on all platforms supported "
"by Qt including Windows, OS X, "
"Linux, iOS and Android. PyQt5 "
"supports Qt v5. PyQt4 supports "
"Qt v4 and will build against Qt "
"v5. The bindings are "
"implemented as a set of Python "
"modules and contain over 1,"
"000 classes. </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:24pt;">Why '
"PyQt? </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:12pt;">PyQt '
"brings together the Qt C++ "
"cross-platform application "
"framework and the "
"cross-platform interpreted "
"language Python. </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:12pt;">Qt '
"is more than a GUI toolkit. It "
"includes abstractions of "
"network sockets, threads, "
"Unicode, regular expressions, "
"SQL databases, SVG, OpenGL, "
"XML, a fully functional web "
"browser, a help system, "
"a multimedia framework, as well "
"as a rich collection of GUI "
"widgets. </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:12pt;">Qt '
"classes employ a signal/slot "
"mechanism for communicating "
"between objects that is type "
"safe but loosely coupled making "
"it easy to create re-usable "
"software components. "
"</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:12pt;">Qt '
"also includes Qt Designer, "
"a graphical user interface "
"designer. PyQt is able to "
"generate Python code from Qt "
"Designer. It is also possible "
"to add new GUI controls written "
"in Python to Qt Designer. "
"</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:12pt;">Python is a '
"simple but powerful "
"object-orientated language. Its "
"simplicity makes it easy to "
"learn, but its power means that "
"large and complex applications "
"can be created. Its interpreted "
"nature means that Python "
"programmers are very productive "
"because there is no "
"edit/compile/link/run "
"development cycle. </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:12pt;">Much '
"of Python's power comes from "
"its comprehensive set of "
"extension modules providing a "
"wide variety of functions "
"including HTTP servers, "
"XML parsers, database access, "
"data compression tools and, "
"of course, graphical user "
"interfaces. Extension modules "
"are usually implemented in "
"either Python, C or C++. Using "
"tools such as SIP it is "
"relatively straight forward to "
"create an extension module that "
"encapsulates an existing C or "
"C++ library. Used in this way, "
"Python can then become the glue "
"to create new applications from "
"established libraries. "
"</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:12pt;">PyQt '
"combines all the advantages of "
"Qt and Python. A programmer has "
"all the power of Qt, but is "
"able to exploit it with the "
"simplicity of "
"Python.</span></p></body></html>",
)
)
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
AboutQT = QtWidgets.QWidget()
ui = Ui_AboutQT()
ui.setupUi(AboutQT)
AboutQT.show()
sys.exit(app.exec_())