diff --git a/relational_gui/about.py b/relational_gui/about.py index 4c03c99..55abfc9 100644 --- a/relational_gui/about.py +++ b/relational_gui/about.py @@ -18,12 +18,6 @@ from PyQt5 import QtCore, QtGui, QtWidgets -try: # If QtWebKit is available, uses it - from PyQt5 import QtWebKitWidgets - webk = True -except: - webk = False - version = '' @@ -85,31 +79,7 @@ class Ui_Dialog(object): self.tab_2.setObjectName("tab_2") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.tab_2) self.verticalLayout_7.setObjectName("verticalLayout_7") - if (webk): - self.webView = QtWebKitWidgets.QWebView(self.tab_2) - self.webView.setUrl( - QtCore.QUrl("http://ltworf.github.io/relational/allowed_expressions.html")) - self.webView.setObjectName("webView") - self.verticalLayout_7.addWidget(self.webView) - else: - self.webLink = QtWidgets.QLabel(self.groupBox) - self.webLink.setFont(font) - self.webLink.setObjectName("lblLink") - self.webLink.setText(QtWidgets.QApplication.translate( - "Dialog", "Relational's website", None,)) - self.webLink.setOpenExternalLinks(True) - self.webLink.setTextFormat(QtCore.Qt.AutoText) - self.webLink.setTextInteractionFlags( - QtCore.Qt.LinksAccessibleByKeyboard | - QtCore.Qt.LinksAccessibleByMouse | - QtCore.Qt.TextBrowserInteraction | - QtCore.Qt.TextSelectableByKeyboard | - QtCore.Qt.TextSelectableByMouse - ) - self.verticalLayout_7.addWidget(self.webLink) - - self.tabWidget.addTab(self.tab_2, "") self.verticalLayout_2.addWidget(self.tabWidget) self.buttonBox = QtWidgets.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) @@ -294,8 +264,6 @@ class Ui_Dialog(object): "
The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <http://www.gnu.org/philosophy/why-not-lgpl.html>.