Пример #1
0
void C_Game::MouseReleased()
{
    if(_event.MouseButton.Button == sf::Mouse::Right)
        RightClick();

    _boolBreakAnim = false;
}
Пример #2
0
void QMyPushButton::mousePressEvent(QMouseEvent *e)
{
    QPushButton::mousePressEvent( e );

    if ( Qt::RightButton == e->button( ) ) {
        emit RightClick( );
    }
}
Пример #3
0
/*
*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;  
	};
};