123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- from PyQt5.QtWidgets import QMessageBox
- from PyQt5.QtCore import QT_VERSION_STR
- from sys import version as PYTHON_VERSION
- from searxqt.version import __version__, __git__
- from searxqt.translations import _
- __description__ = str(
- "<center><h1>Searx-Qt</h1>"
- "<h3>{0}</h3></center>"
- "<p>{1}: https://notabug.org/CYBERDEViL/searx-qt</p>"
- "<p>{2}: GPL3</p>"
- "<p>{3}: {4}{5}</p>"
- "<p>Python: {5}</p>"
- "<p>PyQt5 : {6}</p>".format(
- _("A lightweight desktop application for Searx"),
- _("Source"),
- _("License"),
- _("Version"),
- __version__,
- f"-{__git__}" if __git__ else "",
- PYTHON_VERSION,
- QT_VERSION_STR
- )
- )
- def show(parent=None):
- QMessageBox.about(parent, _("About") + " Searx-Qt", __description__)
|