1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- ########################################################################
- # Searx-qt - Lightweight desktop application for SearX.
- # Copyright (C) 2020 CYBERDEViL
- #
- # This file is part of Searx-qt.
- #
- # Searx-qt is free software: you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation, either version 3 of the License, or
- # (at your option) any later version.
- #
- # Searx-qt is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with this program. If not, see <https://www.gnu.org/licenses/>.
- #
- ########################################################################
- from PyQt5.QtWidgets import QMessageBox
- from PyQt5.QtCore import QT_VERSION_STR
- from sys import version as PYTHON_VERSION
- from searxqt.version import __version__
- 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}: GPLv3</p>"
- "<p>{3}: {4}</p>"
- "<p>Python: {5}</p>"
- "<p>PyQt5 : {6}</p>".format(
- _("A lightweight desktop application for searx"),
- _("Source"),
- _("License"),
- _("Version"),
- __version__,
- PYTHON_VERSION,
- QT_VERSION_STR
- )
- )
- def show(parent=None):
- QMessageBox.about(parent, _("About") + " searx-qt", __description__)
|