Min Li schrieb:
Hi, everyoneI'm doing a project with PYQT now. However, I'm not clear about how to use the 'QTextEdit.mouseDoubleClickEvent'. I mean when I double click my mouse on the QTextEdit, something was happened. How can I write the code for that? Is there anyone can give me some suggestions?
You need to subclass QTextEdit and overload mouseDoubleClickEvent. See for example http://www.commandprompt.com/community/pyqt/x2629 Regards Georg _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
