0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 11:41:49 +02:00

feat(theme): added theme handler to bec widget base class; added tests

This commit is contained in:
2024-08-31 14:32:10 +02:00
parent 08c3d7d175
commit 7fb938a850
8 changed files with 143 additions and 40 deletions

View File

@ -14,6 +14,8 @@ def qapplication(qtbot): # pylint: disable=unused-argument
qapp = QApplication.instance()
# qapp.quit()
qapp.processEvents()
if hasattr(qapp, "os_listener") and qapp.os_listener:
qapp.removeEventFilter(qapp.os_listener)
try:
qtbot.waitUntil(lambda: qapp.topLevelWidgets() == [])
except QtBotTimeoutError as exc: