00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef CKVDRCFG_H
00019 #define CKVDRCFG_H
00020
00021
00022 #include <qwidget.h>
00023 #include <qgroupbox.h>
00024 #include <qlineedit.h>
00025 #include <qslider.h>
00026 #include <qbuttongroup.h>
00027 #include <qradiobutton.h>
00028 #include <qcombobox.h>
00029 #include <qpushbutton.h>
00030 #include <qlabel.h>
00031 #include <qspinbox.h>
00032
00033
00034 #include <qdialog.h>
00035 #include <kaccel.h>
00036 #include <klocale.h>
00037
00042 class ckvdrcfg : public QDialog {
00043 Q_OBJECT
00044 public:
00045 ckvdrcfg(QWidget *parent=0, const char *name=0);
00046 ~ckvdrcfg();
00047 void show();
00048
00049 protected:
00050 void initDialog();
00051
00052 QGroupBox *QGroupBox_9;
00053 QGroupBox *QGroupBox_4;
00054 QGroupBox *QGroupBox_3;
00055 QGroupBox *QGroupBox_2;
00056 QGroupBox *QGroupBox_1;
00057 QLineEdit *GrabWidth;
00058 QLineEdit *GrabHeight;
00059 QLineEdit *JpgQuality;
00060 QLineEdit *BaseDir;
00061 QLineEdit *InitialWidth;
00062 QLineEdit *InitialHeight;
00063 QSlider *BrightnessSlider;
00064 QSlider *ColourSlider;
00065 QSlider *HueSlider;
00066 QSlider *ContrastSlider;
00067 QButtonGroup *QButtonGroupNorm;
00068 QRadioButton *QRadioButton_1;
00069 QRadioButton *QRadioButton_2;
00070 QButtonGroup *QButtonGroupAR;
00071 QRadioButton *QRadioButton_4_3;
00072 QRadioButton *QRadioButton_16_9;
00073 QSpinBox *QSpinBox_VidDev;
00074 QSlider *VolumeSlider;
00075 QSlider *FrontRearSlider;
00076 QComboBox *MixerChannel;
00077 QLineEdit *VdrPort;
00078 QPushButton *CreditsButton;
00079 QPushButton *ApplyButton;
00080 QPushButton *StoreButton;
00081 QPushButton *CancelButton;
00082 QLabel *QLabel_1;
00083 QLabel *QLabel_2;
00084 QLabel *QLabel_3;
00085 QLabel *QLabel_4;
00086 QLabel *QLabel_5;
00087 QLabel *QLabel_7;
00088 QLabel *QLabel_8;
00089 QLabel *QLabel_9;
00090 QLabel *QLabel_10;
00091 QLabel *QLabel_11;
00092 QLabel *QLabel_12;
00093 QLabel *QLabel_13;
00094 QLabel *QLabel_14;
00095 QLabel *QLabel_15;
00096 QLabel *VdrPortLabel;
00097
00098 private:
00099 QWidget *p;
00100 bool dISPAL;
00101 float dVideoAspectRatio;
00102 int dInitialWidth,dInitialHeight,dGrabHeight,dGrabWidth,dJpgQuality,dVdrPort;
00103 int dVolume,dFrontRear,dColour,dBrightness,dHue,dContrast,dMixerChannel;
00104 int dVidDev;
00105 QString dBaseDir;
00106 KAccel *userKeys;
00107 protected slots:
00108 void ApplyButtonClicked();
00109 void CancelButtonClicked();
00110 void StoreButtonClicked();
00111 void CreditsButtonClicked();
00112 void QButtonGroupNormClicked(int i);
00113 void QButtonGroupARClicked(int i);
00114 void InitialWidthChanged();
00115 void InitialHeightChanged();
00116 void GrabHeightChanged();
00117 void GrabWidthChanged();
00118 void BaseDirChanged();
00119 void JpgQualityChanged();
00120 void VdrPortChanged();
00121 void VolumeSliderValueChanged(int i);
00122 void FrontRearSliderValueChanged(int i);
00123 void ColourSliderValueChanged(int i);
00124 void BrightnessSliderValueChanged(int i);
00125 void HueSliderValueChanged(int i);
00126 void ContrastSliderValueChanged(int i);
00127 void MixerChannelItemActivated(int i);
00128 void QSpinBox_VidDev_Changed(int);
00129 int CheckNumber(const char* s,int min,int max);
00130 };
00131
00132 #endif