QPyDesignerContainerExtension Class Reference

[ QtDesigner module]

继承 QObject and QDesignerContainerExtension .

方法


详细描述

The QPyDesignerContainerExtension class is provided to work around the fact that it is not possible for a Python class to derive from multiple Qt 类。

In order to add pages to a custom multi-page container in Qt Designer's workspace you should implement a Python class derived from QPyDesignerContainerExtension rather than one derived from QObject and QDesignerContainerExtension .


方法文档编制

QPyDesignerContainerExtension.__init__ ( self , QObject   parent )

parent argument, if not None, causes self to be owned by Qt instead of PyQt.