item单击事件
(self, item)
| 60 | self.itemClicked.connect(self.onItemClicked) |
| 61 | |
| 62 | def onItemClicked(self, item): |
| 63 | """item单击事件""" |
| 64 | if item.url: # 调用浏览器打开网址 |
| 65 | webbrowser.open_new_tab(item.url) |
| 66 | |
| 67 | def parseData(self, datas, parent=None): |
| 68 | """解析json数据""" |
nothing calls this directly
no outgoing calls
no test coverage detected