MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / enable_qt

Method enable_qt

pydev_ipython/inputhook.py:179–187  ·  view source on GitHub ↗
(self, app=None)

Source from the content-addressed store, hash-verified

177 self.clear_inputhook()
178
179 def enable_qt(self, app=None):
180 from pydev_ipython.qt_for_kernel import QT_API, QT_API_PYQT5, QT_API_PYQT6
181
182 if QT_API == QT_API_PYQT6:
183 self.enable_qt6(app)
184 elif QT_API == QT_API_PYQT5:
185 self.enable_qt5(app)
186 else:
187 self.enable_qt4(app)
188
189 def enable_qt4(self, app=None):
190 """Enable event loop integration with PyQt4.

Callers

nothing calls this directly

Calls 3

enable_qt6Method · 0.95
enable_qt5Method · 0.95
enable_qt4Method · 0.95

Tested by

no test coverage detected