-
- KSelectAction *interlace = new KSelectAction(i18n("Deinterlacer"), this);
- interlace->addAction(i18n("One Field (fast)"));
- interlace->addAction(i18n("Linear Blend (fast)"));
- interlace->addAction(i18n("YADIF - temporal only (good)"));
- interlace->addAction(i18n("YADIF - temporal + spacial (best)"));
- if (KdenliveSettings::mltdeinterlacer() == "linearblend") interlace->setCurrentItem(1);
- else if (KdenliveSettings::mltdeinterlacer() == "yadif-temporal") interlace->setCurrentItem(2);
- else if (KdenliveSettings::mltdeinterlacer() == "yadif") interlace->setCurrentItem(3);
- else interlace->setCurrentItem(0);
- connect(interlace, SIGNAL(triggered(int)), this, SLOT(slotSetDeinterlacer(int)));
-
- KSelectAction *interpol = new KSelectAction(i18n("Interpolation"), this);
- interpol->addAction(i18n("Nearest Neighbor (fast)"));
- interpol->addAction(i18n("Bilinear (good)"));
- interpol->addAction(i18n("Bicubic (better)"));
- interpol->addAction(i18n("Hyper/Lanczos (best)"));
- if (KdenliveSettings::mltinterpolation() == "bilinear") interpol->setCurrentItem(1);
- else if (KdenliveSettings::mltinterpolation() == "bicubic") interpol->setCurrentItem(2);
- else if (KdenliveSettings::mltinterpolation() == "hyper") interpol->setCurrentItem(3);
- else interpol->setCurrentItem(0);
- connect(interpol, SIGNAL(triggered(int)), this, SLOT(slotSetInterpolation(int)));