mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-14 13:34:04 +01:00
fix(bec_designer): theming is applied on qt designer though main window plugin
This commit is contained in:
1 parent
d041ac251a
commit
4d883d90d5
1 file changed
+3
@@ -6,6 +6,7 @@ from qtpy.QtGui import QIcon
|
||||
from qtpy.QtWidgets import QWidget
|
||||
|
||||
from bec_widgets.utils.bec_designer import designer_material_icon
|
||||
from bec_widgets.utils.colors import apply_theme
|
||||
from bec_widgets.widgets.containers.main_window.main_window import BECMainWindow
|
||||
|
||||
DOM_XML = """
|
||||
@@ -44,6 +45,8 @@ class BECMainWindowPlugin(QDesignerCustomWidgetInterface): # pragma: no cover
|
||||
from qtpy.QtCore import Qt
|
||||
from qtpy.QtWidgets import QApplication
|
||||
|
||||
apply_theme("dark")
|
||||
|
||||
import bec_widgets
|
||||
|
||||
MODULE_PATH = os.path.dirname(bec_widgets.__file__)
|
||||
|
||||
Reference in new issue
Block a user