void PHIAScene::mouseMoveEvent( QGraphicsSceneMouseEvent *e ) { _mousePos=e->scenePos(); _screenPos=e->screenPos(); emit xPositionChanged( _mousePos.x() ); emit yPositionChanged( _mousePos.y() ); QGraphicsScene::mouseMoveEvent( e ); }
void GLWidget::setYPosition(int angle) { if (angle != yPos) { yPos = angle; emit yPositionChanged(angle); updateGL(); } }
void VESPERSEXAFSScanConfiguration::setY(double yPos) { if (position_.second != yPos){ position_.second = yPos; emit yPositionChanged(yPos); setModified(true); } }