| 1 |
#ifndef CONFIGDIALOG_H |
| 2 |
#define CONFIGDIALOG_H |
| 3 |
|
| 4 |
#include "okdialog.h" |
| 5 |
|
| 6 |
class QVBoxLayout; |
| 7 |
class QHBoxLayout; |
| 8 |
class QGridLayout; |
| 9 |
class QCheckBox; |
| 10 |
class QComboBox; |
| 11 |
class QGroupBox; |
| 12 |
class QLabel; |
| 13 |
class QLineEdit; |
| 14 |
class QListBox; |
| 15 |
class QPushButton; |
| 16 |
class QSlider; |
| 17 |
class QSpinBox; |
| 18 |
|
| 19 |
class ConfigDialog : public QavmOkDialog |
| 20 |
{ |
| 21 |
Q_OBJECT; |
| 22 |
|
| 23 |
public: |
| 24 |
static const unsigned int frequencyList[]; |
| 25 |
ConfigDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, Qt::WFlags fl = 0 ); |
| 26 |
|
| 27 |
|
| 28 |
QComboBox* m_pAudioResamplingRate; |
| 29 |
QComboBox* m_pAudioPlayingRate; |
| 30 |
QCheckBox* m_pAudioResampling; |
| 31 |
QCheckBox* m_pAutorepeat; |
| 32 |
QCheckBox* m_pHwaccel; |
| 33 |
QCheckBox* m_pPreserveAspect; |
| 34 |
QCheckBox* m_pQualityAuto; |
| 35 |
QCheckBox* m_pDisplayFramePos; |
| 36 |
QCheckBox* m_pVideoBuffered; |
| 37 |
QCheckBox* m_pVideoDirect; |
| 38 |
QCheckBox* m_pVideoDropping; |
| 39 |
QCheckBox* m_pUseProxy; |
| 40 |
QCheckBox* m_pNoDefaultTheme; |
| 41 |
QLabel* m_pAsync; |
| 42 |
QLabel* m_pFontType; |
| 43 |
QLabel* m_pPreview; |
| 44 |
QLineEdit* m_pFontName; |
| 45 |
QLineEdit* m_pProxyName; |
| 46 |
QPushButton* m_pFontButton; |
| 47 |
|
| 48 |
QPushButton* m_pSubFGColor; |
| 49 |
QPushButton* m_pSubBGColor; |
| 50 |
QCheckBox* m_pSubWrap; |
| 51 |
QCheckBox* m_pSubEnabled; |
| 52 |
|
| 53 |
QSlider* m_pAsyncSlider; |
| 54 |
QSpinBox* m_pDefAudio; |
| 55 |
QSpinBox* m_pSubAsyncMin; |
| 56 |
QSpinBox* m_pSubAsyncSec; |
| 57 |
QCheckBox* m_pSubNegative; |
| 58 |
QListBox* m_pVideoList; |
| 59 |
QListBox* m_pAudioList; |
| 60 |
QComboBox* m_pThemeList; |
| 61 |
|
| 62 |
protected: |
| 63 |
bool event( QEvent* ); |
| 64 |
QWidget* createAudio(QWidget* parent); |
| 65 |
QWidget* createMisc(QWidget* parent); |
| 66 |
QWidget* createSubtitles(QWidget* parent); |
| 67 |
QWidget* createSync(QWidget* parent); |
| 68 |
QWidget* createVideo(QWidget* parent); |
| 69 |
QWidget* createDecoder(QWidget* parent); |
| 70 |
}; |
| 71 |
|
| 72 |
#endif |