Hi,

How to implement custom context menu for Q3TextEdit ?

I use the below code, but the signal is not emited.
It still display the default menu.

Q3TextEdit *messageEditor= new Q3TextEdit(topSplitter);
messageEditor->setContextMenuPolicy(Qt::CustomContextMenu);
connect(messageEditor,SIGNAL(customContextMenuRequ ested ( const QPoint &)),
this,SLOT(slotEditorMenuRequested(const QPoint &)));

Regards
Teh