Add reference gist for Qt guest mode stuff

ordermodepps_backup
Tyler Goodlet 2021-08-10 16:58:41 -04:00
parent 61c6bbb592
commit ebfb700cd2
1 changed files with 3 additions and 0 deletions

View File

@ -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):