Sir,
Iam having a problem with mouseDoubleClickEvent. Iam showing you the part of my code:
CPT::CPT(QWidget *parent):QWidget(parent)
{
//various child widgets are added
QTextEdit *te=new QTextEdit(this);
//some other widgets
}
Since te is the child widget of CPT, I cannot catch the mouseDoubleClickEvent on it , if I write the following:
void CPT::mouseDoubleClickEvent(QMouseEvent *)
{ ... }
How can I catch this event when mouse is double clicked on te. Kindly show the code part if possible.
Thanks alot ,
Sarma.
Edit/Delete Message
Bookmarks