我已阅读此内容,并想用另一个问题评论其中一个答案。所以我想使用我的pyTson脚本在Teamspeak 3中制作一个可点击的标签
python
07.11.2016 14:16:48 pyTSon.PluginHost.onMenuItemEvent Error Error calling onMenuItemEvent of python plugin Better Server Browser: Traceback (most recent call last):
File "C:/Users/blusc_000/AppData/Roaming/TS3Client/plugins/pyTSon/scripts\ts3plugin.py", line 337, in onMenuItemEvent
plugin.onMenuItemEvent(schid, atype, locid, selectedItemID)
File "C:/Users/blusc_000/AppData/Roaming/TS3Client/plugins/pyTSon/scripts\serverBrowser.py", line 62, in onMenuItemEvent
self.dlg = ServersDialog(self)
File "C:/Users/blusc_000/AppData/Roaming/TS3Client/plugins/pyTSon/scripts\serverBrowser.py", line 136, in __init__
self.setupList()
File "C:/Users/blusc_000/AppData/Roaming/TS3Client/plugins/pyTSon/scripts\serverBrowser.py", line 153, in setupList
self.pageLabel.mousePressEvent = self.on_pageLabel_clicked
AttributeError: Slot 'mousePressEvent' can not be overwritten on QLabel object