Yeah, that was too fast. The right syntax should bein the c-tor of exportData.Qt Code:
ui->edtFileName->installEventFilter(this);To copy to clipboard, switch view to plain text mode
That's the sense of an event filter. No problem. You can alternative, instead of returning false, call the base class event handler.Now i am capturing the mouse press event for the line edit object. But my only worry is that unnes=cessary control comes to this function on every event(apart from line edit events,which i wanted to do).
Bookmarks