- added qdarktheme package into the code

This commit is contained in:
Marius Stanciu
2023-10-19 13:49:14 +03:00
parent 656bec2e7c
commit 28dbb70126
42 changed files with 3548 additions and 22 deletions

View File

@@ -0,0 +1,11 @@
"""Package applying Qt compat of PyQt6, PySide6, PyQt5 and PySide2."""
from libs.qdarktheme.qtpy.qt_compat import QtImportError
from libs.qdarktheme.qtpy.qt_version import __version__
try:
from libs.qdarktheme.qtpy import QtCore, QtGui, QtSvg, QtWidgets
except ImportError:
from libs.qdarktheme.util import get_logger as __get_logger
__logger = __get_logger(__name__)
__logger.warning("Failed to import QtCore, QtGui, QtSvg and QtWidgets.")