Hi, i am working on plain text editor using QTextEdit. I have subclassed QTextEdit.
MyEditor : public QTextEdit
I want to re-implement keypressevent and mouse events (move/clicked/released et cetera)
Re-implementing keypressevent has no issues. But when i reimplement mousemoveevent for example, i expect the cotrol to come to my re-implemented mousemove event function in MyEditor . This is not happening.
I installed event filter on MyEditor and then caught mouse event in eventhandler and calling my slot say processMovemoveEvent( me ). This works.
I wonder if re-implementing mouse events for QTextEdit does not allowed?
Some light please .........
Bookmarks