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
rest_action_list_wt.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录