BUG: QMetaObject.invokeMethod with Q_ARG doesn't work properly in PyQt6 and was causing TypeError exceptions. FIX: - Added proper Qt signals at class level: * update_status_signal(str, bool, bool) * update_session_table_signal(object) * update_counters_signal() * enable_scan_button_signal(bool) - Connected all signals to slot methods in initialize() - Replaced all invokeMethod calls with signal.emit() - Thread callbacks now emit signals instead of calling invokeMethod - UI updates happen in main Qt thread via signal/slot mechanism This is the correct PyQt6 way to do cross-thread communication. All UI updates are now thread-safe and won't cause TypeErrors. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| plugin.py | ||