+ enableSliderScaling(true);
+ enableSliderColor(false);
+ enableCbVariant(true);
+ sliderScaling->setRange(1,255);
+ sliderScaling->setValue(255);
+ cbVariant->addItem(i18n("Red"), QVariant(ColorTools::COL_R));
+ cbVariant->addItem(i18n("Green"), QVariant(ColorTools::COL_G));
+ cbVariant->addItem(i18n("Blue"), QVariant(ColorTools::COL_B));
+ cbVariant->addItem(i18n("Luma"), QVariant(ColorTools::COL_Luma));
+ break;
+ case CPE_HSV_HUESHIFT:
+ enableSliderScaling(true);
+ enableSliderColor(true);
+ enableCbVariant(false);
+ sliderScaling->setRange(0,255);
+ sliderScaling->setValue(200);
+ sliderScaling->setInvertedAppearance(false);
+ sliderColor->setRange(0,255);
+ sliderColor->setValue(200);
+ lblSliderName->setText(i18n("HSV Saturation"));
+ lblScaling->setText(i18n("HSV Value"));
+ break;
+ case CPE_HSV_SATURATION:
+ enableSliderScaling(false);
+ enableSliderColor(true);
+ sliderColor->setRange(0, 255);
+ sliderColor->setValue(200);
+ lblSliderName->setText(i18n("HSV Value"));
+ break;