Example #1
0
void PHIAScene::mouseMoveEvent( QGraphicsSceneMouseEvent *e )
{
    _mousePos=e->scenePos();
    _screenPos=e->screenPos();
    emit xPositionChanged( _mousePos.x() );
    emit yPositionChanged( _mousePos.y() );
    QGraphicsScene::mouseMoveEvent( e );
}
Example #2
0
void GLWidget::setXPosition(int angle)
{
    if (angle != xPos) {
        xPos = angle;
        emit xPositionChanged(angle);
        updateGL();
    }
}
void VESPERSEXAFSScanConfiguration::setX(double xPos)
{
	if (position_.first != xPos){

		position_.first = xPos;
		emit xPositionChanged(xPos);
		setModified(true);
	}
}