0

I have read this and wanted to comment on one of the answers with another question. So i want to make a label clickable in Teamspeak 3 using my script for pyTson

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

Community
  • 1
  • 1
Bluscream
  • 255
  • 1
  • 3
  • 18
  • I was fighting with this lately. The link provided by Blus cream below is a good starting point, but I had to fight some additional details. Ask a more specific question and I'm confident that I or someone else can help you. – nostradamus Nov 07 '16 at 14:47
  • I found [this](http://popdevelop.com/2010/05/an-example-on-how-to-make-qlabel-clickable/) and will try it later on if nothing else works. – Bluscream Nov 07 '16 at 14:58

0 Answers0