#include <tdelocale.h>
/****************************************************************************
** Form implementation generated from reading ui file './playbackoptionsw.ui'
**
** Created: dim. oct. 26 08:57:35 2008
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "playbackoptionsw.h"

#include <tqvariant.h>
#include <tqpushbutton.h>
#include <tqcheckbox.h>
#include <tqframe.h>
#include <tqlistbox.h>
#include <kpushbutton.h>
#include <tqlabel.h>
#include <tqcombobox.h>
#include <tqlayout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
#include <tqimage.h>
#include <tqpixmap.h>

#include "kpushbutton.h"
static const unsigned char img0_playbackoptionsw[] = { 
    0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
    0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10,
    0x08, 0x06, 0x00, 0x00, 0x00, 0x1f, 0xf3, 0xff, 0x61, 0x00, 0x00, 0x03,
    0x16, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0x75, 0x93, 0x4f, 0x48, 0x2b,
    0x67, 0x14, 0xc5, 0x4f, 0xbe, 0x99, 0x38, 0xc9, 0xc4, 0x38, 0x32, 0x6a,
    0xd0, 0x3e, 0x17, 0xc1, 0xaa, 0x0b, 0x17, 0x0a, 0x0d, 0x0a, 0xea, 0x03,
    0x69, 0x17, 0x2d, 0x2e, 0x5c, 0x08, 0x5d, 0x04, 0xba, 0xd1, 0xbd, 0xa9,
    0xd0, 0x4d, 0x37, 0x85, 0x3e, 0x5c, 0x06, 0x51, 0x74, 0xd1, 0xba, 0x2a,
    0xb4, 0x50, 0x05, 0xa9, 0xa0, 0x08, 0x82, 0xae, 0x6c, 0x03, 0x6d, 0x4d,
    0x9a, 0xc0, 0xf3, 0xa9, 0x1b, 0x17, 0x41, 0x34, 0x91, 0x50, 0x89, 0x89,
    0x9d, 0x7f, 0xdf, 0xcc, 0x7c, 0x73, 0xbb, 0x28, 0x86, 0x22, 0xed, 0x59,
    0x9f, 0xdf, 0xbd, 0x07, 0xee, 0xb9, 0x21, 0xbc, 0xd0, 0xe4, 0xe4, 0xe4,
    0x47, 0x53, 0x53, 0x53, 0xe9, 0x89, 0x89, 0x89, 0x8f, 0x93, 0xc9, 0x64,
    0x67, 0x3c, 0x1e, 0x47, 0xb1, 0x58, 0x7c, 0x3a, 0x3a, 0x3a, 0xfa, 0xe9,
    0xe0, 0xe0, 0xe0, 0x7b, 0xcb, 0xb2, 0xde, 0xbe, 0x64, 0x00, 0x00, 0xbd,
    0xbd, 0xbd, 0x3d, 0xcb, 0xcb, 0xcb, 0xdf, 0x95, 0xcb, 0x65, 0x41, 0xff,
    0xa3, 0x52, 0xa9, 0xf4, 0xd7, 0xec, 0xec, 0xec, 0x1b, 0x00, 0x6d, 0x2f,
    0x79, 0x7d, 0x63, 0x63, 0xe3, 0x0f, 0xd7, 0x75, 0x89, 0x88, 0xc8, 0x75,
    0x5d, 0xf2, 0x3c, 0x8f, 0x38, 0xe7, 0x64, 0xdb, 0x36, 0x71, 0xce, 0xc9,
    0xf7, 0x7d, 0x22, 0x22, 0xb2, 0x2c, 0x8b, 0x16, 0x17, 0x17, 0x77, 0x00,
    0x48, 0x2d, 0x3a, 0x9d, 0x4e, 0x7f, 0x53, 0xad, 0x56, 0xe9, 0xe6, 0xe6,
    0x86, 0x9a, 0xcd, 0x26, 0x39, 0x8e, 0xd3, 0x82, 0x0d, 0xc3, 0x68, 0x0d,
    0x11, 0xe2, 0x9f, 0x70, 0x8f, 0x8f, 0x8f, 0x94, 0x4a, 0xa5, 0x3e, 0x07,
    0x00, 0x49, 0xd3, 0xb4, 0x0f, 0xb2, 0xd9, 0xec, 0xb7, 0xb2, 0x2c, 0x33,
    0xdf, 0xf7, 0x11, 0x04, 0x01, 0xda, 0xda, 0xda, 0x20, 0xcb, 0x32, 0x00,
    0x80, 0x88, 0x10, 0x0a, 0x85, 0x10, 0x0e, 0x87, 0x41, 0x44, 0xe0, 0x9c,
    0x43, 0x55, 0x55, 0x74, 0x76, 0x76, 0xa6, 0xf6, 0xf6, 0xf6, 0x7e, 0x94,
    0xa7, 0xa7, 0xa7, 0x3f, 0xed, 0xea, 0xea, 0x92, 0x6d, 0xdb, 0x46, 0x2c,
    0x16, 0x83, 0x10, 0x02, 0xb6, 0x6d, 0x03, 0x00, 0x3c, 0xcf, 0x83, 0xef,
    0xfb, 0xd0, 0x34, 0x0d, 0x44, 0x04, 0xc7, 0x71, 0x60, 0xdb, 0x36, 0x1a,
    0x8d, 0x06, 0x52, 0xa9, 0x54, 0x62, 0x60, 0x60, 0xe0, 0x13, 0x79, 0x6c,
    0x6c, 0xec, 0x43, 0xd7, 0x75, 0x21, 0x49, 0x12, 0x42, 0xa1, 0x10, 0x24,
    0x49, 0x82, 0xeb, 0xba, 0x68, 0x36, 0x9b, 0xa8, 0xd5, 0x6a, 0x7e, 0x2c,
    0x16, 0x63, 0x9e, 0xe7, 0x31, 0x55, 0x55, 0xc1, 0x39, 0x87, 0x69, 0x9a,
    0xb0, 0x2c, 0x0b, 0x44, 0x84, 0x91, 0x91, 0x91, 0x09, 0x59, 0xd7, 0xf5,
    0x57, 0x00, 0xc0, 0x18, 0x83, 0x24, 0x49, 0x08, 0x87, 0xc3, 0xcf, 0x5b,
    0x68, 0x6e, 0x6e, 0xee, 0xb3, 0xd1, 0xd1, 0xd1, 0x57, 0x5b, 0x5b, 0x5b,
    0x6b, 0xa6, 0x69, 0x42, 0x08, 0x81, 0xa7, 0xa7, 0x27, 0x18, 0x86, 0x01,
    0x45, 0x51, 0xa0, 0xeb, 0x7a, 0x9f, 0xec, 0x79, 0x9e, 0xdb, 0xd1, 0xd1,
    0x01, 0x00, 0x50, 0x14, 0x05, 0x8c, 0x31, 0xc8, 0xb2, 0x8c, 0xf6, 0xf6,
    0xf6, 0xd0, 0xc2, 0xc2, 0xc2, 0xeb, 0xbe, 0xbe, 0xbe, 0xde, 0x46, 0xa3,
    0x81, 0x48, 0x24, 0x02, 0xce, 0x39, 0x0c, 0xc3, 0x80, 0x10, 0x02, 0x8a,
    0xa2, 0x80, 0x73, 0x2e, 0xe4, 0xeb, 0xeb, 0xeb, 0x77, 0xd1, 0x68, 0xf4,
    0x7d, 0xc6, 0x18, 0xc2, 0xe1, 0x30, 0x22, 0x91, 0x08, 0xba, 0xbb, 0xbb,
    0x51, 0xab, 0xd5, 0x90, 0xc9, 0x64, 0x32, 0x41, 0x10, 0xc0, 0x34, 0x4d,
    0x38, 0x8e, 0x03, 0xcb, 0xb2, 0x10, 0x04, 0x01, 0x18, 0x63, 0x08, 0x82,
    0x00, 0xe5, 0x72, 0xf9, 0x86, 0xe5, 0x72, 0xb9, 0x43, 0xcb, 0xb2, 0xa0,
    0xaa, 0x2a, 0x14, 0x45, 0x81, 0x10, 0x02, 0xb7, 0xb7, 0xb7, 0x70, 0x1c,
    0x07, 0xaa, 0xaa, 0x22, 0x91, 0x48, 0x40, 0x51, 0x14, 0x54, 0x2a, 0x15,
    0x70, 0xce, 0x5b, 0x17, 0xa9, 0x56, 0xab, 0xb8, 0xba, 0xba, 0xfa, 0x45,
    0xaa, 0xd7, 0xeb, 0x77, 0xc9, 0x64, 0x32, 0x3d, 0x33, 0x33, 0xa3, 0x31,
    0xc6, 0xb0, 0xb2, 0xb2, 0x82, 0x42, 0xa1, 0x80, 0xa5, 0xa5, 0x25, 0x98,
    0xa6, 0x89, 0x7c, 0x3e, 0x8f, 0xd5, 0xd5, 0x55, 0x48, 0x92, 0x84, 0xc3,
    0xc3, 0x43, 0x8c, 0x8f, 0x8f, 0x43, 0xd3, 0x34, 0x6c, 0x6f, 0x6f, 0xbf,
    0x2d, 0x14, 0x0a, 0x6f, 0x18, 0x80, 0x3f, 0xd7, 0xd6, 0xd6, 0xbe, 0x3c,
    0x3b, 0x3b, 0x83, 0x65, 0x59, 0xc8, 0xe7, 0xf3, 0x08, 0x82, 0x00, 0xf3,
    0xf3, 0xf3, 0x38, 0x3e, 0x3e, 0x46, 0xad, 0x56, 0x43, 0x34, 0x1a, 0x05,
    0x11, 0x61, 0x78, 0x78, 0x18, 0x89, 0x44, 0x02, 0xa7, 0xa7, 0xa7, 0xee,
    0xce, 0xce, 0xce, 0x57, 0x00, 0x9a, 0xad, 0x36, 0x0e, 0x0e, 0x0e, 0x7e,
    0xbd, 0xbb, 0xbb, 0xeb, 0x97, 0x4a, 0x25, 0xca, 0xe5, 0x72, 0x54, 0x2c,
    0x16, 0x69, 0x7f, 0x7f, 0x9f, 0x2a, 0x95, 0x0a, 0x5d, 0x5c, 0x5c, 0xd0,
    0xe5, 0xe5, 0x25, 0x3d, 0x3c, 0x3c, 0xd0, 0xfa, 0xfa, 0xba, 0x15, 0x8f,
    0xc7, 0xbf, 0x78, 0xe6, 0x5a, 0x7d, 0xae, 0xd7, 0xeb, 0x3f, 0x9f, 0x9c,
    0x9c, 0xbc, 0xf3, 0x3c, 0x6f, 0x50, 0xd7, 0xf5, 0xf7, 0x88, 0x08, 0x43,
    0x43, 0x43, 0x60, 0x8c, 0x81, 0x73, 0x8e, 0xf3, 0xf3, 0xf3, 0x20, 0x9b,
    0xcd, 0xfe, 0xbe, 0xb9, 0xb9, 0x99, 0x71, 0x1c, 0xe7, 0x87, 0x67, 0x2e,
    0xf4, 0x1f, 0x8f, 0xd9, 0xae, 0x28, 0xca, 0xeb, 0xfe, 0xfe, 0xfe, 0xc9,
    0x9e, 0x9e, 0x9e, 0x7e, 0x21, 0x04, 0xdd, 0xdf, 0xdf, 0xdf, 0xde, 0xdd,
    0xdd, 0xfd, 0x0a, 0xe0, 0x37, 0x00, 0xc6, 0xbf, 0xcd, 0x7f, 0x03, 0x0c,
    0x63, 0xc7, 0xb7, 0xdc, 0x56, 0x84, 0xa7, 0x00, 0x00, 0x00, 0x00, 0x49,
    0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82
};


/*
 *  Constructs a PlaybackOptionsw as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 */
