void Overlay::mouseReleaseEvent ( QMouseEvent * e ) { // check if cursor not moved since click beginning if ((m_mouseClick) && (e->pos() == m_lastPoint)) { emit mouseClickEvent(); } }
void WLabelButton::mousePressEvent ( QMouseEvent * ev ) { if (ev->buttons() || Qt::LeftButton) { emit clicked(); mouseClickEvent(); } }
void abstractScene::glutMouseClickEvent(int button, int state, int x, int y){ std::cout << "glutMouseClickEvent" << endl; mouseClickEvent(); }