Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
6607e29b
Commit
6607e29b
authored
Nov 12, 2019
by
Jean-Baptiste Mardelle
Browse files
Fix curve parameter after introducing odd only possibility
parent
d2408c04
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/assets/view/widgets/curves/curveparamwidget.ipp
View file @
6607e29b
...
@@ -208,9 +208,9 @@ template <typename CurveWidget_t> void CurveParamWidget<CurveWidget_t>::deleteIr
...
@@ -208,9 +208,9 @@ template <typename CurveWidget_t> void CurveParamWidget<CurveWidget_t>::deleteIr
template <typename CurveWidget_t> void CurveParamWidget<CurveWidget_t>::setupLayoutPoint()
template <typename CurveWidget_t> void CurveParamWidget<CurveWidget_t>::setupLayoutPoint()
{
{
m_pX = new DragValue(i18n("In"), 0, 3, 0, 1, -1, QString(), false, this);
m_pX = new DragValue(i18n("In"), 0, 3, 0, 1, -1, QString(), false,
false,
this);
m_pX->setStep(0.001);
m_pX->setStep(0.001);
m_pY = new DragValue(i18n("Out"), 0, 3, 0, 1, -1, QString(), false, this);
m_pY = new DragValue(i18n("Out"), 0, 3, 0, 1, -1, QString(), false,
false,
this);
m_pY->setStep(0.001);
m_pY->setStep(0.001);
m_ui.layoutP->addWidget(m_pX);
m_ui.layoutP->addWidget(m_pX);
m_ui.layoutP->addWidget(m_pY);
m_ui.layoutP->addWidget(m_pY);
...
@@ -220,13 +220,13 @@ template <typename CurveWidget_t> void CurveParamWidget<CurveWidget_t>::setupLay
...
@@ -220,13 +220,13 @@ template <typename CurveWidget_t> void CurveParamWidget<CurveWidget_t>::setupLay
template <> void CurveParamWidget<BezierSplineEditor>::setupLayoutHandles()
template <> void CurveParamWidget<BezierSplineEditor>::setupLayoutHandles()
{
{
m_h1X = new DragValue(i18n("X"), 0, 3, -2, 2, -1, QString(), false, this);
m_h1X = new DragValue(i18n("X"), 0, 3, -2, 2, -1, QString(), false,
false,
this);
m_h1X->setStep(0.001);
m_h1X->setStep(0.001);
m_h1Y = new DragValue(i18n("Y"), 0, 3, -2, 2, -1, QString(), false, this);
m_h1Y = new DragValue(i18n("Y"), 0, 3, -2, 2, -1, QString(), false,
false,
this);
m_h1Y->setStep(0.001);
m_h1Y->setStep(0.001);
m_h2X = new DragValue(i18n("X"), 0, 3, -2, 2, -1, QString(), false, this);
m_h2X = new DragValue(i18n("X"), 0, 3, -2, 2, -1, QString(), false,
false,
this);
m_h2X->setStep(0.001);
m_h2X->setStep(0.001);
m_h2Y = new DragValue(i18n("Y"), 0, 3, -2, 2, -1, QString(), false, this);
m_h2Y = new DragValue(i18n("Y"), 0, 3, -2, 2, -1, QString(), false,
false,
this);
m_h2Y->setStep(0.001);
m_h2Y->setStep(0.001);
m_ui.layoutH1->addWidget(new QLabel(i18n("Handle 1:")));
m_ui.layoutH1->addWidget(new QLabel(i18n("Handle 1:")));
m_ui.layoutH1->addWidget(m_h1X);
m_ui.layoutH1->addWidget(m_h1X);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment