python.tk_houdini.python_qt_houdini
¶
Module Contents¶
Classes¶
This class behaves like QEventLoop except it allows Python’s Qt to run inside |
Functions¶
|
You cannot call |
-
class
IntegratedEventLoop
(application)[source]¶ Bases:
object
This class behaves like QEventLoop except it allows Python’s Qt to run inside Houdini’s event loop on the main thread. You probably just want to call exec_() below instead of using this class directly.
-
exec_
(application)[source]¶ You cannot call
QApplication.exec_()
, or Houdini will freeze while Python’s Qt waits for and processes events. Instead, call this function to allow Houdini’s and Python’s Qt’s event loops to coexist. Pass in any dialogs as extra arguments, if you want to ensure that something holds a reference to them while the event loop runs.This function returns right away.