mail_selector_window.py 文件源码

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

项目:Enibar 作者: ENIB 项目源码 文件源码
def load_list(self, mails):
        """ Load notes and display them in the list

        :param list mails: Preselected mails
        """
        for note in api.notes.get():
            widget = QtWidgets.QTreeWidgetItem(self.mail_list, (
                note['nickname'],
                note['mail'],
                note['firstname'],
                note['lastname']
            ))
            if note['mail'] in mails:
                widget.setSelected(True)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号