#include /**************************************************************************** ** Form implementation generated from reading ui file './prefMPEG4.ui' ** ** Created: dim. oct. 26 08:57:35 2008 ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #include "prefMPEG4.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include static const unsigned char img0_prefMPEG4[] = { 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, 0x02, 0x86, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0x85, 0x52, 0xdd, 0x4b, 0x53, 0x71, 0x18, 0x7e, 0xce, 0xd9, 0x39, 0x73, 0xf3, 0x98, 0xdb, 0xd0, 0xd0, 0xf9, 0x39, 0x27, 0x47, 0x1d, 0x44, 0xa4, 0x4e, 0xfc, 0x82, 0x89, 0x83, 0x62, 0x5e, 0x18, 0x61, 0x84, 0xa0, 0x65, 0x61, 0x17, 0x56, 0x57, 0x86, 0xd1, 0x5d, 0x97, 0xf5, 0x27, 0x04, 0x5d, 0x84, 0x49, 0x17, 0xdd, 0x44, 0x1a, 0x21, 0xcd, 0x0a, 0x6b, 0x22, 0xa6, 0x53, 0x18, 0x36, 0xb7, 0xe9, 0x74, 0x1f, 0x88, 0x5f, 0xcb, 0xb5, 0xe3, 0xc7, 0x5c, 0xfb, 0x3c, 0xa7, 0x8b, 0x3c, 0x31, 0x87, 0xd8, 0x0b, 0x3f, 0xde, 0xf7, 0xf9, 0xf1, 0x3c, 0xcf, 0xfb, 0x5c, 0xbc, 0x04, 0x32, 0xaa, 0xa9, 0xa9, 0x99, 0x6d, 0x6b, 0x33, 0xf4, 0x57, 0x6a, 0x0a, 0xda, 0x95, 0x0a, 0xa6, 0x2c, 0xc5, 0x0b, 0xc9, 0x60, 0x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db, 0x5c, 0x4e, 0x3c, 0x79, 0xdc, 0xeb, 0xf1, 0xba, 0xbf, 0x6b, 0x93, 0x3c, 0x0d, 0x90, 0x52, 0xac, 0xfa, 0x8f, 0xc0, 0x13, 0x0c, 0x92, 0x3c, 0x09, 0x2e, 0x2a, 0x44, 0xe3, 0xb1, 0xa8, 0x94, 0x56, 0x28, 0x49, 0x46, 0xc1, 0x80, 0x20, 0x05, 0xa4, 0x36, 0xdd, 0xa0, 0x89, 0x04, 0x0e, 0x0e, 0xa3, 0xa0, 0x68, 0xa5, 0x1f, 0xdd, 0x37, 0x3a, 0x67, 0x85, 0xe3, 0x02, 0x20, 0x9c, 0x36, 0x8b, 0x58, 0x7c, 0xe9, 0x98, 0xfc, 0xb1, 0xe4, 0xb1, 0x65, 0x5e, 0xe3, 0x89, 0x4b, 0x23, 0x88, 0x13, 0xf8, 0xaf, 0xf6, 0x24, 0xe1, 0x56, 0xfa, 0xc6, 0xcc, 0x9e, 0x99, 0x20, 0x13, 0x93, 0x82, 0x20, 0xc4, 0xff, 0x97, 0x40, 0x4c, 0x91, 0xbe, 0x5d, 0x9c, 0xc9, 0xb3, 0xe2, 0x9e, 0x65, 0x26, 0x76, 0xf2, 0x18, 0xc4, 0x33, 0x89, 0x67, 0x19, 0xa6, 0xff, 0x9f, 0xca, 0xd0, 0xeb, 0x1b, 0x6a, 0x4d, 0x26, 0xd3, 0x65, 0xb5, 0xba, 0x50, 0xbb, 0xbe, 0xbe, 0x4e, 0x04, 0x02, 0x3f, 0x7d, 0x66, 0xb3, 0x79, 0x72, 0x67, 0x67, 0xdb, 0x06, 0x20, 0x91, 0xce, 0xfd, 0x03, 0xf3, 0x98, 0x43, 0xeb, 0x06, 0xad, 0xb9, 0x96, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82 }; /* * Constructs a prefMPEG4 as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ prefMPEG4::prefMPEG4( TQWidget* parent, const char* name, WFlags fl ) : TQWidget( parent, name, fl ) { TQImage img; img.loadFromData( img0_prefMPEG4, sizeof( img0_prefMPEG4 ), "PNG" ); image0 = img; if ( !name ) setName( "prefMPEG4" ); setIcon( image0 ); prefMPEG4Layout = new TQGridLayout( this, 1, 1, 5, 2, "prefMPEG4Layout"); lTitle = new TQLabel( this, "lTitle" ); TQFont lTitle_font( lTitle->font() ); lTitle_font.setBold( TRUE ); lTitle->setFont( lTitle_font ); prefMPEG4Layout->addWidget( lTitle, 0, 0 ); tabWidget = new TQTabWidget( this, "tabWidget" ); tabVideo = new TQWidget( tabWidget, "tabVideo" ); tabVideoLayout = new TQGridLayout( tabVideo, 1, 1, 11, 6, "tabVideoLayout"); ck2passes = new TQCheckBox( tabVideo, "ck2passes" ); tabVideoLayout->addMultiCellWidget( ck2passes, 0, 0, 3, 6 ); textLabel1_4 = new TQLabel( tabVideo, "textLabel1_4" ); tabVideoLayout->addWidget( textLabel1_4, 0, 0 ); cbMp4Codec = new TQComboBox( FALSE, tabVideo, "cbMp4Codec" ); cbMp4Codec->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbMp4Codec->sizePolicy().hasHeightForWidth() ) ); tabVideoLayout->addMultiCellWidget( cbMp4Codec, 0, 0, 1, 2 ); textLabel3_2 = new TQLabel( tabVideo, "textLabel3_2" ); tabVideoLayout->addWidget( textLabel3_2, 1, 0 ); textLabel3_2_2 = new TQLabel( tabVideo, "textLabel3_2_2" ); tabVideoLayout->addWidget( textLabel3_2_2, 2, 0 ); leMp4Width = new TQLineEdit( tabVideo, "leMp4Width" ); leMp4Width->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, leMp4Width->sizePolicy().hasHeightForWidth() ) ); leMp4Width->setMinimumSize( TQSize( 0, 0 ) ); leMp4Width->setMaximumSize( TQSize( 70, 32767 ) ); leMp4Width->setMaxLength( 4 ); leMp4Width->setAlignment( int( TQLineEdit::AlignAuto ) ); tabVideoLayout->addWidget( leMp4Width, 1, 1 ); ckMp4AspectRatio = new TQCheckBox( tabVideo, "ckMp4AspectRatio" ); ckMp4AspectRatio->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, ckMp4AspectRatio->sizePolicy().hasHeightForWidth() ) ); ckMp4AspectRatio->setChecked( TRUE ); tabVideoLayout->addMultiCellWidget( ckMp4AspectRatio, 1, 1, 3, 6 ); spacer9 = new TQSpacerItem( 380, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); tabVideoLayout->addMultiCell( spacer9, 2, 2, 2, 6 ); leMp4Height = new TQLineEdit( tabVideo, "leMp4Height" ); leMp4Height->setEnabled( FALSE ); leMp4Height->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, leMp4Height->sizePolicy().hasHeightForWidth() ) ); leMp4Height->setMinimumSize( TQSize( 0, 0 ) ); leMp4Height->setMaximumSize( TQSize( 70, 32767 ) ); leMp4Height->setMaxLength( 4 ); leMp4Height->setAlignment( int( TQLineEdit::AlignAuto ) ); tabVideoLayout->addWidget( leMp4Height, 2, 1 ); spacer8 = new TQSpacerItem( 21, 110, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); tabVideoLayout->addItem( spacer8, 4, 5 ); sbMp4NumberCD = new TQSpinBox( tabVideo, "sbMp4NumberCD" ); sbMp4NumberCD->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, sbMp4NumberCD->sizePolicy().hasHeightForWidth() ) ); sbMp4NumberCD->setMaxValue( 9 ); sbMp4NumberCD->setMinValue( 1 ); tabVideoLayout->addWidget( sbMp4NumberCD, 3, 5 ); textLabel1 = new TQLabel( tabVideo, "textLabel1" ); textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); tabVideoLayout->addWidget( textLabel1, 3, 4 ); buttonGroup1 = new TQButtonGroup( tabVideo, "buttonGroup1" ); buttonGroup1->setFrameShape( TQButtonGroup::NoFrame ); buttonGroup1->setColumnLayout(0, Qt::Vertical ); buttonGroup1->layout()->setSpacing( 6 ); buttonGroup1->layout()->setMargin( 2 ); buttonGroup1Layout = new TQGridLayout( buttonGroup1->layout() ); buttonGroup1Layout->setAlignment( TQt::AlignTop ); rbSize = new TQRadioButton( buttonGroup1, "rbSize" ); buttonGroup1Layout->addWidget( rbSize, 0, 0 ); sbMp4Size = new TQSpinBox( buttonGroup1, "sbMp4Size" ); sbMp4Size->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, sbMp4Size->sizePolicy().hasHeightForWidth() ) ); sbMp4Size->setMinimumSize( TQSize( 80, 0 ) ); sbMp4Size->setButtonSymbols( TQSpinBox::UpDownArrows ); sbMp4Size->setMaxValue( 9999 ); sbMp4Size->setMinValue( 1 ); sbMp4Size->setLineStep( 10 ); sbMp4Size->setValue( 700 ); buttonGroup1Layout->addWidget( sbMp4Size, 0, 1 ); rbBitrate = new TQRadioButton( buttonGroup1, "rbBitrate" ); buttonGroup1Layout->addWidget( rbBitrate, 1, 0 ); spacer6 = new TQSpacerItem( 51, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); buttonGroup1Layout->addMultiCell( spacer6, 0, 1, 2, 2 ); leMp4VideoBitrate = new TQLineEdit( buttonGroup1, "leMp4VideoBitrate" ); leMp4VideoBitrate->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, leMp4VideoBitrate->sizePolicy().hasHeightForWidth() ) ); buttonGroup1Layout->addWidget( leMp4VideoBitrate, 1, 1 ); tabVideoLayout->addMultiCellWidget( buttonGroup1, 3, 3, 0, 3 ); spacer3 = new TQSpacerItem( 130, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); tabVideoLayout->addItem( spacer3, 3, 6 ); tabWidget->insertTab( tabVideo, TQString::fromLatin1("") ); tabAudio = new TQWidget( tabWidget, "tabAudio" ); tabAudioLayout = new TQGridLayout( tabAudio, 1, 1, 11, 6, "tabAudioLayout"); textLabel1_4_2 = new TQLabel( tabAudio, "textLabel1_4_2" ); tabAudioLayout->addWidget( textLabel1_4_2, 0, 0 ); cbMp4AudioCodec = new TQComboBox( FALSE, tabAudio, "cbMp4AudioCodec" ); cbMp4AudioCodec->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbMp4AudioCodec->sizePolicy().hasHeightForWidth() ) ); tabAudioLayout->addMultiCellWidget( cbMp4AudioCodec, 0, 0, 1, 2 ); textLabel1_5 = new TQLabel( tabAudio, "textLabel1_5" ); tabAudioLayout->addWidget( textLabel1_5, 1, 0 ); leMp4AudioBitrate = new TQLineEdit( tabAudio, "leMp4AudioBitrate" ); leMp4AudioBitrate->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, leMp4AudioBitrate->sizePolicy().hasHeightForWidth() ) ); leMp4AudioBitrate->setMinimumSize( TQSize( 0, 0 ) ); leMp4AudioBitrate->setMaximumSize( TQSize( 70, 32767 ) ); leMp4AudioBitrate->setMaxLength( 3 ); leMp4AudioBitrate->setAlignment( int( TQLineEdit::AlignAuto ) ); tabAudioLayout->addWidget( leMp4AudioBitrate, 1, 1 ); spacer4 = new TQSpacerItem( 376, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); tabAudioLayout->addMultiCell( spacer4, 1, 1, 2, 3 ); sbAudioGain = new TQSpinBox( tabAudio, "sbAudioGain" ); sbAudioGain->setMaxValue( 10 ); sbAudioGain->setMinValue( 1 ); tabAudioLayout->addWidget( sbAudioGain, 2, 1 ); textLabel1_2 = new TQLabel( tabAudio, "textLabel1_2" ); tabAudioLayout->addWidget( textLabel1_2, 2, 0 ); spacer14 = new TQSpacerItem( 20, 61, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); tabAudioLayout->addItem( spacer14, 3, 3 ); tabWidget->insertTab( tabAudio, TQString::fromLatin1("") ); prefMPEG4Layout->addWidget( tabWidget, 1, 0 ); ckUseCache = new TQCheckBox( this, "ckUseCache" ); prefMPEG4Layout->addWidget( ckUseCache, 2, 0 ); languageChange(); resize( TQSize(582, 460).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections connect( cbMp4AudioCodec, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( cbMp4AudioCodecActivated(int) ) ); connect( cbMp4Codec, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( cbMp4CodecActivated(int) ) ); connect( ck2passes, TQT_SIGNAL( clicked() ), this, TQT_SLOT( ck2passesClicked() ) ); connect( ckMp4AspectRatio, TQT_SIGNAL( clicked() ), this, TQT_SLOT( ckMp4AspectRatioClick() ) ); connect( rbBitrate, TQT_SIGNAL( clicked() ), this, TQT_SLOT( rgVideoSizeChanged() ) ); connect( rbSize, TQT_SIGNAL( clicked() ), this, TQT_SLOT( rgVideoSizeChanged() ) ); connect( leMp4Width, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( leMp4WidthTextChanged(const TQString&) ) ); connect( leMp4Height, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( leMp4HeightTextChanged(const TQString&) ) ); connect( sbMp4Size, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( sbMp4SizeValueChanged(int) ) ); connect( sbMp4NumberCD, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( sbMp4NumberCDValueChanged(int) ) ); connect( leMp4VideoBitrate, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( leMp4VideoBitrateTextChanged(const TQString&) ) ); connect( sbAudioGain, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( sbAudioGainValueChanged(int) ) ); connect( leMp4AudioBitrate, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( leMp4AudioBitrateTextChanged(const TQString&) ) ); connect( ckUseCache, TQT_SIGNAL( clicked() ), this, TQT_SLOT( ckUseCacheClick() ) ); // tab order setTabOrder( tabWidget, cbMp4Codec ); setTabOrder( cbMp4Codec, ck2passes ); setTabOrder( ck2passes, leMp4Width ); setTabOrder( leMp4Width, ckMp4AspectRatio ); setTabOrder( ckMp4AspectRatio, leMp4Height ); setTabOrder( leMp4Height, rbSize ); setTabOrder( rbSize, rbBitrate ); setTabOrder( rbBitrate, sbMp4Size ); setTabOrder( sbMp4Size, leMp4VideoBitrate ); setTabOrder( leMp4VideoBitrate, sbMp4NumberCD ); setTabOrder( sbMp4NumberCD, cbMp4AudioCodec ); setTabOrder( cbMp4AudioCodec, leMp4AudioBitrate ); setTabOrder( leMp4AudioBitrate, sbAudioGain ); } /* * Destroys the object and frees any allocated resources */ prefMPEG4::~prefMPEG4() { // no need to delete child widgets, TQt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void prefMPEG4::languageChange() { setCaption( tr2i18n( "Form1" ) ); lTitle->setText( TQString() ); ck2passes->setText( tr2i18n( "2 pass" ) ); ck2passes->setAccel( TQKeySequence( tr2i18n( "Alt+2" ) ) ); textLabel1_4->setText( tr2i18n( "Codec" ) ); cbMp4Codec->clear(); cbMp4Codec->insertItem( tr2i18n( "XviD" ) ); cbMp4Codec->insertItem( tr2i18n( "lavc MPEG4" ) ); cbMp4Codec->insertItem( tr2i18n( "x264" ) ); cbMp4Codec->setCurrentItem( 1 ); textLabel3_2->setText( tr2i18n( "Width" ) ); textLabel3_2_2->setText( tr2i18n( "Height" ) ); leMp4Width->setText( tr2i18n( "640" ) ); leMp4Width->setInputMask( TQString() ); ckMp4AspectRatio->setText( tr2i18n( "&keep aspect ratio" ) ); ckMp4AspectRatio->setAccel( TQKeySequence( tr2i18n( "Alt+K" ) ) ); leMp4Height->setInputMask( TQString() ); textLabel1->setText( tr2i18n( "X" ) ); buttonGroup1->setTitle( TQString() ); rbSize->setText( tr2i18n( "File size" ) ); rbSize->setAccel( TQKeySequence( tr2i18n( "Alt+S" ) ) ); sbMp4Size->setSuffix( tr2i18n( " MB" ) ); rbBitrate->setText( tr2i18n( "Bitrate" ) ); rbBitrate->setAccel( TQKeySequence( tr2i18n( "Alt+B" ) ) ); tabWidget->changeTab( tabVideo, tr2i18n( "Video" ) ); textLabel1_4_2->setText( tr2i18n( "Codec" ) ); cbMp4AudioCodec->clear(); cbMp4AudioCodec->insertItem( tr2i18n( "mp3" ) ); cbMp4AudioCodec->insertItem( tr2i18n( "faac" ) ); cbMp4AudioCodec->insertItem( tr2i18n( "mp2" ) ); cbMp4AudioCodec->insertItem( tr2i18n( "ac3" ) ); cbMp4AudioCodec->insertItem( tr2i18n( "adpcm ima" ) ); textLabel1_5->setText( tr2i18n( "Bitrate" ) ); leMp4AudioBitrate->setText( TQString() ); textLabel1_2->setText( tr2i18n( "Gain" ) ); tabWidget->changeTab( tabAudio, tr2i18n( "Audio" ) ); ckUseCache->setText( tr2i18n( "use cell cache" ) ); } void prefMPEG4::ckMp4AspectRatioClick() { tqWarning( "prefMPEG4::ckMp4AspectRatioClick(): Not implemented yet" ); } void prefMPEG4::cbMp4CodecActivated(int) { tqWarning( "prefMPEG4::cbMp4CodecActivated(int): Not implemented yet" ); } void prefMPEG4::cbMp4AudioCodecActivated(int) { tqWarning( "prefMPEG4::cbMp4AudioCodecActivated(int): Not implemented yet" ); } void prefMPEG4::ck2passesClicked() { tqWarning( "prefMPEG4::ck2passesClicked(): Not implemented yet" ); } void prefMPEG4::sbMp4SizeValueChanged(int) { tqWarning( "prefMPEG4::sbMp4SizeValueChanged(int): Not implemented yet" ); } void prefMPEG4::sbMp4NumberCDValueChanged(int) { tqWarning( "prefMPEG4::sbMp4NumberCDValueChanged(int): Not implemented yet" ); } void prefMPEG4::leMp4WidthTextChanged(const TQString&) { tqWarning( "prefMPEG4::leMp4WidthTextChanged(const TQString&): Not implemented yet" ); } void prefMPEG4::leMp4HeightTextChanged(const TQString&) { tqWarning( "prefMPEG4::leMp4HeightTextChanged(const TQString&): Not implemented yet" ); } void prefMPEG4::leMp4AudioBitrateTextChanged(const TQString&) { tqWarning( "prefMPEG4::leMp4AudioBitrateTextChanged(const TQString&): Not implemented yet" ); } void prefMPEG4::rgVideoSizeChanged() { tqWarning( "prefMPEG4::rgVideoSizeChanged(): Not implemented yet" ); } void prefMPEG4::leMp4VideoBitrateTextChanged(const TQString&) { tqWarning( "prefMPEG4::leMp4VideoBitrateTextChanged(const TQString&): Not implemented yet" ); } void prefMPEG4::sbAudioGainValueChanged(int) { tqWarning( "prefMPEG4::sbAudioGainValueChanged(int): Not implemented yet" ); } void prefMPEG4::ckUseCacheClick() { tqWarning( "prefMPEG4::ckUseCacheClick(): Not implemented yet" ); } #include "prefMPEG4.moc"