Hi,
just call your function in the mouseReleaseEvent like this:
Qt Code:
{ if(event->button() & Qt::RightButton) { // call your specific function this->doSth(); } }To copy to clipboard, switch view to plain text mode
Hi,
just call your function in the mouseReleaseEvent like this:
Qt Code:
{ if(event->button() & Qt::RightButton) { // call your specific function this->doSth(); } }To copy to clipboard, switch view to plain text mode
Bookmarks