1 /***************************************************************************
2 * Copyright (C) 2010 by Simon Andreas Eugster (simon.eu@gmail.com) *
3 * This file is part of kdenlive. See www.kdenlive.org. *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 ***************************************************************************/
12 Exports color planes (e.g. YUV-UV-planes) to a file.
13 Basically just for fun, but also for comparing color models.
16 #ifndef COLORPLANEEXPORT_H
17 #define COLORPLANEEXPORT_H
20 #include "ui_colorplaneexport_ui.h"
21 #include "colortools.h"
23 class ColorPlaneExport_UI;
25 class ColorPlaneExport : public QDialog, public Ui::ColorPlaneExport_UI {
28 ColorPlaneExport(QWidget *parent = 0);
31 enum COLOR_EXPORT_MODE { CPE_YUV, CPE_YUV_Y, CPE_YUV_MOD, CPE_RGB_CURVE, CPE_YPbPr };
34 ColorTools *m_colorTools;
37 void enableSliderScaling(const bool &enable);
38 void enableSliderColor(const bool &enable);
39 void enableCbVariant(const bool &enable);
44 void slotExportPlane();
45 void slotColormodeChanged();
46 void slotUpdateDisplays();
49 #endif // COLORPLANEEXPORT_H