Python PyQt4.QtCore 模块,QAbstractItemModel() 实例源码

我们从Python开源项目中,提取了以下1个代码示例,用于说明如何使用PyQt4.QtCore.QAbstractItemModel()

项目:SacredBrowser    作者:michaelwand    | 项目源码 | 文件源码
def __del__(self):
#         print('Deleting node with text %s' % self.text)
        pass


# Model for the database tree which is displayed in the left part of the main window.
# The behavior of this class follows the requirements of the QtCore.QAbstractItemModel (weird!).
# Note that this class is tightly coupled with the Sacred database structure.