1 /***************************************************************************
2 conbridlg.h - Contrast/Brightness Dialog
4 begin : Fri Feb 6th 2004
5 copyright : (C) 2004 by Jasem Mutlaq
6 email : mutlaqja@ikarustech.com
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
17 ***************************************************************************/
19 #ifndef CONTRASTBRIGHTNESSDLG_H
20 #define CONTRASTBRIGHTNESSDLG_H
22 #include <kdialogbase.h>
30 class ContrastBrightnessDlg
: public KDialogBase
{
33 ContrastBrightnessDlg(QWidget
*parent
=0);
34 ~ContrastBrightnessDlg();
36 QSize
sizeHint() const;
37 void range(int min
, int max
, int & num
);
38 void range(float min
, float max
, float & num
);
40 float *localImgBuffer
;
50 ConBriForm
*ConBriDlg
;
51 //unsigned char *localImgBuffer;
57 void setContrast(int contrastValue
);
58 void setBrightness(int brightnessValue
);