Are you tired of making custom qt stysheets, do you want add a theme system for app
see releases
from QtTheme import apply_theme
from PyQt5.QtWidgets import QApplication, QMainWindow
class YourExistingGui(QMainWindow):
def __init__(self):
... # Your existing code
apply_theme(self, "ubuntu")
Or list all themes
from QtTheme import apply_theme, list_themes
from PyQt5.QtWidgets import QApplication, QMainWindow
class YourExistingGui(QMainWindow):
def __init__(self):
... # Your existing code
apply_theme(self, list_theme()[0])
Or apply random theme
from QtTheme import apply_random_theme
from PyQt5.QtWidgets import QApplication, QMainWindow
class YourExistingGui(QMainWindow):
def __init__(self):
... # Your existing code
apply_random_theme(self)
Some themes are from qss-stock.devsecstudio.com