/****************************************************************************
** Form interface generated from reading ui file './config.ui'
**
** Created: Wed Jan 17 15:00:50 2001
**      by:  The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef MYCONFIGDIALOG_H
#define MYCONFIGDIALOG_H

#include <qdialog.h>
#include <qvariant.h>
class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QCheckBox;
class QComboBox;
class QGroupBox;
class QLabel;
class QLineEdit;
class QListBox;
class QPushButton;
class QSlider;
class QSpinBox;

class MyConfigDialog : public QDialog
{ 
    Q_OBJECT

public:
    static const int frequencyList[];
    MyConfigDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
    ~MyConfigDialog();

    //QSpinBox* m_pAudioResamplingRate;
    QComboBox* m_pAudioResamplingRate;
    QComboBox* m_pAudioPlayingRate;
    QCheckBox* m_pAudioResampling;
    QCheckBox* m_pAutorepeat;
    QCheckBox* m_pCheckBox;
    QCheckBox* m_pHwaccel;
    QCheckBox* m_pPreserveAspect;
    QCheckBox* m_pQualityAuto;
    QCheckBox* m_pDisplayFramePos;
    QCheckBox* m_pVideoBuffered;
    QCheckBox* m_pVideoDirect;
    QCheckBox* m_pVideoDropping;
    QCheckBox* m_pUseProxy;
    QLabel* m_pAsync;
    QLabel* m_pFontType;
    QLabel* m_pPreview;
    QLineEdit* m_pProxyName;
    QPushButton* m_pOk;
    QPushButton* m_pApply;
    QPushButton* m_pCancel;
    QPushButton* m_pFontButton;
    QSlider* m_pAsyncSlider;
    QSpinBox* m_pDefAudio;
    QSpinBox* m_pSubAsyncMin;
    QSpinBox* m_pSubAsyncSec;
    QGroupBox* m_pgSubtitleMatch;
    QListBox* m_pVideoList;
    //QPushButton* m_pVideoUp;
    //QPushButton* m_pVideoDown;
    QListBox* m_pAudioList;

protected:
    bool event( QEvent* );
    QWidget* createAudio(QWidget* parent);
    QWidget* createMisc(QWidget* parent);
    QWidget* createSubtitleFont(QWidget* parent);
    QWidget* createSync(QWidget* parent);
    QWidget* createVideo(QWidget* parent);
    QWidget* createDecoder(QWidget* parent);
};

#endif // MYCONFIGDIALOG_H
