Hi All
I am vijay using VS 2005 with Qt 4.1. I do drag and drop operations from one label pixmap to another label . In My source code
i have written this statement.
void CMyClass : dropEvent(QDropEvent *event)
{
QLabel *child=static_cast<QLabel*>(childAt(event->pos()));
}
childAt statement returns the corresponding widget located at event->pos( when we release the mouse). This works fine when we release the mouse on label box. but if we release the mouse on text box or frame the program get crossing. I want to solve this problem. If we release the mouse on other widgets except label, it should ignore
Can you help me.
thanks and regards
vijay
Bookmarks