void C_Game::MouseReleased() { if(_event.MouseButton.Button == sf::Mouse::Right) RightClick(); _boolBreakAnim = false; }
void QMyPushButton::mousePressEvent(QMouseEvent *e) { QPushButton::mousePressEvent( e ); if ( Qt::RightButton == e->button( ) ) { emit RightClick( ); } }
/* *Function:mousePressEvent *Inputs:none *Outputs:none *Returns:none */ void GraphPaneData::mousePressEvent ( QMouseEvent *pEvent) { IT_IT("GraphPaneData::mousePressEvent"); switch(pEvent->button()) { case RightButton: { emit RightClick(); }; break; default: break; }; };