/****************************************************************************
** Form implementation generated from reading ui file 'capture.ui'
**
** Created: Sat May 19 20:42:44 2001
**      by:  The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "avicapwnd_p.h"

#include <qframe.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <qtabwidget.h>
#include <qlayout.h>
#include <qvariant.h>
#include <qtooltip.h>
#include <qwhatsthis.h>

/* 
 *  Constructs a AviCapDlg which is a child of 'parent', with the 
 *  name 'name' and widget flags set to 'f' 
 */
AviCapDlg::AviCapDlg( QWidget* parent,  const char* name, WFlags fl )
    : QWidget( parent, name, fl )
{
    if ( !name )
	setName( "AviCapDlg" );
    resize( 299, 422 ); 
    setCaption( tr( "AVI capture" ) );
    setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, sizePolicy().hasHeightForWidth() ) );

    CaptureTab = new QTabWidget( this, "CaptureTab" );
    CaptureTab->setGeometry( QRect( 12, 11, 273, 360 ) ); 
    CaptureTab->setTabShape( QTabWidget::Rounded );
    CaptureTab->setTabPosition( QTabWidget::Top );

    tab = new QWidget( CaptureTab, "tab" );

    Frame34 = new QFrame( tab, "Frame34" );
    Frame34->setGeometry( QRect( 14, 10, 242, 307 ) ); 
    Frame34->setFrameShadow( QFrame::Sunken );
    Frame34->setFrameShape( QFrame::StyledPanel );

    ProgressText = new QLabel( Frame34, "ProgressText" );
    ProgressText->setGeometry( QRect( 12, 14, 215, 282 ) ); 
    ProgressText->setText( tr( "" ) );
    CaptureTab->insertTab( tab, tr( "Progress" ) );

    tab_2 = new QWidget( CaptureTab, "tab_2" );

    QWidget* privateLayoutWidget = new QWidget( tab_2, "Layout11" );
    privateLayoutWidget->setGeometry( QRect( 17, 185, 241, 137 ) ); 
    Layout11 = new QGridLayout( privateLayoutWidget ); 
    Layout11->setSpacing( 6 );
    Layout11->setMargin( 0 );

    FrameSizeText = new QLabel( privateLayoutWidget, "FrameSizeText" );
    FrameSizeText->setText( tr( "Frame sizes" ) );
    FrameSizeText->setAlignment( int( QLabel::AlignCenter ) );

    Layout11->addWidget( FrameSizeText, 0, 0 );

    Layout10 = new QGridLayout; 
    Layout10->setSpacing( 6 );
    Layout10->setMargin( 0 );

    Frame3_2 = new QFrame( privateLayoutWidget, "Frame3_2" );
    Frame3_2->setFrameShadow( QFrame::Sunken );
    Frame3_2->setFrameShape( QFrame::StyledPanel );
    QPalette pal;
    QColorGroup cg;
    cg.setColor( QColorGroup::Foreground, black );
    cg.setColor( QColorGroup::Button, QColor( 192, 192, 192) );
    cg.setColor( QColorGroup::Light, white );
    cg.setColor( QColorGroup::Midlight, QColor( 223, 223, 223) );
    cg.setColor( QColorGroup::Dark, QColor( 96, 96, 96) );
    cg.setColor( QColorGroup::Mid, QColor( 128, 128, 128) );
    cg.setColor( QColorGroup::Text, black );
    cg.setColor( QColorGroup::BrightText, white );
    cg.setColor( QColorGroup::ButtonText, black );
    cg.setColor( QColorGroup::Base, white );
    cg.setColor( QColorGroup::Background, black );
    cg.setColor( QColorGroup::Shadow, black );
    cg.setColor( QColorGroup::Highlight, black );
    cg.setColor( QColorGroup::HighlightedText, white );
    pal.setActive( cg );
    cg.setColor( QColorGroup::Foreground, black );
    cg.setColor( QColorGroup::Button, QColor( 192, 192, 192) );
    cg.setColor( QColorGroup::Light, white );
    cg.setColor( QColorGroup::Midlight, QColor( 220, 220, 220) );
    cg.setColor( QColorGroup::Dark, QColor( 96, 96, 96) );
    cg.setColor( QColorGroup::Mid, QColor( 128, 128, 128) );
    cg.setColor( QColorGroup::Text, black );
    cg.setColor( QColorGroup::BrightText, white );
    cg.setColor( QColorGroup::ButtonText, black );
    cg.setColor( QColorGroup::Base, white );
    cg.setColor( QColorGroup::Background, black );
    cg.setColor( QColorGroup::Shadow, black );
    cg.setColor( QColorGroup::Highlight, black );
    cg.setColor( QColorGroup::HighlightedText, white );
    pal.setInactive( cg );
    cg.setColor( QColorGroup::Foreground, QColor( 128, 128, 128) );
    cg.setColor( QColorGroup::Button, QColor( 192, 192, 192) );
    cg.setColor( QColorGroup::Light, white );
    cg.setColor( QColorGroup::Midlight, QColor( 220, 220, 220) );
    cg.setColor( QColorGroup::Dark, QColor( 96, 96, 96) );
    cg.setColor( QColorGroup::Mid, QColor( 128, 128, 128) );
    cg.setColor( QColorGroup::Text, black );
    cg.setColor( QColorGroup::BrightText, white );
    cg.setColor( QColorGroup::ButtonText, QColor( 128, 128, 128) );
    cg.setColor( QColorGroup::Base, white );
    cg.setColor( QColorGroup::Background, black );
    cg.setColor( QColorGroup::Shadow, black );
    cg.setColor( QColorGroup::Highlight, black );
    cg.setColor( QColorGroup::HighlightedText, white );
    pal.setDisabled( cg );
    Frame3_2->setPalette( pal );
    Frame3_2->setMinimumSize( QSize( 184, 94 ) );
    Frame3_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)3, Frame3_2->sizePolicy().hasHeightForWidth() ) );

    Layout10->addMultiCellWidget( Frame3_2, 0, 2, 0, 0 );

    TextLabel3_3 = new QLabel( privateLayoutWidget, "TextLabel3_3" );
    TextLabel3_3->setText( tr( "0 " ) );

    Layout10->addWidget( TextLabel3_3, 2, 1 );

    MaxFrameSizeText = new QLabel( privateLayoutWidget, "MaxFrameSizeText" );
    MaxFrameSizeText->setText( tr( "100 kb" ) );

    Layout10->addWidget( MaxFrameSizeText, 0, 1 );
    QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
    Layout10->addItem( spacer, 1, 1 );

    Layout11->addLayout( Layout10, 1, 0 );

    QWidget* privateLayoutWidget_2 = new QWidget( tab_2, "Layout12" );
    privateLayoutWidget_2->setGeometry( QRect( 19, 16, 244, 159 ) ); 
    Layout12 = new QGridLayout( privateLayoutWidget_2 ); 
    Layout12->setSpacing( 6 );
    Layout12->setMargin( 0 );

    TextLabel3 = new QLabel( privateLayoutWidget_2, "TextLabel3" );
    TextLabel3->setText( tr( "0 %" ) );

    Layout12->addWidget( TextLabel3, 3, 1 );

    Frame3 = new QFrame( privateLayoutWidget_2, "Frame3" );
    Frame3->setFrameShadow( QFrame::Sunken );
    Frame3->setFrameShape( QFrame::StyledPanel );
    cg.setColor( QColorGroup::Foreground, black );
    cg.setColor( QColorGroup::Button, QColor( 192, 192, 192) );
    cg.setColor( QColorGroup::Light, white );
    cg.setColor( QColorGroup::Midlight, QColor( 223, 223, 223) );
    cg.setColor( QColorGroup::Dark, QColor( 96, 96, 96) );
    cg.setColor( QColorGroup::Mid, QColor( 128, 128, 128) );
    cg.setColor( QColorGroup::Text, black );
    cg.setColor( QColorGroup::BrightText, white );
    cg.setColor( QColorGroup::ButtonText, black );
    cg.setColor( QColorGroup::Base, white );
    cg.setColor( QColorGroup::Background, black );
    cg.setColor( QColorGroup::Shadow, black );
    cg.setColor( QColorGroup::Highlight, black );
    cg.setColor( QColorGroup::HighlightedText, white );
    pal.setActive( cg );
    cg.setColor( QColorGroup::Foreground, black );
    cg.setColor( QColorGroup::Button, QColor( 192, 192, 192) );
    cg.setColor( QColorGroup::Light, white );
    cg.setColor( QColorGroup::Midlight, QColor( 220, 220, 220) );
    cg.setColor( QColorGroup::Dark, QColor( 96, 96, 96) );
    cg.setColor( QColorGroup::Mid, QColor( 128, 128, 128) );
    cg.setColor( QColorGroup::Text, black );
    cg.setColor( QColorGroup::BrightText, white );
    cg.setColor( QColorGroup::ButtonText, black );
    cg.setColor( QColorGroup::Base, white );
    cg.setColor( QColorGroup::Background, black );
    cg.setColor( QColorGroup::Shadow, black );
    cg.setColor( QColorGroup::Highlight, black );
    cg.setColor( QColorGroup::HighlightedText, white );
    pal.setInactive( cg );
    cg.setColor( QColorGroup::Foreground, QColor( 128, 128, 128) );
    cg.setColor( QColorGroup::Button, QColor( 192, 192, 192) );
    cg.setColor( QColorGroup::Light, white );
    cg.setColor( QColorGroup::Midlight, QColor( 220, 220, 220) );
    cg.setColor( QColorGroup::Dark, QColor( 96, 96, 96) );
    cg.setColor( QColorGroup::Mid, QColor( 128, 128, 128) );
    cg.setColor( QColorGroup::Text, black );
    cg.setColor( QColorGroup::BrightText, white );
    cg.setColor( QColorGroup::ButtonText, QColor( 128, 128, 128) );
    cg.setColor( QColorGroup::Base, white );
    cg.setColor( QColorGroup::Background, black );
    cg.setColor( QColorGroup::Shadow, black );
    cg.setColor( QColorGroup::Highlight, black );
    cg.setColor( QColorGroup::HighlightedText, white );
    pal.setDisabled( cg );
    Frame3->setPalette( pal );
    Frame3->setMinimumSize( QSize( 184, 94 ) );
    Frame3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)3, Frame3->sizePolicy().hasHeightForWidth() ) );

    Layout12->addMultiCellWidget( Frame3, 1, 3, 0, 0 );

    TextLabel3_2 = new QLabel( privateLayoutWidget_2, "TextLabel3_2" );
    TextLabel3_2->setText( tr( " 100 % " ) );

    Layout12->addWidget( TextLabel3_2, 1, 1 );
    QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
    Layout12->addItem( spacer_2, 2, 1 );

    CaptureBufferText = new QLabel( privateLayoutWidget_2, "CaptureBufferText" );
    CaptureBufferText->setText( tr( "Video capture buffer usage" ) );
    CaptureBufferText->setAlignment( int( QLabel::AlignCenter ) );

    Layout12->addMultiCellWidget( CaptureBufferText, 0, 0, 0, 1 );
    CaptureTab->insertTab( tab_2, tr( "Performance" ) );

    QWidget* privateLayoutWidget_3 = new QWidget( this, "Layout13" );
    privateLayoutWidget_3->setGeometry( QRect( 10, 377, 278, 37 ) ); 
    Layout13 = new QHBoxLayout( privateLayoutWidget_3 ); 
    Layout13->setSpacing( 6 );
    Layout13->setMargin( 0 );

    StartButton = new QPushButton( privateLayoutWidget_3, "StartButton" );
    StartButton->setText( tr( "Start" ) );
    Layout13->addWidget( StartButton );

    SegmentButton = new QPushButton( privateLayoutWidget_3, "SegmentButton" );
    SegmentButton->setText( tr( "Segment" ) );
    Layout13->addWidget( SegmentButton );

    CloseButton = new QPushButton( privateLayoutWidget_3, "CloseButton" );
    CloseButton->setText( tr( "Close" ) );
    CloseButton->setAutoResize( TRUE );
    Layout13->addWidget( CloseButton );
}

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