PlaybackOptionsw::PlaybackOptionsw( TQWidget* parent, const char* name, WFlags fl )
    : TQWidget( parent, name, fl )
{
    TQImage img;
    img.loadFromData( img0_playbackoptionsw, sizeof( img0_playbackoptionsw ), "PNG" );
    image0 = img;
    if ( !name )
	setName( "PlaybackOptionsw" );
    setIcon( image0 );
    PlaybackOptionswLayout = new TQGridLayout( this, 1, 1, 2, 6, "PlaybackOptionswLayout"); 

    ckMenu = new TQCheckBox( this, "ckMenu" );

    PlaybackOptionswLayout->addWidget( ckMenu, 1, 0 );

    frPlayback = new TQFrame( this, "frPlayback" );
    frPlayback->setEnabled( FALSE );
    frPlayback->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, frPlayback->sizePolicy().hasHeightForWidth() ) );
    frPlayback->setFrameShape( TQFrame::NoFrame );
    frPlayback->setFrameShadow( TQFrame::Sunken );
    frPlaybackLayout = new TQGridLayout( frPlayback, 1, 1, 0, 2, "frPlaybackLayout"); 

    lbSequence = new TQListBox( frPlayback, "lbSequence" );
    lbSequence->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, lbSequence->sizePolicy().hasHeightForWidth() ) );

    frPlaybackLayout->addMultiCellWidget( lbSequence, 1, 5, 0, 0 );
    spacer5 = new TQSpacerItem( 20, 31, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    frPlaybackLayout->addMultiCell( spacer5, 0, 1, 1, 1 );

    bSeqUp = new KPushButton( frPlayback, "bSeqUp" );
    bSeqUp->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bSeqUp->sizePolicy().hasHeightForWidth() ) );
    bSeqUp->setMinimumSize( TQSize( 21, 21 ) );
    bSeqUp->setMaximumSize( TQSize( 21, 21 ) );

    frPlaybackLayout->addMultiCellWidget( bSeqUp, 2, 2, 1, 2 );

    bSeqDown = new KPushButton( frPlayback, "bSeqDown" );
    bSeqDown->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bSeqDown->sizePolicy().hasHeightForWidth() ) );
    bSeqDown->setMinimumSize( TQSize( 21, 21 ) );
    bSeqDown->setMaximumSize( TQSize( 21, 21 ) );

    frPlaybackLayout->addMultiCellWidget( bSeqDown, 4, 4, 1, 2 );
    spacer7 = new TQSpacerItem( 20, 16, TQSizePolicy::Minimum, TQSizePolicy::Fixed );
    frPlaybackLayout->addItem( spacer7, 3, 1 );

    textLabel4 = new TQLabel( frPlayback, "textLabel4" );
    textLabel4->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel4->sizePolicy().hasHeightForWidth() ) );
    TQFont textLabel4_font(  textLabel4->font() );
    textLabel4_font.setBold( TRUE );
    textLabel4->setFont( textLabel4_font ); 

    frPlaybackLayout->addWidget( textLabel4, 0, 0 );

    frame4 = new TQFrame( frPlayback, "frame4" );
    frame4->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, frame4->sizePolicy().hasHeightForWidth() ) );
    frame4->setMinimumSize( TQSize( 211, 100 ) );
    frame4->setFrameShape( TQFrame::NoFrame );
    frame4->setFrameShadow( TQFrame::Raised );
    frame4Layout = new TQGridLayout( frame4, 1, 1, 0, 0, "frame4Layout"); 

    textLabel1 = new TQLabel( frame4, "textLabel1" );
    textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) );
    TQFont textLabel1_font(  textLabel1->font() );
    textLabel1_font.setBold( TRUE );
    textLabel1->setFont( textLabel1_font ); 

    frame4Layout->addMultiCellWidget( textLabel1, 0, 0, 0, 2 );

    cbDefSub = new TQComboBox( FALSE, frame4, "cbDefSub" );
    cbDefSub->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, cbDefSub->sizePolicy().hasHeightForWidth() ) );

    frame4Layout->addWidget( cbDefSub, 2, 2 );

    textLabel3 = new TQLabel( frame4, "textLabel3" );
    textLabel3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel3->sizePolicy().hasHeightForWidth() ) );

    frame4Layout->addWidget( textLabel3, 2, 0 );

    cbDefAudio = new TQComboBox( FALSE, frame4, "cbDefAudio" );
    cbDefAudio->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, cbDefAudio->sizePolicy().hasHeightForWidth() ) );

    frame4Layout->addWidget( cbDefAudio, 1, 2 );

    textLabel2_3 = new TQLabel( frame4, "textLabel2_3" );
    textLabel2_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel2_3->sizePolicy().hasHeightForWidth() ) );

    frame4Layout->addWidget( textLabel2_3, 1, 0 );
    spacer4 = new TQSpacerItem( 16, 21, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    frame4Layout->addMultiCell( spacer4, 1, 2, 1, 1 );

    frPlaybackLayout->addWidget( frame4, 6, 0 );
    spacer6 = new TQSpacerItem( 20, 280, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    frPlaybackLayout->addMultiCell( spacer6, 5, 6, 1, 1 );

    PlaybackOptionswLayout->addWidget( frPlayback, 0, 0 );
    languageChange();
    resize( TQSize(328, 491).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( bSeqDown, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bSeqDownClick() ) );
    connect( bSeqUp, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bSeqUpClick() ) );
    connect( ckMenu, TQT_SIGNAL( clicked() ), this, TQT_SLOT( ckMenuClick() ) );
    connect( cbDefAudio, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( cbDefAudioActivated(int) ) );
    connect( cbDefSub, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( cbDefSubActivated(int) ) );
    connect( lbSequence, TQT_SIGNAL( currentChanged(TQListBoxItem*) ), this, TQT_SLOT( lbSequenceChanged(TQListBoxItem*) ) );
}

