centralview.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:guiQML 作者: gramps-project 项目源码 文件源码
def __init__(self, dbstate, engine, viewshow):
        """
        The manager is initialised with a dbstate on which GRAMPS is
        working, and the engine to use context from.
        """
        self.dbstate = dbstate
        self.__viewshow = viewshow
        QtCore.QObject.__init__(self)
        self.const = {
            'titlelabel': str("%s" % self.dbstate.db.get_dbname()),
            }
        print(self.const['titlelabel'])
        #there is one DeclarativeEngine for global settings
        self.__build_main_window(engine)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号