Logo Search packages:      
Sourcecode: kdenlive version File versions  Download package

void BezierSplineWidget::slotUpdatePointP ( double  value = 1,
bool  final = true 
) [private, slot]

Updates the spline if the current point's p was modified using the spinboxes.

Parameters:
value(optional) not used, neccessary to be able to connect to DragValue's valueChanged.
final(default = true) emit signal modified?

Definition at line 162 of file beziersplinewidget.cpp.

References BezierSplineEditor::getCurrentPoint(), BPoint::setP(), BezierSplineEditor::updateCurrentPoint(), and DragValue::value().

Referenced by BezierSplineWidget().

{
    Q_UNUSED(value)

    BPoint p = m_edit.getCurrentPoint();

    p.setP(QPointF(m_pX->value(), m_pY->value()));

    m_edit.updateCurrentPoint(p, final);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index