/*
 *  Destroys the object and frees any allocated resources
 */
PlaybackOptionsw::~PlaybackOptionsw()
{
    // no need to delete child widgets, TQt does it all for us
}

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void PlaybackOptionsw::languageChange()
{
    setCaption( tr2i18n( "DVD playback options" ) );
    ckMenu->setText( tr2i18n( "&Keep original menus" ) );
    ckMenu->setAccel( TQKeySequence( tr2i18n( "Alt+K" ) ) );
    bSeqUp->setText( TQString() );
    bSeqDown->setText( TQString() );
    textLabel4->setText( tr2i18n( "Selected Titles" ) );
    textLabel1->setText( tr2i18n( "Default language" ) );
    textLabel3->setText( tr2i18n( "Subtitle" ) );
    textLabel2_3->setText( tr2i18n( "Audio" ) );
}

void PlaybackOptionsw::cbStartActivated(int)
{
    tqWarning( "PlaybackOptionsw::cbStartActivated(int): Not implemented yet" );
}

void PlaybackOptionsw::cbTitleActivated(int)
{
    tqWarning( "PlaybackOptionsw::cbTitleActivated(int): Not implemented yet" );
}

void PlaybackOptionsw::ckMenuClick()
{
    tqWarning( "PlaybackOptionsw::ckMenuClick(): Not implemented yet" );
}

void PlaybackOptionsw::bSeqUpClick()
{
    tqWarning( "PlaybackOptionsw::bSeqUpClick(): Not implemented yet" );
}

void PlaybackOptionsw::bSeqDownClick()
{
    tqWarning( "PlaybackOptionsw::bSeqDownClick(): Not implemented yet" );
}

void PlaybackOptionsw::lbSequenceChanged(TQListBoxItem*)
{
    tqWarning( "PlaybackOptionsw::lbSequenceChanged(TQListBoxItem*): Not implemented yet" );
}

void PlaybackOptionsw::cbDefAudioActivated(int)
{
    tqWarning( "PlaybackOptionsw::cbDefAudioActivated(int): Not implemented yet" );
}

void PlaybackOptionsw::cbDefSubActivated(int)
{
    tqWarning( "PlaybackOptionsw::cbDefSubActivated(int): Not implemented yet" );
}

#include "playbackoptionsw.moc"
