QDarkStyle-3.2.3


توضیحات

The most complete dark/light style sheet for C++/Python and Qt applications
ویژگی مقدار
سیستم عامل POSIX :: Linux
نام فایل QDarkStyle-3.2.3
نام QDarkStyle
نسخه کتابخانه 3.2.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Colin Duquesnoy
ایمیل نویسنده colin.duquesnoy@gmail.com
آدرس صفحه اصلی https://github.com/ColinDuquesnoy/QDarkStyleSheet
آدرس اینترنتی https://pypi.org/project/QDarkStyle/
مجوز MIT
The most complete dark/light style sheet for Qt applications (Qt4, Qt5, PySide, PySide2, PyQt4, PySide6, PyQt5, PyQt6, QtPy, PyQtGraph, Qt.Py) for Python 2/3 and C++. Python 2, as well as Qt4 (PyQt4 and PySide), will not be supported anymore. They are still there as it is, but no back-compatibility, fixes, nor features will be implemented. Check the `documentation <https://qdarkstylesheet.readthedocs.io/en/stable>`__ to see how to set the desirable theme palette. This module provides a function to load the stylesheets transparently with the right resources file. First, start importing our module .. code-block:: python import qdarkstyle Then you can get the stylesheet provided by QDarkStyle for various Qt wrappers as shown below .. code-block:: python # PySide 2 dark_stylesheet = qdarkstyle.load_stylesheet_pyside2() # PyQt5 dark_stylesheet = qdarkstyle.load_stylesheet_pyqt5() # PySide 6 dark_stylesheet = qdarkstyle.load_stylesheet_pyside6() # PyQt6 dark_stylesheet = qdarkstyle.load_stylesheet_pyqt6() Alternatively, from environment variables provided by QtPy, PyQtGraph, Qt.Py .. code-block:: python # QtPy dark_stylesheet = qdarkstyle.load_stylesheet() # PyQtGraph dark_stylesheet = qdarkstyle.load_stylesheet(qt_api=os.environ('PYQTGRAPH_QT_LIB')) # Qt.Py dark_stylesheet = qdarkstyle.load_stylesheet(qt_api=Qt.__binding__) Finally, set your QApplication with it .. code-block:: python app.setStyleSheet(dark_stylesheet) Enjoy!


نیازمندی

مقدار نام
= qtpy
- qtsass
- watchdog
- sphinx
- sphinx-rtd-theme
- pyqt5
- pyside2


نحوه نصب


نصب پکیج whl QDarkStyle-3.2.3:

    pip install QDarkStyle-3.2.3.whl


نصب پکیج tar.gz QDarkStyle-3.2.3:

    pip install QDarkStyle-3.2.3.tar.gz