From ebfb700cd265a03e7c34ab95cb817b589139130c Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 10 Aug 2021 16:58:41 -0400 Subject: [PATCH] Add reference gist for Qt guest mode stuff --- piker/ui/_exec.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/piker/ui/_exec.py b/piker/ui/_exec.py index 3b72e8b0..284ddd9b 100644 --- a/piker/ui/_exec.py +++ b/piker/ui/_exec.py @@ -99,6 +99,9 @@ def run_qtractor( # "This is substantially faster than using a signal... for some # reason Qt signal dispatch is really slow (and relies on events # underneath anyway, so this is strictly less work)." + + # source gist and credit to njs: + # https://gist.github.com/njsmith/d996e80b700a339e0623f97f48bcf0cb REENTER_EVENT = QtCore.QEvent.Type(QtCore.QEvent.registerEventType()) class ReenterEvent(QtCore.QEvent):