- added an initial implementation of a dark theme using the qdarktheme (performance is not great and there are some artifacts); the theme is activated once the gray icons are checked in the Preferences

This commit is contained in:
Marius Stanciu
2022-01-11 23:21:18 +02:00
committed by Marius
parent 1ccf4b38c6
commit 2165ebe419
5 changed files with 18 additions and 5 deletions

View File

@@ -11,7 +11,6 @@ from appGUI import VisPyPatches
from multiprocessing import freeze_support
# import copyreg
# import types
# import qdarktheme
MIN_VERSION_MAJOR = 3
MIN_VERSION_MINOR = 6
@@ -155,8 +154,6 @@ if __name__ == '__main__':
style = QtWidgets.QStyleFactory.keys()[idx]
app.setStyle(style)
# app.setStyleSheet(qdarktheme.load_stylesheet())
fc = App(qapp=app)
# interrupt the Qt loop such that Python events have a chance to be responsive