fix(bec_widgets): adapt to bec_qthemes 1.0

This commit is contained in:
2025-09-01 15:16:40 +02:00
committed by Klaus Wakonig
parent bf0667aac7
commit 818e78104d
29 changed files with 73 additions and 105 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import pytest
from qtpy.QtCore import Qt
from qtpy.QtWidgets import QApplication
from bec_widgets.utils.colors import set_theme
from bec_widgets.utils.colors import apply_theme
from bec_widgets.widgets.utility.visual.dark_mode_button.dark_mode_button import DarkModeButton
# pylint: disable=unused-import
@@ -21,7 +21,7 @@ def dark_mode_button(qtbot, mocked_client):
button = DarkModeButton(client=mocked_client)
qtbot.addWidget(button)
qtbot.waitExposed(button)
set_theme("light")
apply_theme("light")
yield button