rest_action_list_wt.py 文件源码

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

项目:mindfulness-at-the-computer 作者: SunyataZero 项目源码 文件源码
def update_gui(self):
        self.updating_gui_bool = True

        self.list_widget.clear()
        for rest_action in model.RestActionsM.get_all():
            rest_action_title_cll = RestQLabel(rest_action.title_str, rest_action.id_int)
            list_item = QtWidgets.QListWidgetItem()
            self.list_widget.addItem(list_item)
            self.list_widget.setItemWidget(list_item, rest_action_title_cll)

        # self.update_gui_details()

        self.updating_gui_bool = False
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号