X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcolorplaneexport.h;h=024e4c9ab904639b1360471fda461b5bd200c518;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=48225586a2cca8b39e43e0013ab8ba582b3a7c13;hpb=c471a29fcef185bffaff48c4185588f4a8416ca4;p=kdenlive diff --git a/src/colorplaneexport.h b/src/colorplaneexport.h index 48225586..024e4c9a 100644 --- a/src/colorplaneexport.h +++ b/src/colorplaneexport.h @@ -22,24 +22,21 @@ class ColorPlaneExport_UI; -enum COLOR_EXPORT_MODE { CPE_YUV, CPE_YUV_Y, CPE_YUV_MOD, CPE_RGB_CURVE }; - class ColorPlaneExport : public QDialog, public Ui::ColorPlaneExport_UI { Q_OBJECT public: ColorPlaneExport(QWidget *parent = 0); ~ColorPlaneExport(); -protected: + enum COLOR_EXPORT_MODE { CPE_YUV, CPE_YUV_Y, CPE_YUV_MOD, CPE_RGB_CURVE, CPE_YPbPr, CPE_HSV_HUESHIFT, CPE_HSV_SATURATION }; private: ColorTools *m_colorTools; float m_scaling; float m_Y; - void enableSliderScaling(const bool &enable); - void enableSliderColor(const bool &enable); - void enableCbVariant(const bool &enable); - + void enableSliderScaling(bool enable); + void enableSliderColor(bool enable); + void enableCbVariant(bool enable); private slots: void slotValidate();