+ m_pX = new DragValue(i18n("In"), 0, 3, -1, QString(), false, this);
+ m_pX->setRange(0, 1);
+ m_pX->setStep(0.001);
+ m_pY = new DragValue(i18n("Out"), 0, 3, -1, QString(), false, this);
+ m_pY->setRange(0, 1);
+ m_pY->setStep(0.001);
+ m_h1X = new DragValue(i18n("X"), 0, 3, -1, QString(), false, this);
+ m_h1X->setRange(-2, 2);
+ m_h1X->setStep(0.001);
+ m_h1Y = new DragValue(i18n("Y"), 0, 3, -1, QString(), false, this);
+ m_h1Y->setRange(-2, 2);
+ m_h1Y->setStep(0.001);
+ m_h2X = new DragValue(i18n("X"), 0, 3, -1, QString(), false, this);
+ m_h2X->setRange(-2, 2);
+ m_h2X->setStep(0.001);
+ m_h2Y = new DragValue(i18n("Y"), 0, 3, -1, QString(), false, this);
+ m_h2Y->setRange(-2, 2);
+ m_h2Y->setStep(0.001);
+
+ m_ui.layoutP->addWidget(m_pX);
+ m_ui.layoutP->addWidget(m_pY);
+ m_ui.layoutH1->addWidget(new QLabel(i18n("Handle 1:")));
+ m_ui.layoutH1->addWidget(m_h1X);
+ m_ui.layoutH1->addWidget(m_h1Y);
+ m_ui.layoutH2->addWidget(new QLabel(i18n("Handle 2:")));
+ m_ui.layoutH2->addWidget(m_h2X);
+ m_ui.layoutH2->addWidget(m_h2Y);
+