There is such a problem:
- Python 2.7.2
- PyQT4
- The
helloworld.pyw
file hooks theeditor.ui
interface with the magic wordwidget = uic.loadUi("editor.ui")
- The interface has
widget.lcdNumber_3
, which has amousePressEvent
- By triggering a
mousePressEvent
you need to execute, say,def foo(): i=123
I climb on the forums, there all the clever questions are asked, but I cannot find an answer to such an elementary one. I ask for your help.