Closed hannesdelbeke closed 1 year ago
auto discover top level widgets with no parent, and add them to our bqt manager
devs can just run simple code (native qt, no bqt code needed)
from PySide2.QtWidgets import QWidget w = QWidget() w.show()
no need to run the add command anymore
import bqt bqt.register(w)
w
so depending on your implementation it still might be easier to use bqt.register
bqt.register
If this feature causes issues, it can be disabled with the env var BQT_AUTO_ADD set to 0
BQT_AUTO_ADD
0
https://github.com/techartorg/bqt/issues/83 https://github.com/techartorg/bqt/issues/84
auto discover top level widgets with no parent, and add them to our bqt manager
devs can just run simple code (native qt, no bqt code needed)
no need to run the add command anymore
garbage collect note
w
in the current sessionso depending on your implementation it still might be easier to use
bqt.register
If this feature causes issues, it can be disabled with the env var
BQT_AUTO_ADD
set to0