@staticmethod
    def FormToPyQtWidget(form, ctx = sys.modules['__main__']):
        return ctx.sip.wrapinstance(ctx.sip.voidptr(form).__int__(), ctx.QtGui.QWidget)
Use this method to convert a TForm* to a QWidget to be used by PyQt
dataset/ETHPy150Open EiNSTeiN-/idapython/pywraps/py_plgform.py/PluginForm.FormToPyQtWidget