Add reference gist for Qt guest mode stuff
parent
a3d1a71017
commit
a7920689b6
|
@ -99,6 +99,9 @@ def run_qtractor(
|
||||||
# "This is substantially faster than using a signal... for some
|
# "This is substantially faster than using a signal... for some
|
||||||
# reason Qt signal dispatch is really slow (and relies on events
|
# reason Qt signal dispatch is really slow (and relies on events
|
||||||
# underneath anyway, so this is strictly less work)."
|
# 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())
|
REENTER_EVENT = QtCore.QEvent.Type(QtCore.QEvent.registerEventType())
|
||||||
|
|
||||||
class ReenterEvent(QtCore.QEvent):
|
class ReenterEvent(QtCore.QEvent):
|
||||||
|
|
Loading…
Reference in New Issue