/****************************************************************************
** Form interface generated from reading ui file 'Options5.ui'
**
** Created by: The TQt user interface compiler (TQt 3.5.0)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef UI_OPTIONS5_H
#define UI_OPTIONS5_H

#include <ntqvariant.h>
#include <ntqwidget.h>
#include "osd.h"

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQCheckBox;
class TQGroupBox;
class TDEFontRequester;
class TQLabel;
class KColorButton;
class KTextEdit;
class KIntSpinBox;
class KComboBox;

class Options5 : public TQWidget
{
    TQ_OBJECT

public:
    Options5( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
    ~Options5();

    TQCheckBox* kcfg_OsdEnabled;
    TQGroupBox* mainBox;
    TQGroupBox* fontBox;
    TDEFontRequester* kcfg_OsdFont;
    TQCheckBox* kcfg_OsdDrawShadow;
    TQGroupBox* groupBox9;
    TQCheckBox* kcfg_OsdUseCustomColors;
    TQGroupBox* colorsBox;
    TQLabel* textLabel2_2;
    KColorButton* kcfg_OsdTextColor;
    KColorButton* kcfg_OsdBackgroundColor;
    TQLabel* textLabel2;
    TQCheckBox* kcfg_OsdUseFakeTranslucency;
    TQGroupBox* osdText;
    TQCheckBox* kcfg_OsdUsePlaylistColumns;
    KTextEdit* kcfg_OsdText;
    TQGroupBox* groupBox22;
    TQLabel* textLabel1;
    KIntSpinBox* kcfg_OsdDuration;
    KComboBox* kcfg_OsdScreen;
    TQLabel* textLabel2_3;

signals:
    void settingsChanged();

protected:
    virtual void hideEvent( TQHideEvent * );
    virtual void showEvent( TQShowEvent * );

    TQVBoxLayout* Options5Layout;
    TQHBoxLayout* layout2;
    TQSpacerItem* spacer2;
    TQVBoxLayout* mainBoxLayout;
    TQVBoxLayout* fontBoxLayout;
    TQVBoxLayout* groupBox9Layout;
    TQVBoxLayout* layout3;
    TQHBoxLayout* layout1;
    TQSpacerItem* spacer1;
    TQGridLayout* colorsBoxLayout;
    TQVBoxLayout* osdTextLayout;
    TQGridLayout* groupBox22Layout;

protected slots:
    virtual void languageChange();

    virtual void slotPositionChanged();
    virtual void useCustomColorsToggled( bool on );
    virtual void useFakeTransparencyToggled( bool on );


private:
    OSDPreviewWidget *m_pOSDPreview;

    void init();

};

#endif // OPTIONS5_H
