Ejemplo n.º 1
0
void PHIAScene::mouseMoveEvent( QGraphicsSceneMouseEvent *e )
{
    _mousePos=e->scenePos();
    _screenPos=e->screenPos();
    emit xPositionChanged( _mousePos.x() );
    emit yPositionChanged( _mousePos.y() );
    QGraphicsScene::mouseMoveEvent( e );
}
Ejemplo n.º 2
0
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);
	}
}