clickable event on QLabel in python using pythonqt

110 Views Asked by At

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

0

There are 0 best solutions below