Hi, I need to implement below in Widget::mousePressEvent(QmouseEvent* e)
Qt Code:
  1. if (Qt::LeftButton == e->state() ) && (Qt::RightButton == e->state() ) ...{
  2. doSomething();
  3. }
To copy to clipboard, switch view to plain text mode 
bui it take only a event...is there a way? Thanks